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 P. 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 P. !
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