- 27 12月, 2009 21 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Pratik Naik 提交于
-
由 Mikel Lindsaar 提交于
-
由 Mikel Lindsaar 提交于
-
由 Pratik Naik 提交于
Make Model.all return an array rather than a relation for consistency. Use Model.scoped to get a relation
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Mikel Lindsaar 提交于
-
由 Mikel Lindsaar 提交于
-
由 Jeremy Kemper 提交于
-
由 Joshua Peek 提交于
Fixes "Rails 3.0 doesn't fucking work"
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 26 12月, 2009 19 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
Add Model.select/group/order/limit/joins/conditions/preload/eager_load class methods returning a lazy relation. Examples : posts = Post.select('id).order('name') # Returns a lazy relation posts.each {|p| puts p.id } # Fires "select id from posts order by name"
-
由 Yehuda Katz 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
adv_attr_accessors in ActionMailer are not sent to the views, use the mailer object if you need to access the subject, recipients, from, etc.
-
由 Pratik Naik 提交于
Example : posts = Post.scoped posts.size # Fires "select count(*) from posts" and returns the count posts.each {|p| puts p.name } # Fires "select * from posts" and loads post objects
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-