Sunday, July 18, 2010

Re: [Rails] Re: --skip-model

Hi Abder,

I may be wrong, but I think that is a feature of the nifty_scaffold
only. I have tried with the normal scaffold, and I couldn't find
anything similar in the documentation. So, I guess that you can't skip
the model using the normal scaffold. I think that the normal way is
the create a controller and add the code manually, or use Ryan's
nifty-generators. This is the one I use now.

Maybe others with more experience may advise further.

Regards,

Fidel.

On 7/18/10, Abder-Rahman Ali <lists@ruby-forum.com> wrote:
> Fidel Viegas wrote:
>> Hi Abder,
>>
>> You need to install the nifty-generators gem.
>>
>> gem install nifty-generators
>>
>> All the best,
>>
>> Fidel.
>
> Thanks Fidel. Yes, I did install it, but want to use the normal
> scaffold. Is there a way to skip creating the model?
> --
> 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.
>
>

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


Real Estate