Pratik Naik 2e79ec71a5 Model.scoped now returns a relation if invoked without any arguments
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
2009-12-26 01:33:20 +05:30
2009-12-21 17:27:30 -06:00
2008-06-22 10:38:25 -07:00
2009-12-02 11:35:47 -08:00
2009-12-02 11:35:48 -08:00
2009-12-02 11:35:47 -08:00
2009-12-02 11:35:47 -08:00
2009-12-02 11:35:47 -08:00
Description
No description provided
85 MiB
Languages
Ruby 97.9%
CSS 1.5%
HTML 0.5%