<repo_name>imshashank/psychic-octo-wallhack<file_sep>/app/controllers/users_controller.rb
class UsersController < ApplicationController
  before_filter :load_user, only: [:show]

  def index
    @user = User.all
  end

  def show
  end

  def edit
  end

  def load_user
    @user = User.where(username: params[:username]).first!
  end
end
<file_sep>/Gemfile
source 'https://rubygems.org'

ruby '2.0.0'
gem 'rails', '4.0.0'

gem 'active_decorator',  '~> 0.3.4'
gem 'bcrypt-ruby',       '~> 3.1.1'
gem 'bourbon',           '~> 3.1.8'
gem 'cancan',           '~> 1.6.10'
gem 'cocoon',            '~> 1.2.0'
gem 'coffee-rails',      '~> 4.0.0'
gem 'coveralls',         '~> 0.6.7', require: false
gem 'jbuilder',            '~> 1.2'
gem 'jquery-rails',      '~> 3.0.4'
gem 'octokit',          '~> 1.25.0'
gem 'omniauth',          '~> 1.1.4'
gem 'omniauth-github',   '~> 1.1.1'
gem 'pg',               '~> 0.16.0'
gem 'sass-rails',        '~> 4.0.0'
gem 'slim-rails',        '~> 2.0.1'
gem 'simple_form',    '~> 3.0.0.rc'
gem 'therubyracer',     '~> 0.11.4', platforms: :ruby
gem 'turbolinks',        '~> 1.3.0'
gem 'uglifier',          '>= 1.3.0'
gem 'unicorn',           '~> 4.6.3'

group :development, :test do
  gem 'awesome_print',  '~> 1.1.0'
  gem 'better_errors',  '~> 0.9.0'
  gem 'pry-plus',       '~> 1.0.0'
  gem 'pry-rails',      '~> 0.3.2'
  gem 'rspec-rails',   '~> 2.14.0'
  gem 'quiet_assets',   '~> 1.0.2'
end

group :doc do
  gem 'sdoc', '~> 0.3.20', require: false
end

group :test do
  gem 'capybara',             '~> 2.1.0'
  gem 'factory_girl_rails',   '~> 4.2.0'
  gem 'selenium-webdriver',  '~> 2.33.0'
end

group :production do
  gem 'rails_12factor', '~> 0.0.2'
end
