Frederick Cheung wrote:
> On Mar 29, 12:58�pm, Hamid Raza <[email protected]>
> wrote:
>> and this error comes
>>
>> "NoMethodError in Send messagesController#new
>>
>> undefined method `render' for #<MailRoomTemplate:0x551d358>
>>
> It means that controllers already have a magic instance variable
> called @template that is used internally by rails and that you should
> pick a different name.
> 
> Fred

thxxxxxxxxxxxxxxxxxxxxxxxxxxxx a lot and it worked :)
-- 
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