pluginaweek / state_machine

Adds support for creating state machines for attributes on any Ruby class
http://www.pluginaweek.org
MIT License
3.74k stars 510 forks source link

Patches file handling to use absolute paths. #229

Closed bradhe closed 11 years ago

bradhe commented 11 years ago

We ran in to an issue when we had Ruby packaged in a JAR file under JRuby where files weren't expanded all the way. It's been a little while since I applied the patch, so I don't remember the specifics, but this files like The Right Thing To Do(TM) anyway.

obrie commented 11 years ago

Can't see any reason not to do this .. made some adjustments to fix the Mongoid integration as well -- closed by 7ed689230e5f319e825973da30f922ee8442114f

Thanks!