Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Put spaces between the words at deprecation warning

  • Loading branch information...
commit 62c955db79f843e5476dbbb51b66692408624fa7 1 parent 40b2189
@rafaelfranca rafaelfranca authored
View
6 activerecord/lib/active_record/associations/builder/association.rb
@@ -58,9 +58,9 @@ def dependent_restrict_raises?
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
Please sign in to comment.
Something went wrong with that request. Please try again.