Ronny, it would be useful to see your code for Money. dd
On Mon, May 16, 2011 at 9:43 PM, ylluminate <[email protected]> wrote: > Curious, is this a permanent change, and if so can you provide an > example? Otherwise, will it be corrected in the near term? > > Thanks for mentioning your experience Ronny. > > > -yll > > On May 16, 6:03 pm, Ronny Hanssen <[email protected]> wrote: > > I just found out that my hobo rich type (Money) based on float no longer > > worked in the RC1 release. It worked in pre28, so sometime between these > > releases a change has been made to the source. > > > > It failed while trying to display a record (in the show-page). The error > > message was a bit vague...: > > > > undefined method `name' for nil:NilClass > > > > After a little digging i found that the code was failing as it tried to > > display the fieldlist. It turns out that my rich types based on string > still > > works, whereas my rich types based on float doesn't. > > > > The fix for the problem was to add a view tag for this type. Meaning that > > rich types may require explicit view-tags, where the Hobo-1.0 version > didn't > > need it. Posting this in case someone else gets similar problems. Maybe > this > > should also be added to the manual in the rich types section (if it isn't > > already there - it's a while since I had a look at it now)...? > > > > ~Ronny > > -- > 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. > > -- 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.
