Awesome Jared!

Sorry I don't have much time myself to contribute a lot, your efforts
are *very* much appreciated! What about hopping into #datamapper on
irc.freenode.net so that we can discuss i18n validation errors a bit?
To briefly skim the topic, "hacks" are fine for now, we probably want
to initially come up with some dm-devise helper gem (the place to put
the hacks) that does the dirty work for being compatible with devise's
i18n validation message needs. Just to have something devise can
depend on initially. Eventually, we will of course need to come up for
"full" i18n support for dm-validations, but we probably won't be able
to come up with that within the present time constraints.

cheers
snusnu

On Mon, Jun 28, 2010 at 22:49, Jared Morgan <[email protected]> wrote:
> An update for anyone interested in using devise with DM: my dm-
> compatibility branch [1] is working and passing all tests. However, to
> generate expected validation errors, I monkey-patch dm-validations'
> ValidationErrors [2] and I feel it's rather brittle, so I will be
> working to improve this (any recommendations are very welcome) before
> it's brought into the official repository.
>
> [1] http://github.com/jm81/devise/tree/dm-compatibility
> [2] 
> http://github.com/jm81/devise/blob/dm-compatibility/lib/devise/orm/data_mapper.rb
> (towards bottom of file)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "DataMapper" 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/datamapper?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.

Reply via email to