search for: myst_tt

Displaying 5 results from an estimated 5 matches for "myst_tt".

2008 Jan 14
5
Only "form_tag" support uploading file?
Hi, there: I wanna use plug-in "file_column" to upload image to the server. In my test app, the view is as follow & it works well: ==================== <h1>New entry</h1> <%= error_messages_for ''entry'' %> <% form_tag ''create'', :multipart => true do -%> <p><label
2008 Mar 08
1
Design a GUI widget for "assign roles to users"
Hi, In the admin panel of my little app, the admin can open a user''s detail info page and modify(kick or add) the user''s roles (all roles contain "anonymous", "normal", "moderator" and "admin"). However, I have no idea what GUI widget I should use here. The perfect one should be like the follow, admin could freely kick the roles between
2008 Jan 03
3
how to use "link_to" to deliver a parameter?
Hello, there: I wish A link to invoke such a action together with the parameter "zh_CN" "cookies/switch_language/zh_CH" to switch language sellection, and I use the following code: <%= link_to ''Chinese'', :controller => ''cookies'', :action => ''switch_lang'' %> But, how is "link_to" able to convey
2007 Sep 19
5
problem after scaffolding
hi guys, I am having problems after scaffolding I created a db called "requests" and when i tried to execute the command script/generate scaffold request It gave me an error please make sure you have a database request created before you do this The db is obviously created; rails cant access it... so I tried to hack i copied my view model and controller files from my local deployment to
2008 Jan 11
0
the parameter is nil ?
Hi, I use scaffold to create the task model controller and view, it contains action as "show", "new", "create", etc. Then, I give an "id" parameters to the view - new.rhtml, so the URL could be like "http://localhost:3000/tasks/new/1" , and I wish when I click the create button in "new.rhtml", the following "create"