[Rails] Re: Disable back button of browser

2012-12-21 Thread Tim Slattery
Rafi A wrote: >Ashok, > >You can disable the browser back button with the help >of JavaScript snippets: I don't think so. This is in the FAQ in comp.lang.javascript, and the answer is that it can't be done. -- Tim Slattery slatter...@bls.gov -- You received this m

[Rails] Re: Email with out SMTP Settings is it possible

2012-09-24 Thread Tim Slattery
n that case, you have to parse the address to get the domain name, look up the MX record in the DNS for that domain (not the normal A record), then establish contact with the remote machine, etc. Using an SMTP relay server is much simpler. -- Tim Slattery slatter...@bls.gov -- You received this me

[Rails] Re: rails s

2012-08-24 Thread Tim Slattery
appear. -- Tim Slattery slatter...@bls.gov -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrai

[Rails] Re: "Undefined method"

2012-08-23 Thread Tim Slattery
Didn't see anything to help. Still don't get it. -- Tim Slattery slatter...@bls.gov -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe f

[Rails] Re: "Undefined method"

2012-08-22 Thread Tim Slattery
Tim Slattery wrote: >Colin Law wrote: > > >>> Don't understand, which route? >> >>You are trying to create a form for a JoltRegistry, that expects to >>submit to a jolts_registries_path (as in the error message). The >>normal way to

[Rails] Re: "Undefined method"

2012-08-22 Thread Tim Slattery
ries I've done that. Same message. I've tried several different permutations of methods, etc. Always the exact same message. I have no clue in the world what in the hell it wants me to do. I have no clue where it gets "jolts_registries" from in the first place. -- Tim Slattery sla

[Rails] Re: "Undefined method"

2012-08-22 Thread Tim Slattery
Colin Law wrote: >On 21 August 2012 21:12, Tim Slattery wrote: >> I have a controller named RegistriesController. It contains a single >> method: >> >> def edit >>@jolts_registry = JoltsRegistry.new >> end >> >> This runs, and t

[Rails] "Undefined method"

2012-08-21 Thread Tim Slattery
s_path' for #<#:0x1cf7aa0> What does that mean? -- Tim Slattery slatter...@bls.gov -- 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 rubyonrails-talk@googlegroups.com. To unsubs

[Rails] Re: Rails session ID

2012-08-16 Thread Tim Slattery
tomkins wrote: >Try request.session_options[:id] Thanks to all who replied. The code above worked. No doubt some of the other suggestions would have also. Many thanks from someone trying to figure out Ruby and Rails at the same time! -- Tim Slattery slatter...@bls.gov -- You received t

[Rails] Rails session ID

2012-08-14 Thread Tim Slattery
I'm trying to retrieve the session ID in rails. I found a web page that said to use session.session_id But when I do that, I get: undefined method `session_id' for # What do I need to do? -- Tim Slattery slatter...@bls.gov -- You received this message because you are subscri

[Rails] button_to with image

2012-08-10 Thread Tim Slattery
I'm calling button_to in my page, and it renders a form with a submit button just fine. But what I'd really like is instead of https://groups.google.com/groups/opt_out.