Hi Alex

Keeping the seperation of bids and products in their own controllers is
desirable IMO. However so is ensuring that the url reflects which page the
user ends up on

Have you looked at the rails flash mechanism? It is the usual place to put
messages that need to persist between redirects

Chris
On 14/12/2013 11:57 AM, "Alexander Matthews" <axle...@gmail.com> wrote:

> Hi RoRo Rubyists,
>
> I am hoping to get the opinion of my fellow Oceania rubyists on a problem
> I have. I posted the problem at:
>
>
> http://stackoverflow.com/questions/20368717/rails-i-cant-pass-a-validation-error-in-a-redirect
>
> I quite like the solution that has been proposed but I am wondering if it
> is right to be moving logic to the products controller rather than to the
> bids controller.
>
> If anyone has time to look I would really like some opinions on how you
> would approach this question.
>
> eCheers
>
> Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rails-oceania+unsubscr...@googlegroups.com.
> To post to this group, send email to rails-oceania@googlegroups.com.
> Visit this group at http://groups.google.com/group/rails-oceania.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rails-oceania+unsubscr...@googlegroups.com.
To post to this group, send email to rails-oceania@googlegroups.com.
Visit this group at http://groups.google.com/group/rails-oceania.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to