Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined local variable or method `action' for #<Merit::Rule:0x000000078bbff8> #16

Closed
ghost opened this issue Jul 23, 2012 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 23, 2012

Whenever I run an action covered by a badge rule, I get this error message. Here's my rule:

grant_on "registrations#update", :badge => "moip_enabled", :multiple => false, :temporary => true, :model_name => "Drafter" do |drafter|
  !drafter.moip.blank?
end
@tute
Copy link
Member

tute commented Aug 1, 2012

Please add a stack trace or a failing test, can't see the error.

@tute tute closed this as completed Aug 1, 2012
jlholm added a commit to jlholm/merit that referenced this issue Jun 13, 2020
Line merit-gem#16 was referring to the migration_template source as 'add_merit_fields_to_model.rb'.
This source does not exist as the actual extension is `.erb`. This caused the task
to fail as there is no template with the name 'add_merit_fields_to_model.rb'.

Resolving: merit-gem#344
tute pushed a commit that referenced this issue Jun 13, 2020
Line #16 was referring to the migration_template source as 'add_merit_fields_to_model.rb'.
This source does not exist as the actual extension is `.erb`. This caused the task
to fail as there is no template with the name 'add_merit_fields_to_model.rb'.

[fixes #344]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant