Menu
  • HOME
  • TAGS

Why is `merit_actions` appearing in this query without being specified?

ruby-on-rails,merit-gem

Your Action model clashes with Merit's, which is surprising because Merit's is namespaced. Try specifying the root namespace on your calls, like ::Action. If this can be fixed in merit I'll gladly release the bugfix....

Rails apartment with merit gem

ruby-on-rails,multi-tenancy,merit-gem,apartment-gem

That's because Merit::Badge is an Ambry model (in memory), and not ActiveRecord. You don't need to define it as excluded model, but this means that every instance of your app needs to know all the badges as of now.

Merit gem no longer works on Rails 4.1

ruby-on-rails-4,badge,merit-gem

Alright the solution (in case anyone else runs into this) has to do with "custom_fields". Any custom fields have to be referenced as such (for some reason you didn't really need to do this in Rails 3.2 but you do in Rails 4.1) So all I did was change the...