tag:blogger.com,1999:blog-21222625.post4346686102734299399..comments2023-10-26T08:02:30.987-04:00Comments on The Pothoven Post: attachment_fu as a gem for Rails 3.2Unknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-21222625.post-27412386053478517822014-03-20T11:46:44.809-04:002014-03-20T11:46:44.809-04:00I presume this is due to my prior commenting out o...I presume this is due to my prior commenting out of lines 201-203 of lib/technoweenie/attachment_fu.rb when I was fixing it to work with Ruby 1.9 and Rails 3. See: <a href="https://github.com/pothoven/attachment_fu/blob/master/lib/technoweenie/attachment_fu.rb#L201-L203" rel="nofollow">attachment_fu.rb#L201-L203</a><br /><br />I don't recall why I needed to do that at this time. Are you able to pull a copy of the repository, uncomment these lines and see if that works for you? If that fixes it for you, I'll determine what the impacts are toward leaving them uncommented (and what additional conditions will need to be wrapped around it).Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-8919020201066845742014-03-18T08:35:49.342-04:002014-03-18T08:35:49.342-04:00hi steven,
im getting this error
"...hi steven,<br /> im getting this error<br /><br />"undefined method<br /> `after_attachment_saved' for<br />Praaveenhttps://www.blogger.com/profile/12839359038607125303noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-37324806346022557342014-03-12T12:43:36.224-04:002014-03-12T12:43:36.224-04:00Did you try it with 3.0.6? It should work with ba...Did you try it with 3.0.6? It should work with back-level versions. What error are you getting?Steven Pothovenhttps://www.blogger.com/profile/12363162933609862672noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-73967769595595259172014-03-12T08:38:58.429-04:002014-03-12T08:38:58.429-04:00Hi, can you share "attachment_fu as a gem for...Hi, can you share "attachment_fu as a gem for Rails 3.0.6" Anonymoushttps://www.blogger.com/profile/05898537341256138260noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-72997985884096312822013-08-27T20:54:30.184-04:002013-08-27T20:54:30.184-04:00I am also getting the no route matches [GET] for a...I am also getting the no route matches [GET] for attached images. My images get stored in public/images.<br /><br />Did you have to do anything special to get it working that_robot? I have also updated a major application from 2.3 to 3.2 (and maybe 4 in the near future)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21222625.post-89600362179816340402013-05-25T18:34:22.176-04:002013-05-25T18:34:22.176-04:00just kidding, it appears to work. tired from star...just kidding, it appears to work. tired from staring at code all day. Have a good day!that_robothttps://www.blogger.com/profile/12244771865038545413noreply@blogger.comtag:blogger.com,1999:blog-21222625.post-82822389041066201512013-05-25T18:25:32.591-04:002013-05-25T18:25:32.591-04:00I'm working on bringing a website up from rail...I'm working on bringing a website up from rails 2.3.6 to rails 4 and i originally wrote the site to use attachment_fu, so thank god for your updates!<br /><br />It appears that I now have some routing problems with existing images though ("No route matches [GET]"). I'm not sure if it has to do with the new Asset pipeline, or if I need to do something in my routes file to get access to my image folder.<br /><br />Is this a problem you ran into?<br /><br />All my uploaded images are in public/attachments. Neither my original routes.rb or the new one reference this attachment folder, so I'm not sure exactly what I should change at this time. <br /><br />Thanks for any tips!that_robothttps://www.blogger.com/profile/12244771865038545413noreply@blogger.com