Stewart
November 20, 2006, 3:48am
1
Hi guys
Question about acts as attachment still getting the following error
undefined method `content_type’
I have set everything up according to the following page however i am
still have trouble
http://weblog.techno-weenie.net/articles/acts_as_attachment
One thing, I have wanted to add this to an existing model in my system.
I have not used the…
script/generate attachment_model dvd_cover
to create my model it was already there. But i have added in all the
lines that are needed. Any ideas about what i am doing wrong?
Thanks for your time reading this
Stewart
November 20, 2006, 2:24pm
2
are you sure you installed from the correct source. i believe if your
using edge, its a different version from stock. recheck the
script/plugin install path.
Stewart wrote:
Hi guys
Question about acts as attachment still getting the following error
undefined method `content_type’
I have set everything up according to the following page however i am
still have trouble
http://weblog.techno-weenie.net/articles/acts_as_attachment
One thing, I have wanted to add this to an existing model in my system.
I have not used the…
script/generate attachment_model dvd_cover
to create my model it was already there. But i have added in all the
lines that are needed. Any ideas about what i am doing wrong?
Thanks for your time reading this
Stewart
November 20, 2006, 2:46pm
3
On 11/19/06, Stewart [email protected] wrote:
http://weblog.techno-weenie.net/articles/acts_as_attachment
Thanks for your time reading this
Check if your existing model has all the right attributes, such as the
content_type column.
–
Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com
Stewart
November 21, 2006, 12:43am
4
Rick O. wrote:
On 11/19/06, Stewart [email protected] wrote:
http://weblog.techno-weenie.net/articles/acts_as_attachment
Thanks for your time reading this
Check if your existing model has all the right attributes, such as the
content_type column.
–
Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com
the model is correct. However because of the rest of my team i am unable
to upgrade to 1.1.6. We are still on 1.1.2.