Just a collection of some random cool stuff. PS. Almost 99% of the contents here are not mine and I don't take credit for them, I reference and copy part of the interesting sections.
Story.all(:conditions => {:voters => @user.id})
http://biodegradablegeek.com/2008/07/how-to-use-fixtures-to-populate-your-database-in-rails/
$ rake db:fixtures:load
Post a Comment
No comments:
Post a Comment