Re: [Rails] Disable back button of browser

2012-12-20 Thread Jim Ruther Nill
On Fri, Dec 21, 2012 at 3:10 PM, Ashokkumar Yuvarajan < ashokku...@shriramits.com> wrote: > Thanks! > > Is there any another way?? > Nope. > > My requirement is, once i clicks the browser back button my site *redirect > to home page*. > > Please advice! > If there is a way, this is not the for

Re: [Rails] Disable back button of browser

2012-12-20 Thread Jordon Bedwell
On Fri, Dec 21, 2012 at 1:10 AM, Ashokkumar Yuvarajan wrote: > Is there any another way?? > > My requirement is, once i clicks the browser back button my site redirect to > home page. The saying "it's more trouble than it's worth" is particularly fitting in this situation. -- You received this

Re: [Rails] Disable back button of browser

2012-12-20 Thread Ashokkumar Yuvarajan
Thanks! Is there any another way?? My requirement is, once i clicks the browser back button my site *redirect to home page*. Please advice! On Fri, Dec 21, 2012 at 12:05 PM, Jordon Bedwell wrote: > On Fri, Dec 21, 2012 at 12:32 AM, Maddy wrote: > > How to disable back button of browser?? >

Re: [Rails] Passing parameter from a dropdown.

2012-12-20 Thread Jim Ruther Nill
On Fri, Dec 21, 2012 at 2:46 PM, Avi wrote: > Sorry for late reply... > > Can't we pass the param through ajax or js ? > yes you can. you have to read on ajax. > > > On Thursday, December 20, 2012 11:50:37 AM UTC+5:30, jim wrote: >> >> >> >> >> On Thu, Dec 20, 2012 at 1:45 PM, Avi wrote: >> >

Re: [Rails] Passing parameter from a dropdown.

2012-12-20 Thread Avi
Sorry for late reply... Can't we pass the param through ajax or js ? On Thursday, December 20, 2012 11:50:37 AM UTC+5:30, jim wrote: > > > > > On Thu, Dec 20, 2012 at 1:45 PM, Avi >wrote: > >> I am not adding any form because there is no model for this page. >> Only there is controller and vie

[Rails] Re: IDE

2012-12-20 Thread Avi
4 & half hours left for RubyMine @17.25$ (Rs. 941/- in India after converting). Hurry... :-) On Friday, December 21, 2012 12:55:29 AM UTC+5:30, Weston Platter wrote: > > FYI - RubyMine 75% sale today only. > http://www.jetbrains.com/specials/index.jsp > > On Wednesday, October 3, 2012 12:

Re: [Rails] Disable back button of browser

2012-12-20 Thread Jordon Bedwell
On Fri, Dec 21, 2012 at 12:32 AM, Maddy wrote: > How to disable back button of browser?? You can't. It's the users browser, not yours. -- 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-tal

Re: [Rails] Disable back button of browser

2012-12-20 Thread Jim Ruther Nill
On Fri, Dec 21, 2012 at 2:32 PM, Maddy wrote: > Hi Folks, > > Good Day, > > *How to disable back button of browser??* > you cant. > > Please advise! > > Thank You. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to thi

[Rails] Disable back button of browser

2012-12-20 Thread Maddy
Hi Folks, Good Day, *How to disable back button of browser??* Please advise! Thank You. -- 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 g

[Rails] Re: IDE

2012-12-20 Thread Weston Platter
FYI - RubyMine 75% sale today only. http://www.jetbrains.com/specials/index.jsp On Wednesday, October 3, 2012 12:33:30 PM UTC-5, Avi wrote: > > Hello, > > What is the best IDE for ROR with JRuby, > Currently I am using Aptana Studio. I am trying to use Rubymine. > Which IDE would give better suppo

Re: [Rails] Fwd: Redirection based on Geolocalization

2012-12-20 Thread Hassan Schroeder
On Wed, Dec 19, 2012 at 6:55 PM, sumit agarwal wrote: > I want it geolocalize in ruby > Is it possible in Ruby? I tried it through apache but didn't find any > solution. Did you even try googling 'ruby geolocalize'?? -- Hassan Schroeder hassan.schroe...@gmail.com http:

[Rails] One model or many for a multistep form?

2012-12-20 Thread why-el
Hey fellas, I am trying to put together a small app to help my university accept applications for one of its summer programs. Currently, they send you an application, you print it, you fill it, scan it, then send it back! We can't tolerate this in a world of Rails. Anyway, so the giant form h

[Rails] Re: New to Rails

2012-12-20 Thread Frederick Cheung
On Wednesday, December 19, 2012 8:54:48 PM UTC, Rocky48 wrote: > > I am trying to setup as per the instructions in step and I am completly > lost. > Why are $ signs shown on lines to input? Windows does not understand them. > In a unixy environment $ denotes the prompt - you don't type it.

[Rails] Re: New to Rails

2012-12-20 Thread Sam Pizzey
Hi there! The $ signs represent the prompt - you do not enter them. It is the equivalent of showing something like c:\> in windows - the generally accepted way to designate 'this is a shell command'. So: $ rails new myapp Is telling you to type "rails new myapp" - no $ sign. rails server doesn

[Rails] New to Rails

2012-12-20 Thread Rocky48
I am trying to setup as per the instructions in step and I am completly lost. Why are $ signs shown on lines to input? Windows does not understand them. I think I have got a error running Rails Server as it hangs in the command prompt screen and won't accept any typed commands. I am a PHP progra

[Rails] Oracle listner with port forwarding issue

2012-12-20 Thread RVince
> bundle exec rails s => Booting WEBrick => Rails 3.1.5 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Warning: NLS_LANG is not set. fallback to US-ASCII. [2012-12-19 12:17:10] INFO WEBrick 1.3.1 [2012-12-19 12:17:10] INFO ruby 1

Re: [Rails] two things seem to equal, but the UNLESS statement passes anyway.

2012-12-20 Thread Jim Ruther Nill
On Thu, Dec 20, 2012 at 6:58 PM, Jim Ruther Nill wrote: > > > > On Thu, Dec 20, 2012 at 6:47 PM, Binny Zupnick wrote: > >> when params[:which_post] happens to equal the users last message, the >> UNLESS staement on line 11 passes when in fact they both equal. I've >> done testing and I know the p

Re: [Rails] two things seem to equal, but the UNLESS statement passes anyway.

2012-12-20 Thread Jim Ruther Nill
On Thu, Dec 20, 2012 at 6:47 PM, Binny Zupnick wrote: > when params[:which_post] happens to equal the users last message, the > UNLESS staement on line 11 passes when in fact they both equal. I've > done testing and I know the params work and they do in fact equal each > other, but it still passe

[Rails] two things seem to equal, but the UNLESS statement passes anyway.

2012-12-20 Thread Binny Zupnick
when params[:which_post] happens to equal the users last message, the UNLESS staement on line 11 passes when in fact they both equal. I've done testing and I know the params work and they do in fact equal each other, but it still passes when it shouldn't. Attachments: http://www.ruby-forum.com/att