On Oct 14, 10:51 pm, Peter Krause <[EMAIL PROTECTED]>
wrote:
>
> class SpreadType < ActiveRecord::Base
>
>    has_many :spreads
>    has_many :customer_subscriptions
>    has_many :ghostlegs
>    has_many :abstractlegs

[snip]

> class Ghostlegs < ActiveRecord::Base
>   belongs_to :spread_type
> end
>

has_many :ghostlegs will be looking for a class class Ghostleg in
ghostleg.rb (similarly for abstractlegs)

Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to