This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See https://dondoh-blog.tumblr.com/post/4142258573/formtastic-without-activerecord | |
# ------------------------------------------------------------------------------- | |
# Faux model object that plays well with formtastic; this is used for example in | |
# a contact form which generates a request to salesforce | |
# ------------------------------------------------------------------------------- | |
class FormtasticFauxModel | |
include ActiveModel::Validations | |
include ActiveModel::Conversion | |
extend ActiveModel::Naming |
OlderNewer