Hi
I am using authlogic version 2.1.3. I have two models companies and
users.
company has_many users
user belongs_to company
Upon registration one company and a user is created at the same
time. And the flow is after registration not goes directly to
application but redirect to login page..And I am saying
accepts_nested_attributes_for :users in company model So in companies
create action I say just
@company = Company.new(params[:company])
@company.save
All these are ok . But my problem is after save I think a
session is started there Dont know why? (If a manually clear browser
cache everything ok) And so that I tried to use
@company.save_without_session_maintenance
Surely this is not correct. But please guide how can I do this?
Thanks
Tom
--
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 [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.