Create device model and setup devise, activeadmin and rspec!

- with attributes: model, imei_number, unique_id and access_token
 - access_token is automatically generated on create
This commit is contained in:
Yedhu Krishnan
2015-10-16 18:37:08 +05:30
parent 2329533c56
commit 9c4800e217
24 changed files with 1097 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'pg'
gem 'devise'
gem 'activeadmin', github: 'activeadmin'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
@@ -33,8 +35,10 @@ gem 'pg'
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
gem 'rspec-rails'
gem 'factory_girl_rails'
gem 'shoulda-matchers'
end
group :development do