Skip to content

Finish user signup + i18n#2

Open
halo93 wants to merge 4 commits into
masterfrom
sign-up
Open

Finish user signup + i18n#2
halo93 wants to merge 4 commits into
masterfrom
sign-up

Conversation

@halo93

@halo93 halo93 commented Oct 24, 2016

Copy link
Copy Markdown
Owner

No description provided.

Comment thread .byebug_history Outdated
continue
params[:id]
params
@user.name

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent

Comment thread app/controllers/users_controller.rb Outdated
private

def user_params
params.require(:user).permit(:name, :email, :password,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove()

Comment thread app/helpers/users_helper.rb Outdated
@@ -1,2 +1,7 @@
module UsersHelper
def gravatar_for(user, size: 80)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove ()

Comment thread app/views/static_pages/about.html.erb Outdated
@@ -1,11 +1,9 @@
<% provide(:title, "About") %>
<h1>About</h1>
<% provide(:title, t(".title")) %>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove()

Comment thread log/production.log Outdated
D, [2016-10-18T14:18:26.316876 #19323] DEBUG -- : ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
D, [2016-10-18T14:18:26.319757 #19323] DEBUG -- :  (0.0ms) begin transaction
D, [2016-10-18T14:18:26.320878 #19323] DEBUG -- : SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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 -- :  (51.0ms) commit transaction

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove file

Comment thread 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)
 (0.1ms) rollback transaction

Copy link
Copy Markdown

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"

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkout file

Comment thread test/test_helper.rb
require 'rails/test_help'
ENV["RAILS_ENV"] ||= "test"
require File.expand_path("../../config/environment", __FILE__)
require "rails/test_help"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checkout file

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

Successfully merging this pull request may close these issues.

2 participants