[Rails] Re: Info from Ruby file to Model?
Frederick Cheung wrote in post #987535:
> On Mar 15, 12:12pm, Dave Castellano <li...@ruby-forum.com> wrote:
>> Thanks Fred, I am reading about inheritance and modules. I think using
>> the module is the correct way to do this but...
>>
>
> What you include is the module, not the methods in it
>
> Fred
Thanks Fred, Same error when I tried that:
uninitialized constant Question::Parks_Bielkowski_test
I'll do some more research. I really appreciate your help and guidance
but obviously am missing something simple.
PS I am actually a non-programmer (physician) who is trying to write a
single program-finding this is a steep learning curve!!
Thanks,
DC
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home