Displaying 2 results from an estimated 2 matches for "abstractapplicationcontrol".
2006 Apr 26
2
Multiple Select example?
I''ve been trying to sort out a multiple select dropdown but haven''t
found any good examples - anyone know of any or perhaps could make a
suggestion [see below]
Model:
1. Task AR has_many users
2. User AR belongs_to task
login/password attributes
Controller:
View:
<%= collection_select("task", "users" , @users, "id", "login", {},
2004 Nov 20
0
Stack level too deep on Cygwin and on Debian / Colinux with 0.5.0 - 0.8.5 Beta gems
...d on Cygwin. So here goes:
1) First the the way how to get there.
$ rails stackleveltest
$ cd stackleveltest
$ ruby script/new_controller Stacktest
# edit app/controllers/stacktest_controller.rb to look like:
-----
require ''abstract_application''
class StacktestController < AbstractApplicationController
helper :stacktest
def test; end
end
-----
edit app/views/stacktest/test.rhtml to look like:
-----
<% check_box "password", "secret" %>
-----
$ ruby public/dispatch.servlet -p 4000 -b debian
$ links http://debian:4000/stacktest/test
gives:
-----
Showing /stackte...