Riding Rails - home:
I’m always impressed by the continuous flow of innovation from the Rails community. Below are just a few of the highlights from the past month. These stories all came from the Ruby5 Podcast, which covers all the news from t (Read More)
Riding Rails - home:
So, Edge Rails is still chugging right along. There are new and interesting fixes, changes, and refactors going on all of the time. So, lets take a look at just a few that've gone in since the last post (it's been a while, (Read More)
Submitted by sbtodd
from Twitter:
RT @mully: @jnunemaker's MongoMapper also has a lot of ActiveRecord like goodness for #mongodb. http://bit.ly/1rIo2T . (Read More)
Riding Rails - home:
Lots of great content coming out of the community in the past month. Below you’ll find some of the most useful tutorials and libraries I’ve found over the past few weeks. These stories came directly from the Ruby5 podcast, (Read More)
Riding Rails - home:
This week's post will be rather short and sweet. The notable commits of the week seemed to revolve mainly around refactoring and even slightly altering the way some of the bits work. Lets get into it:I'm Partially impressed (Read More)
Riding Rails - home:
Another week, another update on Edge Rails. And man, you aren't making this easy on me, are ya? This weekend, in case you hadn't already heard, was the first Rails and RailsBridge BugMash. If my count is correct, there wer (Read More)
has_many :bugs, :through => :rails - Home:
Thoughtbot folks have a great article on not expecting exceptions – save bang your head, active record will drive you mad. I’ll admit, just like the poster, I used to use save! in controllers to DRY my code. And have a global (Read More)
James on Software - Home:
This sort of thing appears in just about every rails app I've ever worked on:class User after_create :send_welcome_email protected def send_welcome_email Notifier.deliver_welcome_email(self) endend Why would t (Read More)
has_many :bugs, :through => :rails - Home:
MySQL doesn’t always pick the right index for your queries. Hence, sometimes you must tell it which index to use. Consider the example : Activity.all(:conditions => ['created_at >= ? AND country_id = ?', 10.days.ago, 79])R (Read More)
Submitted by sbtodd
from Twitter:
How to return a Date (not a TimeWithZone) from a date column in ActiveRecord? - Stack Overflow http://ff.im/-3RYcJ. (Read More)
The Hitchhiker's Guide to Ruby On Rails Galaxy:
Model names in RubyOnRails should be Singular. This will create Table name as corresponding Plural names.You have got to remember that about model naming conventions in rails. . I know this is a very basic concept in RubyOnRa (Read More)