I'm a newbie.
I want to build my own control (like User Control in ASP.NET), but I don't know how...
Thank you for your help!
I'm a newbie.
I want to build my own control (like User Control in ASP.NET), but I don't know how...
Thank you for your help!
I think helpers and partials are the closest analogues to asp.net's controls.
Gratuitous extra advice: don't make the mistake of trying to write asp.net style code in rails--try and get your head around MVC, and the various rails conventions/idioms, and see if you like it.
+1. A "User Control" in rails is a mix of partials and helpers.
Roy Pardee wrote:
I think helpers and partials are the closest analogues to asp.net's controls.
Gratuitous extra advice: don't make the mistake of trying to write asp.net style code in rails--try and get your head around MVC, and the various rails conventions/idioms, and see if you like it.
Thank you, Roy Pardee !