refinery / refinerycms-news

News Plugin for Refinery CMS
http://www.refinerycms.com
MIT License
121 stars 120 forks source link

New Image fails #152

Closed Atastor closed 10 years ago

Atastor commented 10 years ago

Current refinerycms install with rails 4.1.5 out-of-the-box. After experimenting some I added

gem 'refinerycms-settings', github: 'refinery/refinerycms-settings', branch: 'master'
gem "refinerycms-news", github: 'refinery/refinerycms-news', branch: 'master'

Now adding news just works, but trying to add an image to a news fails with

undefined method `image_title' for #<Refinery::Image:0x000001037d0d08>

Any idea?

Regards Michael

parndt commented 10 years ago

Have you pulled in the latest migrations from Refinery and run them?

rake railties:install:migrations
rake db:migrate
Atastor commented 10 years ago

Thanks, that removed the above error. I'll think a bit more from now on, to remove the other bumps as well :-)

parndt commented 10 years ago

Glad it solved it! :smile: