Re: rake aborted undefined method precision()

Per-olof Hermansson
Fri, 08 Oct 2010 12:59:02 -0000

I solved the issue by uninstalling Ruby 1.8.7, and installing 1.9.2

Per-Olof


Per-olof Hermansson wrote:
> I am following Aqile Web Development IV, page 82, added precision to the
> when I run rake db:migrate I get an error:
>
> --create_table (:products)
> --precision()
> rake aborted!
> An error has occurred, this migration cancelled:
>
> undefined method ''precision'' for
> #ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x47a07b0
> how do I solv this?
>
> Per-Olof
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at