Sean - I'd agree with that but I think it'd be good to have it consistent
with redirect_to.
On Sun, Aug 7, 2016 at 4:19 PM Sean Linsley
wrote:
> To prevent top-level variable congestion, this may be better:
>
> render :index, flash: {notice: ‘hi’}
>
>
> On Aug 7, 2016, at 3:17 PM, Tom Prats wro
On 7 August 2016 at 09:54, Ronak Bhatt wrote:
> how i get Checked check box value in rails 4
>From params. Assuming you have put the checkbox in a form.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this gr
how i get Checked check box value in rails 4
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to thi
To prevent top-level variable congestion, this may be better:
render :index, flash: {notice: ‘hi’}
> On Aug 7, 2016, at 3:17 PM, Tom Prats wrote:
>
> Currently you can add a flash notice to your render call like so:
>
> flash[:notice] = "Notice me!"
> render :index
>
> Similar to how it can
Currently you can add a flash notice to your render call like so:
flash[:notice] = "Notice me!"
render :index
Similar to how it can be passed with redirect_to, I'd like to be able to
pass it as an argument to render:
render :index, notice: "Notice me!"
I've been using a monkey patch to allow th