3 ms·
Rails used as intended can be a real pain to upgrade, I agree. Recently I have been developing applications in the "thin-model, thin-controller, with a service
by douglasfshearer 12y ago
Rails used as intended can be a real pain to upgrade, I agree.
Recently I have been developing applications in the "thin-model, thin-controller, with a service layer and external API wrappers" style, as espoused by Gary Bernhardt [1] and others [2] [3] [4] [5]. I upgraded to the latest Rails this morning on one app, and apart from swapping the Money gem to use the git repository, until they have a new version out with compatible dependency, it went smoothly. All the specs and acceptance tests passing with no alteration required.
[1] https://github.com/garybernhardt/sucks-rocks https://github.com/garybernhardt/sucks-rocks
[2] http://jamesgolick.com/2010/3/14/crazy-heretical-and-awesome-the-way-i-write-rails-apps.html http://jamesgolick.com/2010/3/14/crazy-heretical-and-awesome...
[3] http://objectsonrails.com/ http://objectsonrails.com/
[4] http://solnic.eu/2011/08/01/making-activerecord-models-thin.html http://solnic.eu/2011/08/01/making-activerecord-models-thin....
[5] https://www.youtube.com/watch?v=CGN4RFkhH2M https://www.youtube.com/watch?v=CGN4RFkhH2M
- rapind 12y agoAnyone else thinking "EJB on Rails"?