stouset/twitter_bootstrap_form_for — Issue #7: make it work for objects other than ActiveModel
Author: danpersa
Created: 2011-10-17 11:19:22+00:00
State: open

For example if I use the session object

<%= twitter_bootstrap_form_for(session, :url => sessions_path) do |f| %>

I get this error:

undefined method `model_name' for Rack::Session::Abstract::SessionHash:Class