Rails 4 and other gems update

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Migrate application to rails 4 step 1

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use real gems

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Update config/* to rails4

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use gems that works with rails 4

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Added allow_blank to model validations

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix project lookup for git over http + rails4

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Require rspec expectations into spinach

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Make User#accessible_deploy_keys works in rails4

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fixed the WhiningNill deprecation fix
Fixed default scope deprecation warning
Fixed some deprecation warnings
Fixed the last deprecation warnings for order and where
Upgraded the grape gem
Fixed rails 4 deprecation warnings in groups
Add rails4 to travis

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fixed mistake and mock warning

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
GitLab app is not threadsafe so better disable allow_concurrency for production env

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Mention assets precompile in installation docs

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fixed some deprecations

* Model.all is deprecacted, use without .all
* confirm: message is deprecated, needed to be wrapped
  in data block