Hey guys,
I was wondering how to stop a method without having to perform an action
or redirect?
I tried using “stop” or “exit” but they didnt work
Hey guys,
I was wondering how to stop a method without having to perform an action
or redirect?
I tried using “stop” or “exit” but they didnt work
I tried using “stop” or “exit” but they didnt work
Tried “return”? It would help to see an example of the code. It may be
just
a matter of refactoring the code.
good luck,
andy
On 7/26/06, Eric G. [email protected] wrote:
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Usually just use return
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs