aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-04-13 09:04:44 +0200
committerXavier Noria <fxn@hashref.com>2013-04-13 09:04:44 +0200
commit11c697383e6fea7834ee1a8ba2815ff0da20f0fe (patch)
tree925e9688fb76c78df6dfc5eff4cdea9b77b6e2de /activerecord/Rakefile
parenta548c4591b014e12b54b9b336a33164df93b0625 (diff)
downloadrails-11c697383e6fea7834ee1a8ba2815ff0da20f0fe.tar.gz
rails-11c697383e6fea7834ee1a8ba2815ff0da20f0fe.tar.bz2
rails-11c697383e6fea7834ee1a8ba2815ff0da20f0fe.zip
removes calls to AR::Runtime.instance
Registries have class-level accessors to write clean code, let's use them. This makes style uniform also with existing usage in ScopeRegistry and InstrumentationRegistry. If performance of the method_missing callback was ever considered to be a concern, then we should stop using it altogether and probably remove the callback. But while we have the feature we should use it.
Diffstat (limited to 'activerecord/Rakefile')
0 files changed, 0 insertions, 0 deletions