Ruby on Rails
Wednesday, June 25, 2014
This is my own calendar helper: https://gist.github.com/andreorvalho/fdb28af8284b13fc9829
I have build it from the rails casts. if you look at my weeks method there, you can probably do the same for a day. create an array of hours and use them to render what you want.
Hope it helps.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAA6P50YnUnRV%2BPnJchuehjcjsrNZDENHGDmhib3LZvCuK8L7Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment