Skip to content

Instantly share code, notes, and snippets.

@avit
Created August 25, 2012 13:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avit/3465738 to your computer and use it in GitHub Desktop.
Save avit/3465738 to your computer and use it in GitHub Desktop.
inheritable_copy error
class MyMailer < ActionMailer::Base
def notice(user)
# ...
mail(to: @to, from: @from, subject: @subject) do |format|
format.html { render text: @html_content }
format.text { render text: @text_content }
end
end
end
# WARN: undefined method `inheritable_copy' for #<Rails::Application::Configuration:0xb134c90>
# traced to:
# https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_view/helpers/controller_helper.rb#L16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment