action #693
closed
Porting to Rails 4 (and Ruby 2)
Added by ancorgs over 11 years ago.
Updated about 11 years ago.
Description
This task includes:
- Updating gems and dependencies
- Moving things from 'lib/travel_support_program' to concerns
- Fixing whatever other things have been changed or deprecated in Rails 4
- % Done changed from 0 to 20
Migrating to Rails 4.0.2 on Ruby 2.1.0.
A lot of deprecated stuff fixed. Tests fail because of problems related with validations. Still researching.
- % Done changed from 20 to 80
Everything ported to work fine with Rails 4 and Ruby 2. New branch "rails4" pushed to repository. Only one test fails because one validation is disabled since I'm having troubles to test it properly. Only two more things needs to be fixed before merging to master:
- Fix the fixture to enable the validation
- Move code from lib to concerns
- Status changed from New to Closed
- % Done changed from 80 to 100
Code moved to concerns, application renamed (not really necessary but wanted) and validation enabled again. Welcome to Rails 4.
I found a minor bug probably introduced during migration (status_updated_at was not nil before first status change). It's fixed and with tests now.
Also available in: Atom
PDF