And in the console do Author.new and Book.new and show me the output  
of each please.
-----
Ryan Bigg
Freelancer
http://frozenplague.net







On 09/12/2008, at 2:44 PM, Jay Mark wrote:

>
> Here are my models:
>
> class Author < ActiveRecord::Base
>
>
> belongs_to :book
>
> end
>
> class Book < ActiveRecord::Base
>
>
>
>
> has_many :authors
>
>
> end
>
>
>
>
>
>
>
> Ryan Bigg wrote:
>> pastie your models please
>> -----
>> Ryan Bigg
>> Freelancer
>> http://frozenplague.net
>
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
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