Posts by rom5jp • 126 points
2 posts
-
1
votes2
answers571
viewsA: Sort array in Rails
Friend, I don’t know how your code works, because the find method requires the ID of the object you want to rescue. Try using the new Ruby syntax instead of rockets. Also try to use spacing to make…
-
0
votes1
answer827
viewsA: Gem::Loaderror Specified 'mysql2' for database Adapter, but the Gem is not Loaded. Add `Gem 'mysql2'` to your Gemfile
In fact, for some unknown reason, there is a problem of incompatibility of Rails 4.2.4 with this newer 0.4.0 of mysql2, so if you use the second newer version 0.3.20, it will work. gem 'mysql2',…