[Rails] Re: Passing variable to partial failure

2015-06-28 Thread Bazley
Thank you all very much. I'm afraid the problem was me, being a moron. There's nothing wrong with the code. There was a second forgotten 'render' in view.html.erb causing the problem. Sorry. Thank you once again. -- You received this message because you are subscribed to the Google Groups "Ruby

Re: [Rails] Re: Passing variable to partial failure

2015-06-28 Thread Colin Law
On 28 June 2015 at 15:15, Bazley <1975...@gmail.com> wrote: > Thank you very much for your help. > Sorry, I should have included what's inside the block: it's a glyphicon > block sign. > I've researched the correct format for including a block (example here), and > I think I have it correct below (

[Rails] Re: Passing variable to partial failure

2015-06-28 Thread Bazley
Thank you very much for your help. Sorry, I should have included what's inside the block: it's a glyphicon block sign. I've researched the correct format for including a block (example here ), and I think I have

[Rails] Re: Passing variable to partial failure

2015-06-27 Thread Elizabeth McGurty
Sorry, I see now blocker vs blocked. So same key name observations is wrong... On Saturday, June 27, 2015 at 9:50:29 PM UTC-4, Elizabeth McGurty wrote: > > With regard to button_to, on first (and quick) inspection, I see that you > are missing your first argument, name. > > Your button_to: >

[Rails] Re: Passing variable to partial failure

2015-06-27 Thread Elizabeth McGurty
With regard to button_to, on first (and quick) inspection, I see that you are missing your first argument, name. Your button_to: <%= button_to blockrelationships_path, class: 'btn btn-default btn-xs', params: { blocker_callsign: @callsign,