aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/dirty.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-07-17 10:47:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-07-17 10:47:58 -0700
commit2888f8653e2e0a6394e41cb4e8db2e2d81313eb7 (patch)
tree799fa297dcc3054307a759f64cb7edff19b9e8af /activemodel/lib/active_model/dirty.rb
parenta9765c54ea17153a69932730e1f5291c1f0055b0 (diff)
downloadrails-2888f8653e2e0a6394e41cb4e8db2e2d81313eb7.tar.gz
rails-2888f8653e2e0a6394e41cb4e8db2e2d81313eb7.tar.bz2
rails-2888f8653e2e0a6394e41cb4e8db2e2d81313eb7.zip
use a strategy object for generating urls in named helpers
since we know that the route should be a path or fully qualified, we can pass a strategy object that handles generation. This allows us to eliminate an "if only_path" branch when generating urls.
Diffstat (limited to 'activemodel/lib/active_model/dirty.rb')
0 files changed, 0 insertions, 0 deletions