> could you post some source code (of "add" action for example)
def add
session[:ordered_compact_disc_ids] ||= []
compact_disc = CompactDisc.find(params[:id])
if compact_disc.quantity > 0
session[:ordered_compact_disc_ids].push(compact_disc.id)
flash[:notice] = "CD '#{compact_disc.display_title}' zu Warenkorb
hinzugefügt. Um den Warenkorb an zu schauen, bitte den Link 'Warenkorb'
rechts oben klicken."
else
flash[:notice] = "CD '#{compact_disc.display_title}' ist leider
nicht mehr verfügbar."
end
redirect_to(compact_disc_path(compact_disc))
end
> and some
> more info about your production env?
It's a shared hoster, www.cyon.ch, everything should be OK there I
guess. I'm using Rails >2 and a MySQL db.
Any more infos needed?
> Do you display flash messages in
> your layout or view files? If in view files, do you include it on the
> page where it is missing?
I display the flash messages in my layouts/application.rhtml view, which
is my only layout.
I just created a new app on the server using the tools that are
available, and there with a simple people-scaffold flashes etc. seem to
work without any problem...
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---