josephholsten / rets4r

Bringing RETS to ruby
MIT License
52 stars 28 forks source link

Updated to write the photo object as binary for Rails 3 and Ruby 1.9.2... #22

Closed pacino closed 13 years ago

pacino commented 13 years ago

With Rails 3 & Ruby 1.9.2, it will attempt to convert the object data to a string which caused a ""\xFF" from ASCII-8BIT to UTF-8" error for me. Changing the file to open in Binary mode avoids this encoding issue.

josephholsten commented 13 years ago

Looks great.

BTW, I'd love to have a script that is a real end user tool, not just a set of examples. In particular, I especially want to adapt the metadata action from here: https://github.com/estately/rets

If you have any ideas or feature requests for the examples, please let me know in the rets4r issue tracker: https://github.com/josephholsten/rets4r/issues