iangreenleaf / native_enum

Adds ENUM and SET support to ActiveRecord
MIT License
21 stars 21 forks source link

Move to Rails 3.2 #3

Closed EnriqueVidal closed 12 years ago

EnriqueVidal commented 12 years ago

This change moves to rails ~> 3.2.3 should have it's own tag and version IMHO.

smathy commented 12 years ago

Looks :legit:

iangreenleaf commented 12 years ago

Cool, this looks very nice. I'm pleased it was this easy.

I might look into solutions for testing against both versions, but this is fine for now.

iangreenleaf commented 12 years ago

Hmm, I tried it with 3.0.x and am getting a bunch of spec failures with this error:

 NoMethodError:
   undefined method `[]' for nil:NilClass
iangreenleaf commented 12 years ago

Hold that thought, I seem to be getting errors no matter with version I try.

EnriqueVidal commented 12 years ago

Did you remember to set DB? DB=mysql rake spec

iangreenleaf commented 12 years ago

Yeah, nm, I was running the tests wrong.