Devise cannot build resource
The request invite form shows Email can't be blank message even with a valid email. Devise is not being able to build resource from the params hash.
Let me guess, Rails 4.0? There's no Rails 4 version (yet) for the rails-prelaunch-signup example.
UNSUBSCRIBE
Mark Richman web: www.markrichman.com email: [email protected] tel: (954) 234-9049 http://www.linkedin.com/in/mrichman
On Fri, Aug 2, 2013 at 10:35 AM, Daniel Kehoe [email protected]:
Let me guess, Rails 4.0? There's no Rails 4 version (yet) for the rails-prelaunch-signup example.
— Reply to this email directly or view it on GitHubhttps://github.com/RailsApps/rails-prelaunch-signup/issues/49#issuecomment-22009553 .
@mrichman to get the repo notification messages out of your inbox, got to https://github.com/RailsApps/rails-prelaunch-signup/ and click the "Unwatch" button. It's a GitHub thing.
Thank you! DUH! :)
Mark Richman web: www.markrichman.com email: [email protected] tel: (954) 234-9049 http://www.linkedin.com/in/mrichman
On Fri, Aug 2, 2013 at 10:42 AM, Daniel Kehoe [email protected]:
@mrichman https://github.com/mrichman to get the repo notification messages out of your inbox, got to https://github.com/RailsApps/rails-prelaunch-signup/ and click the "Unwatch" button. It's a GitHub thing.
— Reply to this email directly or view it on GitHubhttps://github.com/RailsApps/rails-prelaunch-signup/issues/49#issuecomment-22010011 .
Its rails 3.2.13 with Ruby 2.0.0-p247
Maybe an issue with Devise 3.0. Try:
gem "devise", "2.2.5"
Looks like a change in Devise. I have a fork of the 1-click prelaunch and it's using Devise 2.2.5 and registration works. However, and using the composer method to build this version of the prelaunch site, I have Devise 3.0 and registration doesn't work, stating email can't be blank. To get it work I had to do the following in the create action:
build_resource sign_up_params
HTH
@melriffe thanks, this worked for me!
@melriffe Big thanks! That same issue was giving me a headache.
@melriffe Still big thanks, drove me crazy to figure this out.