- 05 3月, 2013 18 次提交
-
-
由 robertomiranda 提交于
-
由 Carlos Antonio da Silva 提交于
Assigning '0.0' to a nullable numeric column does not make it dirty Example: product = Product.create price: 0.0 product.price = '0.0' product.changed? # => false (this used to return true) product.changes # => {} (this used to return { price: [0.0, 0.0] })
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
Routing match `via` option requirement exception message made more explicit
-
由 Boris Staal 提交于
-
由 Carlos Antonio da Silva 提交于
Change useless gsub to delete
-
由 Carlos Antonio da Silva 提交于
-
由 Xavier Noria 提交于
strong parameters example for default values using `fetch`.
-
由 Yves Senn 提交于
Closes #9558.
-
由 Yves Senn 提交于
Origin: #9534.
-
由 Benjamin Sullivan 提交于
-
由 José Valim 提交于
Use 1.9 String#gsub syntax
-
由 Aman Gupta 提交于
-
由 Xavier Noria 提交于
When the Rails 4 gem is installed rdoc sees markdown files below the guides directory and processes them. With an empty .document file we prevent that from happening. Thanks to @drbrain for the tip.
-
由 Rafael Mendonça França 提交于
`ActiveRecord::Base.include_root_in_json` is `false` by default.
-
由 Yves Senn 提交于
Closes #9459. The PR #6597 unified the configuration for `include_root_in_json` in AM and AR to `false`. Later on with the refactoring commit: e030f26a the value in AR was set to `true` but I think this was not on purpose. With this commit both AM and AR will have the same configuration for `include_root_in_json`, which is `false`.
-
由 Yves Senn 提交于
-
由 Aaron Patterson 提交于
-
- 04 3月, 2013 14 次提交
-
-
由 José Valim 提交于
Fix formats on xhr requests when HTTP_ACCEPT is empty string
-
由 Xavier Noria 提交于
Fixed typo in active record's changelog
-
由 Dimko 提交于
-
由 maximerety 提交于
Fix ActionDispatch::Request#formats on xhr requests when HTTP_ACCEPT header is empty string. About issue #7774, same fix as in commit bebb02fd but for xhr requests.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Steve Klabnik 提交于
add prompt to 422 page to check logs
-
由 Nihad Abbasov 提交于
-
由 Jeremy Kemper 提交于
Introduce relation #unscope
-
由 Carlos Antonio da Silva 提交于
In example fix sql that is generated from scoping
-
由 wangjohn 提交于
relations. Specific where values can be unscoped, and the unscope method still works when relations are merged or combined.
-
由 José Valim 提交于
Since the Rack::Lock still exists in development, let's provide a way to disable it explicitly.
-
由 Andrew White 提交于
Rather than trying to use gsub to remove the optional route segments, which will fail with nested optional segments, use a custom visitor class that returns a empty string for group nodes. Closes #9524
-
由 Neeraj Singh 提交于
-
- 03 3月, 2013 4 次提交
-
-
由 Xavier Noria 提交于
integrate the strong params README into the AC guide.
-
由 Yves Senn 提交于
The current ActionController guide does not mention strong parameters at all. I integrated the README into the guide to explain the API. I also included a section to illustrate that the API does not solve all possible whitelisting scenarios. The origin was #9454.
-
由 Guillermo Iguaran 提交于
New 404, 422, 500 pages, they are more stylish and bring ruby essence…
-
由 José Valim 提交于
-
- 02 3月, 2013 4 次提交
-
-
由 Andrew White 提交于
Fix PostgreSQL TIMESTAMP WITH TIME ZONE to return ActiveSupport::Time
-
由 Akira Matsuda 提交于
-
由 Rafael Mendonça França 提交于
deal with `#append` and `#prepend` on association collections
-
由 Yves Senn 提交于
Closes #7364. Collection associations behave similar to Arrays. However there is no way to prepend records. And to append one should use `<<`. Before this patch `#append` and `#prepend` did not add the record to the loaded association. `#append` now behaves like `<<` and `#prepend` is not defined.
-