virtual model and form_for (or formtastic)
Sometimes we need form without model creation - for example search field or email, where should be send some instructions. What is the best way to create this forms? Can i create virtual model or something like this? I'd like to use formtastic, but not form_tag. Firstly, Formtastic doesn't need a model in all cases, although it certainly works best and requires less code with a model. Just like Rails' own built-in form_for , you can pass in a symbol instead of an object as the first argument, and Formtastic will build the form and post the params based on the symbol. Eg: <% semantic_form_for(