Skip to content

St fix to support ruby19#1

Open
sthirugnanasambandam wants to merge 2 commits intoiamwilhelm:masterfrom
sthirugnanasambandam:st_fix_to_support_ruby19
Open

St fix to support ruby19#1
sthirugnanasambandam wants to merge 2 commits intoiamwilhelm:masterfrom
sthirugnanasambandam:st_fix_to_support_ruby19

Conversation

@sthirugnanasambandam
Copy link

Fix to support ruby 1.9

- replace colon with arrows as colon with String Object as hash keys
not supported in 1.9

Update initialize block


  • virtual attributes are not initialized properly
  • #reset method has necessary code to initialize the virtual attributes.
  • just update initialize block by calling #reset

- replace colon with arrows as colon with String Object as hash keys
not supported in 1.9
- virtual attributes are not initialized properly
- #reset method has necessary code to initialize the virtual attributes.
- just update initialize block by calling #reset
@iamwilhelm
Copy link
Owner

@sthirugnanasambandam How come you're using ruby 1.9? I see that support for ruby 1.9.3 has already ended.

I'm not sure I'd want to support ruby versions that even the official ruby lang won't be supporting. Though I'm not using too many 2.0+ features right now, I feel that I should at least keep it at least in rubies that are being supported.

So that's why I'm curious why you're still using 1.9.x?

@sthirugnanasambandam
Copy link
Author

@iamwilhelm We are in process of moving to ruby 2.x. Ours is a mammoth project. So we will be migrating very soon. Having said that the ruby 1.9.3 support has just ended couple of months back and I am pretty sure there are tons of teams out there still using 1.9.3 or in process of migrating to 2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants