module Lolita::Configuration::Field

Lolita::Configuration::Field is class that allow to configure fields. To change behaviour of field you can use these attributes

To define field in ORM class through lolita configuration block

Example

lolita do
  tab do
    field :email
    field :user_id, :type=>"string"
    field :body do
       title "Full text"
       html_options :class=>"full_text"
    end
  end
end