Open hvfenrir opened 8 years ago
Hi @hvfenrir, nice work with great homework. :+1:
The goals of this homework are:
has_secure_password
class method and the brypt
gem (while understanding what they do under the hood)belongs_to
/has_many
, using has_many :through
and building more advanced queries by chaining where
, order
, and merge
scope
on user.rb
model.current_user
, logged_in?
helper method and before_action
on messages_controller.rb
.Some small issues:
email
presence and its validity on your sign up form.Gemfile:
rails_12factor
gem for Heroku.Routes:
resources :friendships
and resources :messages
.new
, create
and destroy
routes for sessions
so that narrow them with resources :sessions, only: [:index, :new, :destroy]
.Congrats again on the submission. Everyone has limited time; it's good to see you finished all required and some of optional functionalities. Thanks for your hard work and please keep your good work :100:. Let us know if you have any feedback.
Here is my completed prework assignment! Thank you /cc @coderschoolreview