On 19 Oct 2009, at 18:15, Dan Kubb (dkubb) wrote:

> I think this is good behavior.  I've been slowly adding options that
> are available to the underlying property (like :nullable) to the
> belongs_to API when it makes sense, and I think the ability to declare
> a default parent resource like this fits with the overall API.
>
> If you want to create a ticket, tagged as "suggestion" I'll take a
> look at it when I cycle around and do another series of fixes/
> refactoring to the Relationship code.

Done:

http://datamapper.lighthouseapp.com/projects/20609-datamapper/tickets/1099-support-for-default-values-of-belongs_tohas-1-associations

Ashley

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamapper@googlegroups.com
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to