Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wrong model name

  • Loading branch information...
commit 7496c8c1f848dbc12b869337b389479b0c1ed45f 1 parent 7f49599
Akira Matsuda amatsuda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/associations.rb
2  activerecord/lib/active_record/associations.rb
View
@@ -1081,7 +1081,7 @@ module ClassMethods
# === Example
#
# Example: A Firm class declares <tt>has_many :clients</tt>, which will add:
- # * <tt>Firm#clients</tt> (similar to <tt>Clients.where(firm_id: id)</tt>)
+ # * <tt>Firm#clients</tt> (similar to <tt>Client.where(firm_id: id)</tt>)
# * <tt>Firm#clients<<</tt>
# * <tt>Firm#clients.delete</tt>
# * <tt>Firm#clients.destroy</tt>
Please sign in to comment.
Something went wrong with that request. Please try again.