aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-31 14:22:10 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-31 14:22:10 -0200
commit62c955db79f843e5476dbbb51b66692408624fa7 (patch)
treeb327b97a484e2ee3e9724b591845035824394823 /activerecord
parent40b218977ecf171852f6b00587b77602edf180de (diff)
downloadrails-62c955db79f843e5476dbbb51b66692408624fa7.tar.gz
rails-62c955db79f843e5476dbbb51b66692408624fa7.tar.bz2
rails-62c955db79f843e5476dbbb51b66692408624fa7.zip
Put spaces between the words at deprecation warning
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/builder/association.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/associations/builder/association.rb b/activerecord/lib/active_record/associations/builder/association.rb
index ba2fcf5ed7..666926ff51 100644
--- a/activerecord/lib/active_record/associations/builder/association.rb
+++ b/activerecord/lib/active_record/associations/builder/association.rb
@@ -58,9 +58,9 @@ module ActiveRecord::Associations::Builder
def dependent_restrict_deprecation_warning
if dependent_restrict_raises?
- msg = "In the next release, `:dependent => :restrict` will not raise a `DeleteRestrictionError`."\
- "Instead, it will add an error on the model. To fix this warning, make sure your code" \
- "isn't relying on a `DeleteRestrictionError` and then add" \
+ msg = "In the next release, `:dependent => :restrict` will not raise a `DeleteRestrictionError`. "\
+ "Instead, it will add an error on the model. To fix this warning, make sure your code " \
+ "isn't relying on a `DeleteRestrictionError` and then add " \
"`config.active_record.dependent_restrict_raises = false` to your application config."
ActiveSupport::Deprecation.warn msg
end