Commits

Show all
Author Commit Message Labels Comments Date
José Valim
Add docs to serializers. Update CHANGELOGs.
José Valim
Add a hook for serializers in the scaffold generator (off for now).
José Valim
Add generators for serializers.
José Valim
Rename UserSerializer to DefaultUserSerializer in tests.
José Valim
Rely solely on active_model_serializer and remove the fancy constant lookup.
José Valim
Remove listings from the serialization guide that won't make 3.2.
José Valim
Implement ArraySerializer and move old serialization API to a new namespace. The following constants were renamed: ActiveModel::Serialization => ActiveModel::Serializable ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON ActiveModel::Serializers::Xml => ActiveModel::Serializable::XML The main motivation for such a change is that `ActiveModel::Serializers::JSON` was not actually a serializer, but a module that when included allows the target to …
José Valim
Add safe_constantize to ActiveSupport::Dependencies.
José Valim
Merge branch 'master' into serializers
José Valim
Rely on a public contract between railties instead of accessing railtie methods directly.
José Valim
Optimize cache expansion by skipping rails cache id in nested keys.
José Valim
Merge pull request #3738 from exviva/issues/3737_AS_cache_expand_cache_key Issues/3737 AS::Cache.expand_cache_key
José Valim
Merge pull request #3735 from kennyj/fix_3728 Fix #3728 Remove unreachable code, and add additional testcases.
Olek Janiszewski
Fix #3737 AS::expand_cache_key generates wrong key in certain situations (part 2) `nil` and `false` both expand to `""` (empty string), while `true` expands to `"true"`; `false` should expand to `"false"`
Olek Janiszewski
Fix #3737 AS::expand_cache_key generates wrong key in certain situations `cache_key` method is never called when the argument is a 1-element array with something that responds to `cache_key`
kennyj
Remove unreachable code, and add additional testcases.
Yehuda Katz
Merge pull request #3725 from marcandre/twz_eql Fix inconsistencies with Time{WithZone}#{hash,eql?}
Yehuda Katz
Merge pull request #3724 from marcandre/media_default stylesheet_tag default's media is "screen"
Marc-Andre Lafortune
Fix inconsistencies with Time{WithZone}#{hash,eql?}
Marc-Andre Lafortune
Make explicit the default media when calling stylesheet_tag and change the default generators.
José Valim
Merge pull request #3718 from lest/fix-javascript-include-tag javascript_include_tag should add '.js' to sources that contain '.'
José Valim
Merge pull request #3717 from lest/show-exceptions-refactor Show exceptions refactor: controller should be responsible for choice to show exceptions
Just Lest
deprecation warning, changelog entry
Just Lest
javascript_include_tag should add '.js' to sources that contain '.'
Vijay Dev
remove nodoc on OrderedHash
Just Lest
move show_detailed_exceptions? to Rescue module
Just Lest
refactor show exceptions tests
Just Lest
add ActionController::Metal#show_detailed_exceptions?
Xavier Noria
tests predicates according to the boolean interpretation of their return value, not expecting specifically true or false Respecting Genuine assert_equal false Edition
José Valim
Deprecate InstanceMethods namespace handling in ActiveSupport::Concern. This avoids the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions.
  1. Prev
  2. Next