search for: email_max_length

Displaying 1 result from an estimated 1 matches for "email_max_length".

2007 Nov 18
2
Variable inside of another variable
...orm } %> and what I want to be displayed in this case is: <div class="form_row"> <label for="email">Email:</label> <%= form.text_field :email, :size => User::EMAIL_SIZE, :maxlength => User::EMAIL_MAX_LENGTH %> </div> but I will also use it for another fields rather than just email. In PHP I know I could simply do it by ${all_${name}_text} but how does it work with ruby on rails? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscr...