Forum: Ruby on Rails disabling text_field

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
48e2f53bc3396f2633673907dd0d62ad?d=identicon&s=25 Naroor Rathish (naroor)
on 2005-12-28 11:31
Hi ,
    Anyone knows how we can disable  <% text_field  %> .
A2c85dc5ee81b12e3cc0a6522e8d079d?d=identicon&s=25 Chris Hall (Guest)
on 2005-12-28 14:25
(Received via mailing list)
text_field(object, method, options_hash)

<%= text_field("user", "name", { :size => 20, :disabled => true }) %>
25e11a00a89683f7e01e425a1a6e305c?d=identicon&s=25 Wilson Bilkovich (Guest)
on 2005-12-28 15:22
(Received via mailing list)
<%= text_field 'object', 'some_method', {'disabled' => 'disabled'} %>
This topic is locked and can not be replied to.