RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dougfulop
Site: http://www.ideo.com
Thanks for the episode!
Is there a best practice for leaving room for new "haikus" to still have a shot at appearing at the top?
Would it be a good idea to prepend @haikus in the index action with a few of the more recently created haikus?
solved
For my app, my models are Feature instead of Book, Tag instead of Author and Tagging instead of Authorship.
I must have made a mistake:
I'm getting an error NameError in FeaturesController#create of uninitialized constant Feature::Tagging
uninitialized constant Feature::Tagging
and under the trace: app/models/feature.rb:33:intag_tokens='` app/controllers/features_controller.rb:66:increate'`
app/models/feature.rb:33:in
app/controllers/features_controller.rb:66:in
Has anyone else made this mistake?
Thank you, Doug
Thanks for the episode!
Is there a best practice for leaving room for new "haikus" to still have a shot at appearing at the top?
Would it be a good idea to prepend @haikus in the index action with a few of the more recently created haikus?
solved
For my app, my models are Feature instead of Book, Tag instead of Author and Tagging instead of Authorship.
I must have made a mistake:
I'm getting an error NameError in FeaturesController#create of
uninitialized constant Feature::Tagging
and under the trace:
app/models/feature.rb:33:in
tag_tokens='`app/controllers/features_controller.rb:66:in
create'`Has anyone else made this mistake?
Thank you,
Doug