# Paperclipped rake error

**URL:** <https://www.ruby-forum.com/t/paperclipped-rake-error/159298>\
**Category:** Radiant CMS\
**Created:** [February 3, 2009, 10:01am UTC](https://www.ruby-forum.com/t/paperclipped-rake-error/159298 "2009-02-03T10:01:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@bartee](https://www.ruby-forum.com/u/bartee)\
**Post date:** [February 3, 2009, 10:01am UTC](https://www.ruby-forum.com/t/paperclipped-rake-error/159298/1 "2009-02-03T10:01:57Z")

</div>

getting error from rake command…

I think I need rails paginate, but not sure…??

Partial trace below.

bartee@bartee-linux:~/railsprojects/myradiant$ rake development  
db:migrate:extensions  
(in /home/bartee/railsprojects/myradiant)  
rake aborted!  
undefined method `has\_attachment’ for #Class:0x7f998f149288

(See full trace by running task with --trace)  
bartee@bartee-linux:~/railsprojects/myradiant$ rake development  
db:migrate:extensions --trace  
(in /home/bartee/railsprojects/myradiant)  
\*\* Invoke development (first\_time)  
\*\* Execute development  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
rake aborted!  
undefined method `has_attachment' for #<Class:0x7f80cc57da60> /usr/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/activerecord/lib/active_record/base.rb:1532:in`method\_missing\_without\_paginate’  
/home/bartee/railsprojects/myradiant/vendor/extensions/paperclipped/vendor/plugins/will\_paginate/lib/will\_paginate/finder.rb:164:in  
`method\_missing’
