Hi everyone I want to have two restful controllers for the same
resource (Users)
One controller (UsersController) is straight in the controllers folder
and is used for singup and so on
Then i need another controller for users which is inside an admin
folder (Admin::UsersController)
In my
Hello everyone,
I am trying to use a RESTful controller for user inside a namespace
using AS and one outside for registration and so on. When i try to
visit the namespaced url I get Unknown action. Once i replace
active_scaffold :users with a def index; end i can the URL.
My routes look like:
. If you are using your_object.save
it will only return true/false and finding out what is wrong is going
to be more complicated.
Posting some code might also help others to help you.
On Sep 20, 11:13 am, PanosJee panos...@gmail.com wrote:
Hello everyone i am trying to save a nested model
Hello everyone i am trying to save a nested model but it will always
fail because 2 fields are missing
I tried to examine what happens so i print the object to yaml, here s
what i got:
- id001 !ruby/object:Contract
attributes:
price:
room_id:
start_date: 15/09/2009
created_at:
Hi everyone, is there any way i can get the session secret key from
within a plugin or any controller?
--~--~-~--~~~---~--~~
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
Just in case anyone stumbs on this thread again:
You should go exactly what the sample code does and that is why the
plugin is looking for a identity_url or openid_url param
So in your form there should be a an input with name anything like user
[identity_url] wont do!
Ok guys i ll give a second look, the strange thing is tha my current
setup works but i am rewriting to port it Rails 2.x.x but somethings
goes fundamendally wrong.
So far the problem is that OpenID redirects as it should do but then i
cannot redirect back to index and say hello user
What I have in my log is:
OpenIdAuthentication::Association Load (0.000810) SELECT * FROM
`open_id_authentication_associations` WHERE
(`open_id_authentication_associations`.`server_url` = 'http://
www.myopenid.com/server')
Redirected to
8 matches
Mail list logo