RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: spletta
Site: about.me/rsplett
me too... any ideas?
maybe the search path is not being set correctly??
I'm running into this error, but I want to make this work without using apartment for now. any ideas?
nm,
it was because of the non-restful reset link in the mail template.
Because I'm using multi-tenancy, and locales this is what my password_reset method must look like:
def password_reset(user, account) @user = user @account = account @reset_url = "https://#{account.subdomain}.notdienstapp.com/password_resets/#{user.password_reset_token}/edit" mail :to => user.email, :subject => "Password Reset" end
I'm missing something trivial here.
No route matches {:action=>"edit", :controller=>"password_resets", :locale=>"uI1CmPo8Le5HoO6BTwtlzQ"}
but I want to see the reset_token parameter here don't I?
I am also struggling with how to administrate a multi tenant app, and have not found much info about this elsewhere.
I'm not sure, but maybe creating an admin user:
would suffice?
Not sure how to do this though.. searching...
once again very useful Ryan, thank you!
Hi Ryan, great episode.. thank you.
me too... any ideas?
maybe the search path is not being set correctly??
I'm running into this error, but I want to make this work without using apartment for now. any ideas?
nm,
it was because of the non-restful reset link in the mail template.
Because I'm using multi-tenancy, and locales this is what my password_reset method must look like:
I'm missing something trivial here.
but I want to see the reset_token parameter here don't I?
I am also struggling with how to administrate a multi tenant app, and have not found much info about this elsewhere.
I'm not sure, but maybe creating an admin user:
would suffice?
Not sure how to do this though.. searching...
once again very useful Ryan, thank you!
Hi Ryan, great episode.. thank you.