similar to: homepage_url ?

Displaying 17 results from an estimated 17 matches similar to: "homepage_url ?"

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
2006 Apr 10
1
routing
I have this in my routes.rb: ... map.connect ":action/:id", :controller => "default_controller" .. It worked nicely, until I added a second controller to my project. The new (second) controller is "Admin". The problem is I cant reach the actions in the second controller. http://mysite.com/some_action is routed to some_action in default_controller. That is
2005 Aug 15
2
Newbie rendering problem
Hi On every list request i render an item partial through a collection of items. the item table has 3 columns namely name,anotherName and id. the item partial looks like <%@item=item%> <%= error_messages_for(:item) %> <tr id="<%=item.id%>"> <% for column in Item.content_columns %> <td><%=h item.send(column.name) %></td> <%
2006 Aug 02
4
Struts
I have a STRUTS based webapp and I want to port it to RUBY/RAILS... Can anyone suggest a migration strategy...I would like to migrate my struts actions over time if possible. Jim _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
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: <%=
2008 Jan 18
8
link_to problem
hi @ all I create a new archiv.html.erb and a archiv method in the controller. Now, I would like to link from index.html.erb to archiv.html.erb. I tried to use <%= link_to ''archive'', archiv_xxx_path %> but it doesn''t run. It appears a error message "SyntaxError in xxx#index". Does anyone know, how I can enhance this problem? thanks a lot... -- Posted
2007 Jun 03
6
mongrel cluster w/ apache
hi all, i''m working on deploying my app w/ apache and a mongrel cluster. i''ve started by copying the instructions and code from the agile rails book and everything seems to be working fine but apache isn''t forwarding my requests to mongrel the way i expect it should. there''s nothing in the rewrite logs and nothing but 404 errors in the apache error logs.
2007 Nov 02
4
Login Redirect - Hacking the session[original_uri]
Hi There, I have several ajax elements that require authorization, but for various reasons, they can''t pass session[original_uri] to the redirect on user log in. I''m trying to hack in a uri by passing a param to the login page. I can see that the param is passing into the login page, but for whatever reason, no matter what I do, the user is redirected to the homepage after
2006 Dec 15
4
Why won't Rails update my object attributes?
Here''s the issue: When I submit a form for updating, @person.update_attributes doesn''t work. But the next nested clause for updating images DOES work. How is that possible? However no matter what I do the Person object will not change its attributes. def edit @person = Person.find(params[:id]) if request.post? @person.update_attributes(params[:person])
2008 Jan 21
4
Rails app cannot connect to Ferret server
I have installet the Ferret gem v. 0.11.6 and the latest acts_as_ferret plugin from svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret I''ve followed the instructions here http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer to set up the server, and put acts_as_ferret :remote => true on one of my models (Ad) I can also start the ferret_server, but when
2008 Sep 18
2
Setting up Fleximage
Hello! I''ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (http://github.com/Squeegy/fleximage/wikis/gettingstarted) Originally, I just dropped in all of the sample code that they provided, which I copied below this question. - When I tried to access "new" to upload a new photo, I received an error
2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey, I try to do my first steps in Ruby, and designed an "Hello World!" Application. Now I want to install this Application on an Apache server. I copied it to the "/public_html/" Directory here: (the application is called "rubyapp") http://sn00p.profusehost.net/rubyapp/ I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get an Error. So I looked
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
2006 Jul 02
4
:order in partial
Hi, i was looking through the docs and couldn''t find a good clean solution for ordering a partial with an :order clause. say i was iterating over categories and thier corresponding sub-categories (regular belongs to) and wanted to order the subcategories according to a certain column; <% for category in @categories %> <% render: partial => ''sublist'',
2012 Feb 06
1
Re: S.T.A.L.K.E.R. - Call of Pripyat on Wine 1.1.38
Hello and sorry for necro posting xD this is the only thread I found about stalker. I really want this game to run. I've tried to run it under ubuntu but when I boot it ti makes xengine to crash... I've tried to follow the guide posted but i've got none of the packages from the line #yum install etc... how can I fix it? plz
2010 Apr 03
0
Deployment problem with apache + fastcgi
Hi! I''m from Russia. It''s my first post in this forum. Execuse for my bad language, but i hope you''re help me! I try to deploy rails app on apache + fastcgi hosting. .htaccess file contents: AddHandler fcgid-script .fcgi AddHandler cgi-script .cgi Options +FollowSymLinks +ExecCGI RewriteEngine On RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA]
2016 Aug 05
0
Wine release 1.9.16
The Wine development release 1.9.16 is now available. What's new in this release (see below for details): - Better 64-bit binary compatibility on macOS. - Performance improvements in JavaScript. - More progress towards the Direct3D command stream. - More shader instructions in Direct3D. - Performance improvements in GDI. - Various bug fixes. The source is available from the