> For example in a Rails migration you can declare :null => false to
> disallow null values (for keys). How is this declared using Hobo
> Fields?

In the fields block:

fields do
   name :string, :null => false
end

> What about polymorphic associations? If you declare a polymorphic
> association in a model, will Hobo Fields generate the id and type
> fields in the migration to support that association?

Yep

> Are these details documented somewhere?

The existing docs are here: http://www.hobocentral.net/hobofields/

Not sure if those specific issues are mentioned or not. At some point  
we'll add hobofields docs to the manual on the Cookbook and fill out  
the gaps.

Tom


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to