def password=(password)
self.password_salt = Random.new.bytes(3)
self.password_hash = hash_password(password)
end
#password_salt is a Binary field.
ArgumentError:
invalid byte sequence in UTF-8
If I change the password salt to ensure it is UTF-8 compatible, everything works, but I can't do that unfortunately. I'll delve into the source once I've resolved other bugs (I'm also moving to Rails 3.1).
> --
> You received this message because you are subscribed to the Google Groups "DataMapper" group.
> To post to this group, send email to datam...@googlegroups.com.
> To unsubscribe from this group, send email to datamapper+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.
>
On 2011/09/10, at 14:30, Dan Kubb (dkubb) wrote:
On Sep 13, 2011, at 4:40 PM, Florian Gilcher wrote:
> Hi,
>
> first of all: great news and thank you for the hard work.
Thank you :)
> I have one question though: Are some of the plugins in unmaintained
> status?
Unfortunately yes. We support some of the plugins in a way that we only make sure the spec suites pass before making a new release. It's impossible for the core team to maintain over 30 gems and that's why we've decided to "give away" some of the plugins in the near future. Specifically DataMapper 1.3.0 suite will only include the most common gems (probably only what's inside the meta datamapper gem + DO adapters).
This means that over a dozen of DM plugins are looking for new maintainers.
> For example, dm-is-versioned got a version bump although it
> has severe incompatibilities with other plugins. I have a pull request
> sitting in the repository since February…
I'm sorry to hear that. I'll look at the pull request later today.
Cheers!
# solnic
> For example, dm-is-versioned got a version bump although it> sitting in the repository since February…
> has severe incompatibilities with other plugins. I have a pull request
I'm sorry to hear that. I'll look at the pull request later today.