Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Devise cannot build resource #49

Open
shanbhardwaj opened this issue Aug 2, 2013 · 10 comments
Open

Devise cannot build resource #49

shanbhardwaj opened this issue Aug 2, 2013 · 10 comments

Comments

@shanbhardwaj
Copy link

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.

@DanielKehoe
Copy link
Member

Let me guess, Rails 4.0? There's no Rails 4 version (yet) for the rails-prelaunch-signup example.

@mrichman
Copy link

mrichman commented Aug 2, 2013

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//issues/49#issuecomment-22009553
.

@DanielKehoe
Copy link
Member

@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.

@mrichman
Copy link

mrichman commented Aug 2, 2013

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//issues/49#issuecomment-22010011
.

@shanbhardwaj
Copy link
Author

Its rails 3.2.13 with Ruby 2.0.0-p247

@DanielKehoe
Copy link
Member

Maybe an issue with Devise 3.0. Try:

gem "devise", "2.2.5"

@melriffe
Copy link

melriffe commented Aug 8, 2013

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

@commodity
Copy link

@melriffe thanks, this worked for me!

@jlepis
Copy link

jlepis commented Aug 26, 2013

@melriffe Big thanks! That same issue was giving me a headache.

@michaelcham
Copy link

@melriffe Still big thanks, drove me crazy to figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants