- 26 3月, 2012 6 次提交
-
-
由 José Valim 提交于
use content_tag in button_to helper
-
由 José Valim 提交于
Allow a defining custom member field on resources
-
由 Jamie Macey 提交于
By default, resources routes are created with :resource/:id. A model defining to_param can make prettier urls by using something more readable than an integer ID, but since the route picks it up as :id you wind up with awkward User.find_by_username(params[:id]) calls. By overriding the key to be used in @request.params you can be more obvious in your intent.
-
由 Xavier Noria 提交于
Remove useless conditional.
-
由 Pete Higgins 提交于
-
由 Xavier Noria 提交于
There was an example here that mentioned reload_plugins? but it was deleted. This commit puts another example back.
-
- 25 3月, 2012 3 次提交
-
-
由 Piotr Sarnacki 提交于
fix HashWithIndifferentAccess.[] method
-
由 Jeremy Kemper 提交于
ActionController caching small String#split optimization
-
由 Xavier Noria 提交于
Reason: This commit changes code that was committed some year and a half ago. The original code is an ordinary predicate that delegates straight to a boolean operator with no further unnecessaru adorments, as clearly explained in #5329. This change also may confuse users who may now believe they can rely now on singletons, while predicates in Rails rely on standard Ruby semantics for boolean values and guarantee no singletons whatsover. This reverts commit 6349791d.
-
- 24 3月, 2012 13 次提交
-
-
由 Alexey Vakhov 提交于
-
由 Vijay Dev 提交于
Conflicts: guides/source/ruby_on_rails_guides_guidelines.textile
-
由 Vijay Dev 提交于
removed warning: shadowing outer local variable - exception
-
由 Vijay Dev 提交于
-
由 Arun Agrawal 提交于
-
由 Aaron Patterson 提交于
Return an actual boolean from xml_http_request?
-
由 Tim Pope 提交于
-
由 Fabián Rodríguez 提交于
-
由 Sergey Nartimov 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
fixes #5521
-
由 Aaron Patterson 提交于
Fix environment support for rails server, and match interface of rails console
-
由 José Valim 提交于
Remove code duplication
-
- 23 3月, 2012 10 次提交
-
-
由 Piotr Sarnacki 提交于
use the new scope syntax on the tests to avoid DEPRECATION WARNINGS.
-
由 Rafael Mendonça França 提交于
-
由 José Valim 提交于
Remove ActiveModel::Naming#partial_path
-
由 Piotr Sarnacki 提交于
Before it was handled by Proc.bind, but since Proc.bind has been deprecated, this is no longer the case and returned handler needs to match rescuer.
-
由 Mikhail Dieterle 提交于
-
由 Piotr Sarnacki 提交于
Fixed missing space bug introduces in rails/rails@9299bfd
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
deprecate Proc#bind that can cause symbol memory leak
-
由 Sergey Nartimov 提交于
-
由 schneems 提交于
rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`.
-
- 22 3月, 2012 8 次提交
-
-
由 Joe Goggins 提交于
Adding documentation for ActiveRecord::Base.abstract_class to clarify a particular usecase for this feature (to allow you to use inheritance in ActiveRecord without using the STI table name
-
由 Anton Lindqvist 提交于
-
由 adman65 提交于
-
由 adman65 提交于
-
由 kucaahbe 提交于
-
由 Piotr Sarnacki 提交于
Avoid another blank line in generated migration and remove assertion as per @spastorino request
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-