-
Notifications
You must be signed in to change notification settings - Fork 0
Finish user signup + i18n #2
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
base: master
Are you sure you want to change the base?
Conversation
.byebug_history
Outdated
| continue | ||
| params[:id] | ||
| params | ||
| @user.name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove file
|
|
||
| private | ||
|
|
||
| def user_params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indent
app/controllers/users_controller.rb
Outdated
| private | ||
|
|
||
| def user_params | ||
| params.require(:user).permit(:name, :email, :password, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove()
app/helpers/users_helper.rb
Outdated
| @@ -1,2 +1,7 @@ | |||
| module UsersHelper | |||
| def gravatar_for(user, size: 80) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ()
| @@ -1,11 +1,9 @@ | |||
| <% provide(:title, "About") %> | |||
| <h1>About</h1> | |||
| <% provide(:title, t(".title")) %> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove()
log/production.log
Outdated
| D, [2016-10-18T14:18:26.316876 #19323] DEBUG -- : [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]] | ||
| D, [2016-10-18T14:18:26.319757 #19323] DEBUG -- : [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m | ||
| D, [2016-10-18T14:18:26.320878 #19323] DEBUG -- : [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "production"], ["created_at", 2016-10-18 07:18:26 UTC], ["updated_at", 2016-10-18 07:18:26 UTC]] | ||
| D, [2016-10-18T14:18:26.372203 #19323] DEBUG -- : [1m[35m (51.0ms)[0m [1m[36mcommit transaction[0m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove file
log/test.log
Outdated
| Rendered layouts/_header.html.erb (0.4ms) | ||
| Rendered layouts/_footer.html.erb (0.5ms) | ||
| Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) | ||
| [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove file
| @@ -1,4 +1,4 @@ | |||
| require 'test_helper' | |||
| require "test_helper" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkout file
| assert_select "a[href=?]", root_path, count: 2 | ||
| assert_select "a[href=?]",help_path | ||
| assert_select "a[href=?]",contact_path | ||
| assert_select "a[href=?]",about_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkout file
| require 'rails/test_help' | ||
| ENV["RAILS_ENV"] ||= "test" | ||
| require File.expand_path("../../config/environment", __FILE__) | ||
| require "rails/test_help" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkout file
Fix some files and delete some files for chap 7
No description provided.