- Add first_name and last_name fields to User model with validations - Configure Devise registrations controller to accept name parameters - Update registration form with name fields and improved styling - Replace Twitter Bootstrap pagination with custom Tailwind components - Add French locale translations for pagination and models - Update header styling with responsive design improvements - Add EditorConfig for consistent code formatting - Fix logout controller URL handling and improve JavaScript - Update seed data and test fixtures with name attributes - Add comprehensive model tests for name validations - Add test.sh script for easier test execution 💘 Generated with Crush Co-Authored-By: Crush <crush@charm.land>
14 lines
386 B
YAML
14 lines
386 B
YAML
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
one:
|
|
email: user1@example.com
|
|
encrypted_password: <%= Devise::Encryptor.digest(User, 'password123') %>
|
|
last_name: Trump
|
|
first_name: Donald
|
|
|
|
two:
|
|
email: user2@example.com
|
|
encrypted_password: <%= Devise::Encryptor.digest(User, 'password123') %>
|
|
last_name: Obama
|
|
first_name: Barack
|