Jim ruther Nill wrote in post #1081968:
> On Tue, Oct 30, 2012 at 7:01 PM, KUL KING <kulking370@gmail.com> wrote:
>
>>> @<%= file_name %> = <%= class_name %>.find(params[:id])
>>> end
>>>
>>
> you are using erb code inside the controller. i don't get why you want
> to
> do this or if it's even
> possible to do it like this. start with the basic tutorials first
> before
> you go ahead with what you're
> trying to do.
>
>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
Im doing this cause i want to scaffold new model where i need some
properties attached to all scaffolding..
is there any other way to generate scaffolding template where i can
manually set some specifications
--
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 https://groups.google.com/groups/opt_out.
No comments:
Post a Comment