> Sounds good, but remember Rails 3 is still in beta, and that there's a
> lot of changes, so most of your rails 2x plugins will probably not
> work (properly) anymore. And looks like you're using rspec... rspec
> 1.x wont work with Rails 3. rspec 2 is should be out soon though!
>
> also, including only the sequel active_model plugin may not get
> everything to play together nicely right off the bat (eg plugins
> expecting activerecord). it only makes it compliant with actionpack.
> you may still need to include other activemodel modules to help you
> out. see here:http://github.com/rails/rails/tree/master/activemodel
>

An update - I decided not to goto Rails 3 just yet.  I fixed what I
had and removed the :active_model plugin from my Models.  I found out
I really did not need it and was using it only for new_record?.  So, I
aliased it to Sequel new?.  Also, I only needed that for my user model
to use the REST authentication plugin library.  Then I fixed my specs
to use new? instead of new_record?

This was a case, again, where I look at examples or rails 'generate'
something that is using AR and I just tried to get it to work as best
I could.  I had used active_model plugin when I should have just fixed
my code to use Sequel correctly.

Thank y'all for the help.

Later,

GregD

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" 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/sequel-talk?hl=en.

Reply via email to