- 29 12月, 2008 10 次提交
-
-
由 Joshua Peek 提交于
Allow custom rails generators to pass in their own binding to Create command so that the corresponding erb templates get rendered with the proper binding [#1493 state:resolved]
-
由 Joshua Peek 提交于
-
由 Yaroslav Markin 提交于
Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
由 Yaroslav Markin 提交于
Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
由 David Heinemeier Hansson 提交于
-
由 Yaroslav Markin 提交于
Introduce dynamic scopes for ActiveRecord: you can now use class methods like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed] Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
由 Xavier Noria 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Mike Gunderloy 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Pratik Naik 提交于
-
由 Aaron Quint 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 28 12月, 2008 2 次提交
-
-
由 Aaron Quint 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Yaroslav Markin 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 27 12月, 2008 11 次提交
-
-
由 Yaroslav Markin 提交于
Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
由 Yaroslav Markin 提交于
ActiveRecord::Base#new_record? now returns false for existing records (was nil) [#1219 state:committed] Signed-off-by: NDavid Heinemeier Hansson <david@loudthinking.com>
-
由 Yehuda Katz 提交于
App with simple respond_to: def index respond_to do |format| format.html format.xml format.json end end On JRuby (after complete hotspot warmup) -- 8% improvement: 550 requests per second after this commit 510 requests per second with old method_missing technique On MRI (8% improvement): 430 requests per second after this commit 400 requests per second with old method_missing technique
-
由 Pratik Naik 提交于
-
由 Yehuda Katz 提交于
-
由 Frederick Cheung 提交于
With self referential associations, the scope for the the top level should not affect fetching of associations, for example when doing Person.male.find :all, :include => :friends we should load all of the friends for each male, not just the male friends.
-
由 Pivotal Labs 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
由 trans 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
由 Frederick Cheung 提交于
-
由 Frederick Cheung 提交于
Marshal.dump(Marshal.load(marshaled_hash)) is not guarenteed to be equal to marshaled_hash because of the lack of ordering of hash
-
由 Pratik Naik 提交于
-
- 26 12月, 2008 8 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
Examples: # Instead of render(:action => 'other_action') render('other_action') Note : Argument must not have any '/'
-
由 Pratik Naik 提交于
Examples: # Instead of render(:template => 'controller/action') render('controller/action') Note : Argument must not begin with a '/', but have at least one '/'
-
由 Pratik Naik 提交于
Examples: # Instead of render(:file => '/Users/lifo/home.html.erb') render('/Users/lifo/home.html.erb') Note : Filename must begin with a forward slash ('/')
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 25 12月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 24 12月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 23 12月, 2008 7 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Joshua Peek 提交于
-