Dasherize

5 views
Skip to first unread message

Cameron

unread,
Feb 27, 2010, 10:43:09 AM2/27/10
to pyactiveresource
Do we recommend turning setting dasherize = false on the rails side to
keep from having to convert between underscores and dashes?

Cheers,
Cameron

Mark Roach

unread,
Mar 4, 2010, 12:01:28 AM3/4/10
to pyactive...@googlegroups.com
It couldn't hurt. I've actually got a rails plugin that should be
getting released soon which uses libxml as a replacement for the
current (very inefficient) ActiveRecord::Base#to_xml implementation.
I'll put an announcement here when that's ready...

-Mark

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

Lucky, the tourist

unread,
Mar 4, 2010, 1:27:20 PM3/4/10
to pyactive...@googlegroups.com
Interesting. I had created a LibXML parser for Hash#from_xml, way back
before they added LibXML as an optional parser in 2.3.

--
Lucky, the tourist
www.luckythetourist.com

Reply all
Reply to author
Forward
0 new messages