aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/inheritance.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2011-12-26 11:31:22 +0100
committerPiotr Sarnacki <drogus@gmail.com>2011-12-26 11:54:27 +0100
commitd7cfb636367f2f929d07ade9060d35a2cf7ad20b (patch)
tree7a59f0e134e73e9ce882cbef389d4387315986ac /activerecord/lib/active_record/inheritance.rb
parent4cf40d04e4193494b4854c771f78a105aeee8e76 (diff)
downloadrails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.tar.gz
rails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.tar.bz2
rails-d7cfb636367f2f929d07ade9060d35a2cf7ad20b.zip
Correctly display rack apps with dynamic constraints in RoutesInspector
If you used dynamic constraint like that: scope :constraint => MyConstraint.new do mount RackApp => "/foo" end routes were not displayed correctly when using `rake routes`. This commit fixes it. If you want nice display of dynamic constraints in `rake routes` output, please just override to_s method in your constraint's class.
Diffstat (limited to 'activerecord/lib/active_record/inheritance.rb')
0 files changed, 0 insertions, 0 deletions