[Rails] Re: Disable back button of browser

2012-12-21 Thread Tim Slattery
Rafi A rafigl...@gmail.com 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 message

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

2012-09-24 Thread Tim Slattery
. In 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

[Rails] Re: rails s

2012-08-24 Thread Tim Slattery
should 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 rubyonrails-talk

[Rails] Re: Undefined method

2012-08-23 Thread Tim Slattery
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 from this group, send email

[Rails] Re: Undefined method

2012-08-22 Thread Tim Slattery
Colin Law clan...@googlemail.com wrote: On 21 August 2012 21:12, Tim Slattery slatter...@bls.gov wrote: I have a controller named RegistriesController. It contains a single method: def edit @jolts_registry = JoltsRegistry.new end This runs, and the associated view is invoked

[Rails] Re: Undefined method

2012-08-22 Thread Tim Slattery
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 slatter...@bls.gov -- You received

[Rails] Re: Undefined method

2012-08-22 Thread Tim Slattery
Tim Slattery slatter...@bls.gov wrote: Colin Law clan...@googlemail.com 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 generate the route would be to use

[Rails] Undefined method

2012-08-21 Thread Tim Slattery
' for ##Class:0x184fdd4: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 unsubscribe from this group

[Rails] Re: Rails session ID

2012-08-16 Thread Tim Slattery
tomkins j.tomk...@live.com 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

[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 #Rack::Session::Abstract::SessionHash:0x2e14c5 What do I need to do? -- Tim Slattery slatter...@bls.gov -- You received

[Rails] button_to with image

2012-08-10 Thread Tim Slattery
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 from this group, send email to rubyonrails-talk+unsubscr