Andrew wrote:
> Hi everyone!
>
> I'm new to Ruby and JS, and there is a problem I'm trying to solve:
> I need a link that, when clicked, transforms into a form for inputting
> data.

Ruby doesn't really have anything to do with links, or with JavaScript.

I think you might want to ask this question on the Rails list.