Closed jpmckinney closed 9 years ago
I'll revive this issue if we ever use this engine in a Rails 4 project.
Hey there we were thinking of using popolo engine for a project and our project is using rails 4.1.x. What would be your recomendation for getting it to work ?
I gave it a try and ended up commenting some lines. Unfortunately, due to my lack of rails knowledge I can't understand the implications of this commented lines specially in spec/spec_helper.rb.
Here is the link for the list of commits and the order I followed for commenting things: https://github.com/ciudadanointeligente/popolo-engine/commits/commenting_things_for_rails4 and this is the comparison between that feature branch and master: https://github.com/ciudadanointeligente/popolo-engine/compare/commenting_things_for_rails4
I upgrade to RSpec 3 at the same time. Tests pass in 4.x now! I'll open a branch for 3.x.
:sparkles: thanks! :sparkles:
Read up on:
https://github.com/rails/cache_digests https://github.com/rails/strong_parameters https://github.com/rails/turbolinks https://github.com/rails-api/active_model_serializers