- 15 11月, 2013 40 次提交
-
-
由 Rafael Mendonça França 提交于
Fix #10847: allow to pass a block to `cattr_reader`.
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
added one test case and example for ActiveRecord::Base.to_param method
-
由 Rafael Mendonça França 提交于
Remove broken Commmand Line guide link
-
由 Kuldeep Aggarwal 提交于
-
由 Nate Berkopec 提交于
[ci skip]
-
由 Alexey Chernenkov 提交于
Example: class A cattr_reader(:defr) { 'default_reader_value' } end A.defr # => 'default_reader_value'
-
由 Carlos Antonio da Silva 提交于
Fix CHANGELOG typo [ci skip]
-
由 Carlos Antonio da Silva 提交于
Only set the value once after it's calculated.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 chocoby 提交于
-
由 Andrew White 提交于
Take Hash with options inside Array in #url_for
-
由 Andrey Ognevsky 提交于
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Example: >> r = /some-regexp/ => /some-regexp/ >> r.source.object_id == r.source.object_id => false
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Jeremy Kemper 提交于
JSON gem compatibility
-
由 Godfrey Chan 提交于
Previously, calling `::JSON.{generate,dump}` sometimes causes unexpected failures such as intridea/multi_json#86. `::JSON.{generate,dump}` now bypasses the ActiveSupport JSON encoder completely and yields the same result with or without ActiveSupport. This means that it will **not** call `as_json` and will ignore any options that the JSON gem does not natively understand. To invoke ActiveSupport's JSON encoder instead, use `obj.to_json(options)` or `ActiveSupport::JSON.encode(obj, options)`.
-
由 David Heinemeier Hansson 提交于
Revert "Used Yield instead of block.call" -- this causes all of atom_feed_helper_test.rb to fail with "SystemStackError: stack level too deep". This reverts commit d3a1ce1c.
-
由 David Heinemeier Hansson 提交于
Fix that eager loading of polymorphic associations did not work with association empty?/any? predicates any more (there is still a problem when select is applied to a relation, or if you try association#exists? -- but its easier to work around)
-
由 Rafael Mendonça França 提交于
Addendum to #12891
-
由 Rafael Mendonça França 提交于
Also dup `column_types` in AR::Result `initialize_copy`
-
由 Javan Makhmali 提交于
* Fix incorrectly named tests * Restore Object#to_param behavior * Ensure param is derived from a squished and truncated string
-
由 Rafael Mendonça França 提交于
avoiding next statements
-
由 Akshay Vishnoi 提交于
-
由 Rafael Mendonça França 提交于
Used Yield instead of block.call
-
由 Kuldeep Aggarwal 提交于
-
由 David Heinemeier Hansson 提交于
Add AR::Base.to_param for convenient "pretty" URLs derived from a model's attribute or method
-