…od aliased to the attribute name so it can be overridden but still called internally.
…espond_to? before initializing the object. Things like YAML.load(YAML.dump(@post)) won't work without this.
…ttribute method prefixes and/or suffixes. Previously only suffixes were allowed. Signed-off-by: Joshua Peek <email@example.com>
…he suffix maybe an invalid method name
…e.g. system) don't 'randomly' cause NoMethodErrors Previously if you called this attribute before others, you'd get exceptions. But if it was the second-or-subsequent attribute you retrieved you'd get the correct behaviour. Signed-off-by: Michael Koziarski <firstname.lastname@example.org> [#2808 state:committed]
…DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb
Signed-off-by: Tarmo Tänav <email@example.com> Signed-off-by: Michael Koziarski <firstname.lastname@example.org>
…or.new instead. Signed-off-by: Pratik Naik <email@example.com>
…vate methods We have hit dramatic increase in tests time after upgrading rails. Profiling revealed this particular place. After this fix our test times returned back to norm. Signed-off-by: Michael Koziarski <firstname.lastname@example.org> [#1173 state:committed]
Signed-off-by: Michael Koziarski <email@example.com> [#1084 state:committed]
…accessor, so that subclasses don't overwrite Base [#346 state:resolved]