On Dec 14, 3:47 pm, "Jason Tuttle" <
ja...@studio1h.com> wrote:
> I just filed a bug with my patched copy of vo_helper.rb in case anyone is
> interested.
>
> : )
>
> Jason
>
> On Sun, Dec 14, 2008 at 4:29 PM, Jason Tuttle <
ja...@studio1h.com> wrote:
> > Ok, I think I've figured out both the problem and a possible solution.
> > First, the problem appears to be in vo_helper.rb -- The get_vo_for_incoming
> > method doesn't handle the :methods in the class mappings. However, if we add
> > the following code to vo_helper.rb it will:
> > if mapping[:methods]
> > mapping[:methods].each do |method|
> > ruby_obj.send("#{method}=", obj.delete(method))
> > end
> > end
>
> > Does anyone see a problem with this approach?
>
> > : )
>
> > Jason
>
> > On Sun, Dec 14, 2008 at 11:51 AM, Mike <
msummer...@gmail.com> wrote:
>
> >> You need to use :methods => ['password', 'password_confirmation']...
> >> they're not attributes in an active record model sense.
>
> >> See the bottom of this thread