AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
846 stars 315 forks source link

Issue while integrating with rails 3.2.13 #404

Closed anilmaurya closed 11 years ago

anilmaurya commented 11 years ago

I am getting this error

ArgumentError alchemy_languages can't be converted to a class in /gems/squeel-1.1.1/lib/squeel/adapters/active_record/context.rb:53:in `classify'

on http://localhost:3000/admin/pages. and http://localhost:3000/admin/dashboard

anilmaurya commented 11 years ago

In backtrace it list /bundler/gems/alchemy_cms-8ea86bed68eb/app/views/alchemy/admin/dashboard/index.html.erb

masche842 commented 11 years ago

Seems to be an incompatibility with squeel.

As far as I know, alchemy_cms is not tested with squeel, yet. I suggest that you use the "common" ActiveRecord for now.

If you still want to use squeel you could contribute a patch to alchemy to fix that.

masche842 commented 11 years ago

Can you paste the full backtrace?

anilmaurya commented 11 years ago

Thanks @masche842 . Its working with Active Record .