Project

General

Profile

Actions

action #693

closed

Porting to Rails 4 (and Ruby 2)

Added by ancorgs over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development
Target version:
Start date:
2013-08-29
Due date:
% Done:

100%

Estimated time:
5.00 h

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
Actions #1

Updated by ancorgs over 10 years ago

  • % 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.

Actions #2

Updated by ancorgs over 10 years ago

  • % 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
Actions #3

Updated by ancorgs over 10 years ago

  • 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.

Actions #4

Updated by ancorgs about 10 years ago

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.

Actions

Also available in: Atom PDF