Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.
/ java_legacy_rails Public archive

helpers supporting java specifics in a rails project, such as coder for (de-) serialization

License

Notifications You must be signed in to change notification settings

dhenze/java_legacy_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UNMAINTAINED This is no longer supported, just leaving here for reference for now and removing it entirely at some stage soon.

JavaLegacyRails

When porting an application from a JEE/Hibernate project to Rails, some of the inner workings are different, such as the serialization. To support the switch, I created this project to ease the transition.

Right now the provided tools and helpers are:

  • EnumCode: to be used with Enum-serialized fields. They are basically like serialized Arrays, but for some reason are split by a commata and a space “, ”. The EnumCoder reads these values and returns an array.

** Usage: serialize :legacy_data, JavaLegacyRails::EnumCoder.new

About

helpers supporting java specifics in a rails project, such as coder for (de-) serialization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published