Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Should respond to persisted? as well

  • Loading branch information...
commit c8669a9ebf34abc6e563264bd8fbf069d2f919ec 1 parent cb29ca2
@josevalim josevalim authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/mail_form/shim.rb
View
4 lib/mail_form/shim.rb
@@ -43,6 +43,10 @@ def new_record?
true
end
+ def persisted?
+ false
+ end
+
# Always return nil so when using form_for, the default method will be post.
def id
nil
Please sign in to comment.
Something went wrong with that request. Please try again.