You don't need to namespace the model as well. ./script/generate model Admin::Link (not necessary)
./script/generate model Link On Jun 15, 11:49 pm, Sijo Kg <[email protected]> wrote: > Hi zambezi > When create a controller do like > ./script/generate controller Admin::Links > > Note : plural for controller > > If you are scaffolding it will be > ./script/generate scaffold Admin::Link > Note: It is singular > > And if generate model then > ./script/generate model Admin::Link > > Note: Here also singular > And now change the routes > Sijo > -- > Posted viahttp://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 -~----------~----~----~----~------~----~------~--~---

