search for: default_action

Displaying 4 results from an estimated 4 matches for "default_action".

2005 Dec 14
0
assert_generates and catch-all routes
I have a catch all route. map.connect ''people/*args'', :controller => ''people'', :action => ''default_action'' I can test this one way, with assert_recognizes. expected_options = { :controller => ''people'', :action => ''default_action'', :args => [''made_up''] } assert_recognizes expected_options, ''people/made_up'' I...
2006 Apr 22
3
Creating a select dropdown box with links to methods
What would be the best way to create a form select dropdown box and upon "submit" have it directly go to a controller method view? I have something that somewhat works, but I think there is probably a much easier way to do it. As of now, I have the dropdown list which when the form is submitted is handed to a controller method which basically I have my dropdown box: <%=
2006 Jul 02
3
homepage_url ?
does the routes.rb have some kind of automatic generated url_for a '''' map.connect? (say, something like url_for_homepage or homepage_url) ...i''ve looked around, tried a couple of combos but nothing really worked. do i have the wrong lead? ? thanks... -- Posted via http://www.ruby-forum.com/.
2005 Dec 15
3
site home page
Hi, I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or any other hand holder. And, it is a difficult topic to search for in google. What controller/view is used for the home page of a site? I get how to create new controllers, but I don''t get at all how to change content on the home page. thanks, matt On 12/14/05, Austin Ziegler