├── .gitignore ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── Procfile ├── README.md ├── Rakefile ├── app ├── assets │ ├── images │ │ ├── .keep │ │ └── rails.png │ ├── javascripts │ │ ├── account_activations.js.coffee │ │ ├── application.js │ │ ├── microposts.js.coffee │ │ ├── password_resets.js.coffee │ │ ├── relationships.js.coffee │ │ ├── sessions.js.coffee │ │ ├── static_pages.js.coffee │ │ └── users.js.coffee │ └── stylesheets │ │ ├── account_activations.css.scss │ │ ├── application.css │ │ ├── custom.css.scss │ │ ├── microposts.css.scss │ │ ├── password_resets.css.scss │ │ ├── relationships.css.scss │ │ ├── sessions.css.scss │ │ ├── static_pages.css.scss │ │ └── users.css.scss ├── controllers │ ├── account_activations_controller.rb │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ ├── microposts_controller.rb │ ├── password_resets_controller.rb │ ├── relationships_controller.rb │ ├── sessions_controller.rb │ ├── static_pages_controller.rb │ └── users_controller.rb ├── helpers │ ├── account_activations_helper.rb │ ├── application_helper.rb │ ├── microposts_helper.rb │ ├── password_resets_helper.rb │ ├── relationships_helper.rb │ ├── sessions_helper.rb │ ├── static_pages_helper.rb │ └── users_helper.rb ├── mailers │ ├── .keep │ ├── application_mailer.rb │ └── user_mailer.rb ├── models │ ├── .keep │ ├── concerns │ │ └── .keep │ ├── micropost.rb │ ├── relationship.rb │ └── user.rb ├── uploaders │ └── picture_uploader.rb └── views │ ├── layouts │ ├── _footer.html.erb │ ├── _header.html.erb │ ├── _shim.html.erb │ ├── application.html.erb │ ├── mailer.html.erb │ └── mailer.text.erb │ ├── microposts │ └── _micropost.html.erb │ ├── password_resets │ ├── edit.html.erb │ └── new.html.erb │ ├── relationships │ ├── create.js.erb │ └── destroy.js.erb │ ├── sessions │ └── new.html.erb │ ├── shared │ ├── _error_messages.html.erb │ ├── _feed.html.erb │ ├── _micropost_form.html.erb │ ├── _stats.html.erb │ └── _user_info.html.erb │ ├── static_pages │ ├── about.html.erb │ ├── contact.html.erb │ ├── help.html.erb │ └── home.html.erb │ ├── user_mailer │ ├── account_activation.html.erb │ ├── account_activation.text.erb │ ├── password_reset.html.erb │ └── password_reset.text.erb │ └── users │ ├── _follow.html.erb │ ├── _follow_form.html.erb │ ├── _unfollow.html.erb │ ├── _user.html.erb │ ├── edit.html.erb │ ├── index.html.erb │ ├── new.html.erb │ ├── show.html.erb │ └── show_follow.html.erb ├── bin ├── bundle ├── rails ├── rake ├── setup └── spring ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── assets.rb │ ├── backtrace_silencers.rb │ ├── carrier_wave.rb │ ├── cookies_serializer.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ ├── session_store.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── puma.rb ├── routes.rb └── secrets.yml ├── db ├── migrate │ ├── 20141014183645_create_users.rb │ ├── 20141014205756_add_index_to_users_email.rb │ ├── 20141014234032_add_password_digest_to_users.rb │ ├── 20141030174712_add_remember_digest_to_users.rb │ ├── 20141104004736_add_admin_to_users.rb │ ├── 20141106193737_add_activation_to_users.rb │ ├── 20141107180258_add_reset_to_users.rb │ ├── 20141110194807_create_microposts.rb │ ├── 20141111014949_add_picture_to_microposts.rb │ └── 20141111214811_create_relationships.rb ├── schema.rb └── seeds.rb ├── lib ├── assets │ └── .keep └── tasks │ └── .keep ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico ├── robots.txt └── uploads │ ├── micropost │ └── picture │ │ ├── 302 │ │ └── headshot_small.jpg │ │ └── 306 │ │ └── headshot_full.png │ └── tmp │ └── 1415671592-5577-4327 │ └── headshot_full.png ├── test ├── controllers │ ├── .keep │ ├── microposts_controller_test.rb │ ├── relationships_controller_test.rb │ ├── sessions_controller_test.rb │ ├── static_pages_controller_test.rb │ └── users_controller_test.rb ├── fixtures │ ├── .keep │ ├── microposts.yml │ ├── relationships.yml │ └── users.yml ├── helpers │ ├── .keep │ └── sessions_helper_test.rb ├── integration │ ├── .keep │ ├── following_test.rb │ ├── microposts_interface_test.rb │ ├── password_resets_test.rb │ ├── site_layout_test.rb │ ├── users_edit_test.rb │ ├── users_index_test.rb │ ├── users_login_test.rb │ ├── users_profile_test.rb │ └── users_signup_test.rb ├── mailers │ ├── .keep │ ├── previews │ │ └── user_mailer_preview.rb │ └── user_mailer_test.rb ├── models │ ├── .keep │ ├── micropost_test.rb │ ├── relationship_test.rb │ └── user_test.rb └── test_helper.rb └── vendor └── assets ├── javascripts └── .keep └── stylesheets └── .keep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/Guardfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/Rakefile -------------------------------------------------------------------------------- /app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/assets/images/rails.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/images/rails.png -------------------------------------------------------------------------------- /app/assets/javascripts/account_activations.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/account_activations.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /app/assets/javascripts/microposts.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/microposts.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/password_resets.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/password_resets.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/relationships.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/relationships.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/sessions.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/sessions.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/static_pages.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/static_pages.js.coffee -------------------------------------------------------------------------------- /app/assets/javascripts/users.js.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/javascripts/users.js.coffee -------------------------------------------------------------------------------- /app/assets/stylesheets/account_activations.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/account_activations.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /app/assets/stylesheets/custom.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/custom.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/microposts.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/microposts.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/password_resets.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/password_resets.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/relationships.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/relationships.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/sessions.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/sessions.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/static_pages.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/static_pages.css.scss -------------------------------------------------------------------------------- /app/assets/stylesheets/users.css.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/assets/stylesheets/users.css.scss -------------------------------------------------------------------------------- /app/controllers/account_activations_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/account_activations_controller.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/microposts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/microposts_controller.rb -------------------------------------------------------------------------------- /app/controllers/password_resets_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/password_resets_controller.rb -------------------------------------------------------------------------------- /app/controllers/relationships_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/relationships_controller.rb -------------------------------------------------------------------------------- /app/controllers/sessions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/sessions_controller.rb -------------------------------------------------------------------------------- /app/controllers/static_pages_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/static_pages_controller.rb -------------------------------------------------------------------------------- /app/controllers/users_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/controllers/users_controller.rb -------------------------------------------------------------------------------- /app/helpers/account_activations_helper.rb: -------------------------------------------------------------------------------- 1 | module AccountActivationsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/application_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/helpers/application_helper.rb -------------------------------------------------------------------------------- /app/helpers/microposts_helper.rb: -------------------------------------------------------------------------------- 1 | module MicropostsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/password_resets_helper.rb: -------------------------------------------------------------------------------- 1 | module PasswordResetsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/relationships_helper.rb: -------------------------------------------------------------------------------- 1 | module RelationshipsHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/sessions_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/helpers/sessions_helper.rb -------------------------------------------------------------------------------- /app/helpers/static_pages_helper.rb: -------------------------------------------------------------------------------- 1 | module StaticPagesHelper 2 | end 3 | -------------------------------------------------------------------------------- /app/helpers/users_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/helpers/users_helper.rb -------------------------------------------------------------------------------- /app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/mailers/application_mailer.rb -------------------------------------------------------------------------------- /app/mailers/user_mailer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/mailers/user_mailer.rb -------------------------------------------------------------------------------- /app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/micropost.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/models/micropost.rb -------------------------------------------------------------------------------- /app/models/relationship.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/models/relationship.rb -------------------------------------------------------------------------------- /app/models/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/models/user.rb -------------------------------------------------------------------------------- /app/uploaders/picture_uploader.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/uploaders/picture_uploader.rb -------------------------------------------------------------------------------- /app/views/layouts/_footer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/layouts/_footer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/_header.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/layouts/_header.html.erb -------------------------------------------------------------------------------- /app/views/layouts/_shim.html.erb: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/layouts/mailer.html.erb -------------------------------------------------------------------------------- /app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /app/views/microposts/_micropost.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/microposts/_micropost.html.erb -------------------------------------------------------------------------------- /app/views/password_resets/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/password_resets/edit.html.erb -------------------------------------------------------------------------------- /app/views/password_resets/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/password_resets/new.html.erb -------------------------------------------------------------------------------- /app/views/relationships/create.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/relationships/create.js.erb -------------------------------------------------------------------------------- /app/views/relationships/destroy.js.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/relationships/destroy.js.erb -------------------------------------------------------------------------------- /app/views/sessions/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/sessions/new.html.erb -------------------------------------------------------------------------------- /app/views/shared/_error_messages.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/shared/_error_messages.html.erb -------------------------------------------------------------------------------- /app/views/shared/_feed.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/shared/_feed.html.erb -------------------------------------------------------------------------------- /app/views/shared/_micropost_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/shared/_micropost_form.html.erb -------------------------------------------------------------------------------- /app/views/shared/_stats.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/shared/_stats.html.erb -------------------------------------------------------------------------------- /app/views/shared/_user_info.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/shared/_user_info.html.erb -------------------------------------------------------------------------------- /app/views/static_pages/about.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/static_pages/about.html.erb -------------------------------------------------------------------------------- /app/views/static_pages/contact.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/static_pages/contact.html.erb -------------------------------------------------------------------------------- /app/views/static_pages/help.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/static_pages/help.html.erb -------------------------------------------------------------------------------- /app/views/static_pages/home.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/static_pages/home.html.erb -------------------------------------------------------------------------------- /app/views/user_mailer/account_activation.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/user_mailer/account_activation.html.erb -------------------------------------------------------------------------------- /app/views/user_mailer/account_activation.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/user_mailer/account_activation.text.erb -------------------------------------------------------------------------------- /app/views/user_mailer/password_reset.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/user_mailer/password_reset.html.erb -------------------------------------------------------------------------------- /app/views/user_mailer/password_reset.text.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/user_mailer/password_reset.text.erb -------------------------------------------------------------------------------- /app/views/users/_follow.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/_follow.html.erb -------------------------------------------------------------------------------- /app/views/users/_follow_form.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/_follow_form.html.erb -------------------------------------------------------------------------------- /app/views/users/_unfollow.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/_unfollow.html.erb -------------------------------------------------------------------------------- /app/views/users/_user.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/_user.html.erb -------------------------------------------------------------------------------- /app/views/users/edit.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/edit.html.erb -------------------------------------------------------------------------------- /app/views/users/index.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/index.html.erb -------------------------------------------------------------------------------- /app/views/users/new.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/new.html.erb -------------------------------------------------------------------------------- /app/views/users/show.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/show.html.erb -------------------------------------------------------------------------------- /app/views/users/show_follow.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/app/views/users/show_follow.html.erb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/spring: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/bin/spring -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/assets.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/carrier_wave.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/carrier_wave.rb -------------------------------------------------------------------------------- /config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/session_store.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/puma.rb -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /db/migrate/20141014183645_create_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141014183645_create_users.rb -------------------------------------------------------------------------------- /db/migrate/20141014205756_add_index_to_users_email.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141014205756_add_index_to_users_email.rb -------------------------------------------------------------------------------- /db/migrate/20141014234032_add_password_digest_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141014234032_add_password_digest_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20141030174712_add_remember_digest_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141030174712_add_remember_digest_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20141104004736_add_admin_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141104004736_add_admin_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20141106193737_add_activation_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141106193737_add_activation_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20141107180258_add_reset_to_users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141107180258_add_reset_to_users.rb -------------------------------------------------------------------------------- /db/migrate/20141110194807_create_microposts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141110194807_create_microposts.rb -------------------------------------------------------------------------------- /db/migrate/20141111014949_add_picture_to_microposts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141111014949_add_picture_to_microposts.rb -------------------------------------------------------------------------------- /db/migrate/20141111214811_create_relationships.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/migrate/20141111214811_create_relationships.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/robots.txt -------------------------------------------------------------------------------- /public/uploads/micropost/picture/302/headshot_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/uploads/micropost/picture/302/headshot_small.jpg -------------------------------------------------------------------------------- /public/uploads/micropost/picture/306/headshot_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/uploads/micropost/picture/306/headshot_full.png -------------------------------------------------------------------------------- /public/uploads/tmp/1415671592-5577-4327/headshot_full.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/public/uploads/tmp/1415671592-5577-4327/headshot_full.png -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/controllers/microposts_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/controllers/microposts_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/relationships_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/controllers/relationships_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/sessions_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/controllers/sessions_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/static_pages_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/controllers/static_pages_controller_test.rb -------------------------------------------------------------------------------- /test/controllers/users_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/controllers/users_controller_test.rb -------------------------------------------------------------------------------- /test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/microposts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/fixtures/microposts.yml -------------------------------------------------------------------------------- /test/fixtures/relationships.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/fixtures/relationships.yml -------------------------------------------------------------------------------- /test/fixtures/users.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/fixtures/users.yml -------------------------------------------------------------------------------- /test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/helpers/sessions_helper_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/helpers/sessions_helper_test.rb -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration/following_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/following_test.rb -------------------------------------------------------------------------------- /test/integration/microposts_interface_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/microposts_interface_test.rb -------------------------------------------------------------------------------- /test/integration/password_resets_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/password_resets_test.rb -------------------------------------------------------------------------------- /test/integration/site_layout_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/site_layout_test.rb -------------------------------------------------------------------------------- /test/integration/users_edit_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/users_edit_test.rb -------------------------------------------------------------------------------- /test/integration/users_index_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/users_index_test.rb -------------------------------------------------------------------------------- /test/integration/users_login_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/users_login_test.rb -------------------------------------------------------------------------------- /test/integration/users_profile_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/users_profile_test.rb -------------------------------------------------------------------------------- /test/integration/users_signup_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/integration/users_signup_test.rb -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/previews/user_mailer_preview.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/mailers/previews/user_mailer_preview.rb -------------------------------------------------------------------------------- /test/mailers/user_mailer_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/mailers/user_mailer_test.rb -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/micropost_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/models/micropost_test.rb -------------------------------------------------------------------------------- /test/models/relationship_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/models/relationship_test.rb -------------------------------------------------------------------------------- /test/models/user_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/models/user_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhartl/sample_app_3rd_edition/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /vendor/assets/javascripts/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/assets/stylesheets/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------