> is this intentional?

Not in this case.  In other cases we've been somewhat strict,
especially in the DSL layer where it's important to specify behaviour
explicitly, but something like this we would generally want to handle
in DM.

> In rails and active record land. We can do this @model = Model.new
> (params[:model]) and never have to worry checking for nil.
>
> Now I have to do this @model = Model.new(params[:model] || {})

Submit a ticket and I'll fix that:

  http://is.gd/aa86

--

Dan
(dkubb)

--

You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamap...@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