Comments (4)
I don't think Users has ever had username.
Here is the username=
method:
https://github.com/jdtornow/challah/blob/master/lib/challah/concerns/user/passwordable.rb#L43-L46
Then it writes that value to the Authorization record here:
What's the error you're getting?
from challah.
Populating seed data...
==========================================================================
Creating a user
==========================================================================
Please answer the following questions to create your first admin user.
First name: Adam
Last name: Kirk
Email: [email protected]
Username: |[email protected]| atomkirk
Password:
Password again:
rake aborted!
NoMethodError: undefined method `username=' for #<User:0x007ffb2bc896b8>
from challah.
Oh, you know what? I created the User model before I started installing Challah, and it had a username. My bad.
from challah.
Thanks @philtr :)
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
- 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
- Challah::Signup incompatible with ActionController::Parameters in Rails 5 HOT 3
- 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.