Comments (3)
Yeah, that's essentially what I did to fix it. I'm OK with that workaround if you want to keep it that way.
from challah.
Hey @philtr!
I'm not even sure that class is in use anymore within the rest of the code, if it is I can't find it.
We could update the class to accept the params object in here, but I think the better way to do that would be within the controller (so by the time it gets into the Signup
object everything is already in a hash.)
Does something like this work in your controller where you're calling signup?
signup = Challah::Signup.new(params.permit!.to_h)
signup.save
from challah.
Great. I'm happy to add something in if you think it makes sense :)
from challah.
Related Issues (15)
- What does `uid` represent? HOT 1
- Calls "authenticate" twice on the technique. HOT 6
- Error installing HOT 6
- Change User#active boolean to status enum HOT 3
- Load Errors with Challah 1.3.0 HOT 1
- username removed causing `rake challah:setup` to fail HOT 4
- LoadError in SessionsController#new HOT 3
- Fails uniqueness validation with Shoulda Matchers HOT 8
- Challah breaks shoulda/matchers uniqueness? HOT 1
- protect_attributes error HOT 8
- Strip spaces? HOT 4
- Not requiring a password for inactive users. HOT 2
- Support for password resets? HOT 1
- Adding a registration mailer HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from challah.