Skip to content

Instantly share code, notes, and snippets.

@caifara
Created August 20, 2012 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caifara/3405033 to your computer and use it in GitHub Desktop.
Save caifara/3405033 to your computer and use it in GitHub Desktop.
require 'active_support/concern'
module WorkingYear::Reports
extend ActiveSupport::Concern
def reminders(number)
options = {
:allow_generate => @working_year.current?(:generate_reminders)
}
Reminder.new(self, number, options)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment