add gemfile, active record