Tomoya Yoshida
Tomoya Yoshida
I'm developing web application & JSON API application for ios. I use the devise to authenticate. - On the premise of, I login the web browser(User.first.name = tom). ``` ruby...
Add define_collection_i18n_method_before_type_cast method. Since the ransack gem does not support enum string search, I added a method that returns a before type cast value. ```ruby [1] pry(main)> Advertiser.statuses_i18n => {"default"=>"未承認",...
Fixed undefined error when running rails g impressionist(undefined method `timestamped_migrations')
The following error occurred when running rails g impressionist, so I fixed it. ``` /usr/local/bundle/gems/activerecord-7.1.3.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `timestamped_migrations' for ActiveRecord::Base:Class (NoMethodError) ``` ActiveRecord.timestamped_migrations is now used when the major...
Thank you for creating a great library. I tried running the examples locally as described in the README, but they didn't work. This pull request updates the setup instructions for...