How do you stop a ruby method prematurely

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