Sorry for the update but i didn't notice this before because i thought
I fixed it
on the images index everything works fine and dandy but when i display
it as a child if product i get
Processing ApplicationController#index (for 127.0.0.1 at 2010-09-05
03:05:45) [GET]
Parameters: {"1283637219"=>nil}
ActionController::RoutingError (No route matches "/admin//public/
images/photos/thumbnail/test.jpg" with {:method=>:get}):
In the Image model I've got
:default_style => :small,
:path => "..//public/images/
photos/:style/:id_:basename.:extension",
# :path => "images/photos/:style/:id_:basename.:extension",
:url => "..//public/images/
photos/:style/:id_:basename.:extension"
the photo is in the root public/images/photos
admin subsite where the model has been moved is at /admin
I've got no idea why its fixed in the Image index and 404 in the
product child
On Sep 5, 12:07 am, Scorpio <[email protected]> wrote:
> After 2 long days of trial and error I managed to bind the paperclip
> to an image model and it works but once I add a both way has many
> relationship with a product goes crazy.
>
> 1. Suddenly a sidebar pops up and thats where the images end up (what
> the ... ?!) I need the sidebar to be ever present for different
> content so thats not acceptable
> 2. when I index the Images model i get a nice little thumbnail of that
> image but when its in the sidebar the thumbnail disappears
>
> I'll try some merging and overwriting content but DRYML is still a
> game of chance rather than a coding experience for me so I'd be very
> happy to get any hints on the issue to avoid another 2 days of blind
> trial and error (I never could properly merge pages I've always ended
> up with either one or the other content or [to my amazement] a non-
> effective ex: show.dryml as if its not even there ??)
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.