testing the contact form on rails 3.1
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

== Contact Form with rails 3.1.3

if you need info about the method persisted? look this:

persisted?()
Returns if the record is persisted, i.e. it's not a new record and it was not destroyed.

Source:

# File activerecord/lib/active_record/persistence.rb, line 17
def persisted?
  !(new_record? || destroyed?)
end


The example was taken from this site:
http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/

--
This app is only for test
@jenimech