Thanks Sijo for the help. I've made the changes according to your
suggestions. The error message is now different, but I guess there's
some improvement!
"undefined method `^' for "f":String"
My routes.db:
map.namespace(:admin) do |admin|
admin.resources :designs
end
Any ideas??
On Oct 6, 4:57 pm, Sijo kg <[email protected]> wrote:
> Hi Bryan L wrote:
> > This is what I have in my routes.rb:
> > map.with_options(:namespace => "admin") do |admin|
> > admin.resources :designs
> > end
>
> You have to modify your routes as
>
> map.namespace(:admin) do |admin|
> admin.resources :designs
> end
>
> And also generate controller and model like
> script/generate controller Admin::Designs
> script/generate model Design #field parameters here
>
> 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
-~----------~----~----~----~------~----~------~--~---