On Sep 10, 12:35 pm, Misha Ognev <[email protected]> wrote: > Fred, now I'm> You'd probably need to either switch > > to a singleton resource, make those actions collection actions, use > > match rather than creating a resource. > > Can you explain example, what I must to do? Guide "Rails routing from > outside in" not gived clarity to me. > > 3) So, when I create a methods that can create captcha image and check > it, what i must do next? >
I think you need to think about this bit first - the right routes will depend on how this is going to be used. For example, I don't think you need a check action for the captcha - the user's answer to the captcha would be submitted along with the other information they're supplying and verification done in the controller. The only captcha specific action I think you need is the one that actually produces the image. The form probably also needs to contain enough information to allow you to know which captcha the user is solving. You'll probably also want to ensure that the same captcha/answer can't be used by someone over and over again. Even if you want to write your own, you might find existing captcha systems a useful source of inspiration. Fred Fred > -- > Posted viahttp://www.ruby-forum.com/. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

