[Rails] Re: Cookie Overflow at CSV import

2011-05-20 Thread Saravanan Krishnan
Sebastian, In order to use session store you have to do the following things, To create a migration file: rake db:sessions:create To create session table: * For development mode: rake db:migrate * For production mode: rake db:migrate RAILS_ENV=production Then un-comment the following line

Re: [Rails] Re: ar - rollback on staging/production - whats causing it?

2011-05-20 Thread tom
hi, here are the missing info: Processing FeedbacksController#create (for 78.42.xyz.xyz at 2011-05-20 09:26:51) [POST] Parameters: {commit=Send, authenticity_token=2HzCbBM0J1SfEwIHP/GucR+HPs3fM31ts69llwkQDNc=, feedback={comment=test, subject=Suggestion, email=myem...@gmail.com}, _=} Sent mail

[Rails] no such file to load -- rails/commands/runner (LoadError)

2011-05-20 Thread Tushar Gandhi
Hi, I am using ruby 1.9.2 and rails 3 for my application. I have written a bash script which I want to run in cron. If I directly run the bash file it runs. If I run it through the cron I get the following error:-

[Rails] Re: Cookie Overflow at CSV import

2011-05-20 Thread Sebastian
Saravanan, I am on rails 3. I don't know if it is because of that, but I had to un-comment the line in 'config/initializers/session_store.rb' instead of 'config/environment.rb'. And the line you send me is deprecated (my server told me), so I used this instead:

[Rails] Re: Cookie Overflow at CSV import

2011-05-20 Thread Sebastian
Saravanan, I am on rails 3. I don't know if it is because of that, but I had to un-comment the line in 'config/initializers/session_store.rb' instead of 'config/environment.rb'. And the line you send me is deprecated (my server told me), so I used this instead:

Re: [Rails] Re: Committing files uploaded by the user to GIT?

2011-05-20 Thread Jen
Hi list, Finally got stuff committing to GIT, but not sure what the heck is going on with the 'message' variable, so need to do some reading to refresh my memory of that. I've attached my code in case anyone is interested :P It's probably the biggest cludge in the world, so any suggestions on

Re: [Rails] How to handle non model data in form?

2011-05-20 Thread Chris Mear
On 20 May 2011 05:01, Heinz Strunk li...@ruby-forum.com wrote: I got a form which looks like this: - form_for(@article, :html = {:multipart = true}, :url = articles_path) do |f|  = errors_for(@article)  .field    = f.label :text    %br    = f.text_field :text  .field    = f.label

[Rails] Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param

2011-05-20 Thread Mohnish G j
Hello all, I am trying to implement a feature in my app where a user posts a message along with an image. This is something similar to what is there in `www.diasp.org` . I dealing with a pretty much outdated configuration of Rails 2.0.2 and Ruby 1.8.7 , both running on Ubuntu 10.04 OS for

[Rails] Re: no such file to load -- rails/commands/runner (LoadError)

2011-05-20 Thread Frederick Cheung
On May 20, 10:12 am, Tushar Gandhi li...@ruby-forum.com wrote: Hi, I am using ruby 1.9.2 and rails 3 for my application. I have written a bash script which I want to run in cron. If I directly run the bash file it runs. If I run it through the cron I Cron starts up with a pretty stripped

[Rails] Re: no such file to load -- rails/commands/runner (LoadError)

2011-05-20 Thread Frederick Cheung
On May 20, 1:11 pm, Frederick Cheung frederick.che...@gmail.com wrote: On May 20, 10:12 am, Tushar Gandhi li...@ruby-forum.com wrote: Hi, I am using ruby 1.9.2 and rails 3 for my application. I have written a bash script which I want to run in cron. If I directly run the bash file it

[Rails] views w locale default template

2011-05-20 Thread Erwin
[RAILS3] I hesitate on how handling the locale view templates to default to one language only .. sending admin emails will go only to one locale 'en_GB' should I set it up into the template name and set I18n.locale to 'en_GB' membership_renew.en_GB.html.erb OR whatever locale is used , if

Re: [Rails] 3 Questions about devise

2011-05-20 Thread radhames brito
On Thu, May 19, 2011 at 7:21 PM, egervari ken.egerv...@gmail.com wrote: Hi, I've just gotten started with devise and it's pretty nifty. I just wondered if people could point me in the right direction for finding info about 3 things. 1. How come the login form does not report error messages

Re: [Rails] Re: Phusion Passenger for Intranet?

2011-05-20 Thread radhames brito
I just want to note that passenger does not run on webrick , passenger is an apache/nginx module. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from

Re: [Rails] Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a param

2011-05-20 Thread Bryan Crossland
Sent from my iPhone On May 20, 2011, at 5:32 AM, Mohnish G j li...@ruby-forum.com wrote: Hello all, I am trying to implement a feature in my app where a user posts a message along with an image. This is something similar to what is there in `www.diasp.org` . I dealing with a pretty

Re: [Rails] How to wait for response

2011-05-20 Thread Walter Davis
On May 19, 2011, at 9:14 PM, renu mehta wrote: I am trying to write an application which uses screen scraping. I have to first get a screen and get then scrape that page and using the link to a frame in that page, I have to get that frame and then finally scrape that frame and get some

Re: [Rails] How to wait for response

2011-05-20 Thread Walter Davis
On May 19, 2011, at 9:14 PM, renu mehta wrote: I am trying to write an application which uses screen scraping. I have to first get a screen and get then scrape that page and using the link to a frame in that page, I have to get that frame and then finally scrape that frame and get some

[Rails] Re: Address already in use - bind(2) (Errno::EADDRINUSE)

2011-05-20 Thread amrit pal pathak
On May 18, 5:37 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 18 May 2011, at 11:26, amrit pal pathak wrote: I made a new rails app and when i started the server ,it gave following error message. = Booting Mongrel = Rails 2.3.8 application starting

Re: [Rails] Re: Address already in use - bind(2) (Errno::EADDRINUSE)

2011-05-20 Thread Tom Meinlschmidt
on linux - lsof | grep -i ruby tom On May 20, 2011, at 16:03 , amrit pal pathak wrote: On May 18, 5:37 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 18 May 2011, at 11:26, amrit pal pathak wrote: I made a new rails app and when i started the server ,it gave

[Rails] undefined method `posts_path'

2011-05-20 Thread John shelfer
I tried to generate a form it says undefined method `posts_path' for ##Class:0xb6784798:0xb67817f0 The following code at line number 2 gives the error. %= link_to 'New Post'% %= form_for(@post) do |f| % div class=field %= f.label :name %br / %= f.text_field :name % /div div

Re: [Rails] undefined method `posts_path'

2011-05-20 Thread Walter Davis
On May 20, 2011, at 10:22 AM, John shelfer wrote: I tried to generate a form it says undefined method `posts_path' for ##Class:0xb6784798:0xb67817f0 The following code at line number 2 gives the error. %= link_to 'New Post'% %= form_for(@post) do |f| % div class=field %= f.label :name %br

Re: [Rails] undefined method `posts_path'

2011-05-20 Thread Jatin kumar
Check your routes file for the routes for *post*. If you scaffolded the model, then there should be resources :post in your routes.rb file. If the above is not there, just add the line and you will get the routes for CRUD automatically. On Fri, May 20, 2011 at 2:22 PM, John shelfer

[Rails] Dynamic containers

2011-05-20 Thread Benjamin Mulaosmanovic
Hello all VERY new to ruby on rails here. At one part of my site, a fairly large image is produced. It is sometimes larger than the container that I would like to put it in (which is defined in the layouts). Is it possible to change the style of the container if the image is too large? --

[Rails] textfile upload

2011-05-20 Thread Benjamin Mulaosmanovic
I am having trouble finding things online on how to do a simple file upload. Could you guys give me some advice? Point me in right direction. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] How to implement image upload in rails 3 using mongodb.

2011-05-20 Thread Mohammed Niyas
Hi, Im using mongodb database in my rails 3 app. i tried to implement image upload using carrier wave gem in my applications but i failed. Can anyone explain... Thanks and Regards.. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Validation of XML with XmlSimple

2011-05-20 Thread Pale Horse
My application needs to check whether a file contains valid XML. I'm using XmlSimple to do the parsing work but wondered how best to validate the XML in the file I'm parsing. I'd appreciate your input. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] Div style changes

2011-05-20 Thread Benjamin Mulaosmanovic
Rails is not changing my divs styles. I made a new layout and set a div's style to style=width:2000 but it does not change the width. Any ideas? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

[Rails] Re: Form to handle Array type

2011-05-20 Thread kwiest
Have you tried: serialize :email_addresses, Array before_save :split_email addresses def split_email_addresses email_addresses.split(' ') end Or, just store email addresses in a separate table, and create a has_many relationship. On May 19, 3:27 pm, Alex Katebi alex.kat...@gmail.com wrote: I

[Rails] polymorphic reference deeper ?

2011-05-20 Thread Niklas Nson
I have made myself a small activity model like this = # == Schema Information # Schema version: 20110519174324 # # Table name: activities # # id :integer not null, primary key # account_id :integer # action :string(255) # item_id:integer # item_type :string(255) #

Re: [Rails] Div style changes

2011-05-20 Thread Tom Meinlschmidt
style=width:2000px did you checked with firebug or any other inspector? On May 20, 2011, at 17:31 , Benjamin Mulaosmanovic wrote: Rails is not changing my divs styles. I made a new layout and set a div's style to style=width:2000 but it does not change the width. Any ideas? -- Posted

[Rails] Re: Validation of XML with XmlSimple

2011-05-20 Thread gerbdla
I also need to do validation please advise On May 20, 8:29 am, Pale Horse li...@ruby-forum.com wrote: My application needs to check whether a file contains valid XML. I'm using XmlSimple to do the parsing work but wondered how best to validate the XML in the file I'm parsing. I'd appreciate

Re: [Rails] Validation of XML with XmlSimple

2011-05-20 Thread Tom Meinlschmidt
http://stackoverflow.com/questions/1007454/validation-of-xml-file-against-xsd-in-ruby xmlsimple can't do validations using xsd/dtd etc tom On May 20, 2011, at 17:29 , Pale Horse wrote: My application needs to check whether a file contains valid XML. I'm using XmlSimple to do the parsing work

Re: [Rails] How to deploy Rails app on my laptop

2011-05-20 Thread Colin Law
On 20 May 2011 01:03, Karthikeyan A k li...@ruby-forum.com wrote: Hello People, I have created a tiny Rails app for my personal use. I want to host it on my personal computer (just like PHP can be hosted easily). I use Ubuntu Linux, can any one tell me how to do it? Is there any

[Rails] Re: rails 3 and postgresql scemas

2011-05-20 Thread john martirano
We accomplish this with custom extensions to the PostgreSQLAdapter, Migration, Migrator and other classes. It is not an ideal solution because we have to patch numerous areas including rspec.rake tasks, database_cleaner rake task and we still dont have a full solution that behaves like you

Re: [Rails] Re: ar - rollback on staging/production - whats causing it?

2011-05-20 Thread Colin Law
On 20 May 2011 08:33, tom tomabr...@gmail.com wrote: hi, here are the missing info: Processing FeedbacksController#create (for 78.42.xyz.xyz at 2011-05-20 09:26:51) [POST]  Parameters: {commit=Send, authenticity_token=2HzCbBM0J1SfEwIHP/GucR+HPs3fM31ts69llwkQDNc=, feedback={comment=test,

[Rails] Re: update_attributes updates data from second instance of nested form but not the first

2011-05-20 Thread David Kahn
I have resolved this: The situation was that update_attributes was only working on the second record in a nested form arrangement. To fix this problem I found that if I do this: @matchup = Matchup.includes(:rosters).where(matchups.id =#{params[:id]}).first Rather than @matchup =

[Rails] User action log

2011-05-20 Thread Piter Fcbk
Hi all, I had been searching and reading for user action logging in Rails 3 and didn't came out with something that looks like the way to take for sure. Does anyone know a gem or have any recommendation about the best way to do this? The idea is to log the user, date and time information, the

Re: [Rails] textfile upload

2011-05-20 Thread Jen
Hi, I posted a similar question quite recently, as all the tutorials I found online were incorrect. I have some basic code that works for uploading files, which I have pasted below. It has no error checking of any kind at the moment. Hope it helps, Jen. Model: class DataFile

Re: [Rails] User action log

2011-05-20 Thread Tom Meinlschmidt
you can do it by yourself.. just create before_filter, place into your application controller and store controller_name and action or any other values assume you have some db table with user logging class ApplicationController ActionController::Base before_filter :log_user private def

[Rails] Re: Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a p

2011-05-20 Thread Mohnish G j
Hi Bryan, Thanks for your response.. If I have understood your response properly I am aware about this difference in the name Bryan, I am just making use of two different symbol names.. As per the requirement in the project. To the best of my knowldege, I don't think I am calling a method

Re: [Rails] Re: ar - rollback on staging/production - whats causing it?

2011-05-20 Thread tom
yes and no - im not calling delete 'manually' nor do i have coded it into the create method. to me it seems the rollback is doing this, as far as i can trace back the code. anyhow - thx On Fri, May 20, 2011 at 12:49 PM, Colin Law clan...@googlemail.com wrote: On 20 May 2011 08:33, tom

Re: [Rails] Re: ar - rollback on staging/production - whats causing it?

2011-05-20 Thread Tom Meinlschmidt
hi think the best is to use debugger and see what happening here tom On May 20, 2011, at 19:19 , tom wrote: yes and no - im not calling delete 'manually' nor do i have coded it into the create method. to me it seems the rollback is doing this, as far as i can trace back the code. anyhow -

Re: [Rails] User action log

2011-05-20 Thread Piter Fcbk
Thanks Tom, thats the approach I had in mind but didn't know for sure if there was already something or if it was a good way to go. Will follow your indications. On Fri, May 20, 2011 at 2:15 PM, Tom Meinlschmidt to...@meinlschmidt.comwrote: you can do it by yourself.. just create

[Rails] Re: no such file to load -- rails/commands/runner (LoadError)

2011-05-20 Thread Kendall Gifford
On Friday, May 20, 2011 6:13:16 AM UTC-6, Frederick Cheung wrote: On May 20, 1:11 pm, Frederick Cheung frederic...@gmail.com wrote: On May 20, 10:12 am, Tushar Gandhi li...@ruby-forum.com wrote: Hi, I am using ruby 1.9.2 and rails 3 for my application. I have written a bash

[Rails] Re: mysql server has gone away?

2011-05-20 Thread Ed Murray
The child process can exit using Kernel.exit! to avoid running any at_exit functions. This seems to have fixed the issue for me. I have no at_exit functions I need executed. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

Re: [Rails] Re: Unable to figure out why a photo attribute of the paperclip plugin is not being passed in as a p

2011-05-20 Thread Bryan Crossland
Sent from my iPhone On May 20, 2011, at 12:18 PM, Mohnish G j li...@ruby-forum.com wrote: Hi Bryan, Thanks for your response.. If I have understood your response properly I am aware about this difference in the name Bryan, I am just making use of two different symbol names.. As

[Rails] Re: Upgrading an application to Rails 3

2011-05-20 Thread johnmartirano
Hi Hans - I have recently completed an upgrade of 3 applications (with 2 more to go) with more than a dozen plugins from Rails 2.3.5 to Rails 3.0.6. My process was to do not only upgrade each app but to convert each plugin into a rails engine-gem. I made a Rails3 branch of each of our repo's.

[Rails] Re: How to handle non model data in form?

2011-05-20 Thread ad
Hi, added to article.rb: attr_accessible :author_name You should use attr_accessor instead (not attr_accessible, as You don't have the author_name DB column). -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send

[Rails] Re: views w locale default template

2011-05-20 Thread comopasta Gr
Kad Kerforn wrote in post #999856: [RAILS3] I hesitate on how handling the locale view templates to default to one language only .. sending admin emails will go only to one locale 'en_GB' should I set it up into the template name and set I18n.locale to 'en_GB'

[Rails] Re: Div style changes

2011-05-20 Thread comopasta Gr
Tom Meinlschmidt wrote in post #08: style=width:2000px did you checked with firebug or any other inspector? On May 20, 2011, at 17:31 , Benjamin Mulaosmanovic wrote: To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

[Rails] method calls and blocks and calling proc

2011-05-20 Thread John Merlino
Hey all, I have a question about this line of code: within #main-menu do find(h6, :text = menu).click if menu click_link link end def within(selector, blk) new_blk = proc do begin scope_selectors.push(selector) blk.call ensure scope_selectors.pop end

[Rails] Got mad with encodings again

2011-05-20 Thread comopasta Gr
Hi, I'm in trouble with encoding again. I have a text area. Where I can enter sentences. And when a sentence that contains multiple lines is typed I get this into the DB: (json serialized) --- {\text\:[\line one\\r\\nline two\]} Ok. When I take it from the db I see it like this in the

[Rails] Duplicate RoR applications?

2011-05-20 Thread Mohamed L.
Hi, I have a simple question for when ruby on rails, say I want to create two apps and I am currently working on one but essentially the other app will need exactly the same things up to this stage can I just duplicate the folder which contains all the files and use it again? Thanks in advance

Re: [Rails] Got mad with encodings again

2011-05-20 Thread Rob Biedenharn
On May 20, 2011, at 4:44 PM, comopasta Gr wrote: Hi, I'm in trouble with encoding again. I have a text area. Where I can enter sentences. And when a sentence that contains multiple lines is typed I get this into the DB: (json serialized) --- {\text\:[\line one\\r\\nline two\]} Ok. When I

Re: [Rails] An idea for new syntactic sugar in Ruby

2011-05-20 Thread Curtis j Schofield
if notice = response_status_and_flash.delete(:notice) flash[:notice] = notice end This is a common C idiom. The best solution is to always write your == with the constant on the LEFT instead of the right. :D -- make haste slowly \ festina lente \ - mobile +1_415_632_6001

[Rails] Re: method calls and blocks and calling proc

2011-05-20 Thread Kendall Gifford
On Friday, May 20, 2011 2:18:50 PM UTC-6, Ruby-Forum.com User wrote: Hey all, I have a question about this line of code: within #main-menu do find(h6, :text = menu).click if menu click_link link end def within(selector, blk) new_blk = proc do begin

[Rails] Re: Duplicate RoR applications?

2011-05-20 Thread Mohamed L.
Thanks alot -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

Re: [Rails] An idea for new syntactic sugar in Ruby

2011-05-20 Thread Rob Biedenharn
On May 20, 2011, at 5:05 PM, Curtis j Schofield wrote: if notice = response_status_and_flash.delete(:notice) flash[:notice] = notice end This is a common C idiom. The best solution is to always write your == with the constant on the LEFT instead of the right. :D -- make haste slowly

[Rails] Re: Div style changes

2011-05-20 Thread Benjamin Mulaosmanovic
Thanks guys -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

Re: [Rails] An idea for new syntactic sugar in Ruby

2011-05-20 Thread David Kahn
On Fri, May 20, 2011 at 4:23 PM, Rob Biedenharn r...@agileconsultingllc.comwrote: On May 20, 2011, at 5:05 PM, Curtis j Schofield wrote: if notice = response_status_and_flash.delete(:notice) flash[:notice] = notice end This is a common C idiom. The best solution is to always write

[Rails] Re: Got mad with encodings again

2011-05-20 Thread comopasta Gr
From this week's JavaScript Weekly newsletter: JSON: The JavaScript subset that isn't? Magnus Holm notes that while JSON is meant to also be syntactically legal JavaScript code.. it isn't always. What has Magnus discovered? Find out here.

[Rails] delayed_job - Undefined method error even with Mongrel

2011-05-20 Thread Taylor Strait
Any delayed_job gurus out there? This is a known issue on the wiki as described at the bottom here: https://github.com/collectiveidea/delayed_job/wiki/Common-problems However, even when running Mongrel (on Rails 3.0.3, ruby 1.9.2, Win7) after replacing Webrick) I am still getting this issue. My

[Rails] Escaping characters in links

2011-05-20 Thread tashfeen.ekram
I have the below link I am generating and type.name returns some strings with a forward slash (/). This of course messes up routing. I would like to escape it to %2F however I am unclear on how to do that. %= link_to type.name, types_path(CGI::escape(type.name)) % If I do the below. it gives a

Re: [Rails] Re: Got mad with encodings again

2011-05-20 Thread Rob Biedenharn
On May 20, 2011, at 6:19 PM, comopasta Gr wrote: From this week's JavaScript Weekly newsletter: JSON: The JavaScript subset that isn't? Magnus Holm notes that while JSON is meant to also be syntactically legal JavaScript code.. it isn't always. What has Magnus discovered? Find out here.

[Rails] Re: Re: Got mad with encodings again

2011-05-20 Thread comopasta Gr
But there two other characters and you have BOTH of those: The following characters are consider to be line terminators: \u000A - Line Feed \u000D - Carriage Return \u2028 - Line separator \u2029 - Paragraph separator Line feed, aka, \n Carriage return, aka, \r You might

[Rails] Rails DB defaults to utf8 for mysql -- but unicode for postgresql

2011-05-20 Thread comopasta Gr
Hi, Creating a new Rails application with -d postgresql sets the encoding in the database.yml to unicode Creating a new Rails with -d mysql sets the encoding to utf8 Any ideas why this difference? I've been having problems with encoding due to localization, accents, json and what no. I thought

[Rails] Re: How to implement image upload in rails 3 using mongodb.

2011-05-20 Thread Alexey Petrushin
Not quite clear, what ruby gem do You use? MongoMaper, MongoID, other? I'm using MongoMapper, and it works, here's my integration of MongoMapper + CarrierWave (it also works with Paperclip, I used it in past but don't like and rewrote with CarrierWave)

[Rails] simple home_url question

2011-05-20 Thread Taylor Strait
A silly as this sounds, I'm not sure how to set the route for the home_path and home_url helpers. Google has nothing on this. Where do I define what those paths should resolve to? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

Re: [Rails] simple home_url question

2011-05-20 Thread Alex Katebi
Read the comments in the config/route.rb file. On Fri, May 20, 2011 at 10:06 PM, Taylor Strait li...@ruby-forum.com wrote: A silly as this sounds, I'm not sure how to set the route for the home_path and home_url helpers. Google has nothing on this. Where do I define what those paths should

[Rails] Re: Translate (internationalize) entire pages - best practice?

2011-05-20 Thread Alexey Petrushin
I just recently has to solve problem with multilingual site support and wrote a short article that describes two approaches: store multiple versions of content in the model and have one site vs. store only one version of content in the model but have multiple sites

[Rails] Re: undefined method `posts_path'

2011-05-20 Thread John shelfer
Please run rake routes and post that here rake routes shows posts_index GET /posts/index(.:format) {:action=index, :controller=posts} What does your routes.rb look like? router.rb file looks like: Check::Application.routes.draw do get posts/index # The priority is based upon order of

[Rails] Re: 3 Questions about devise

2011-05-20 Thread egervari
Thank you very much for the reply Radhames Britto I immediately tried your first 2 suggestions and they worked out great. My suggestion for the #2 problem is to put this in the top- level documentation on the github page (if you have the authority to do that... or know the author and can tell him

[Rails] Re: simple home_url question

2011-05-20 Thread Taylor Strait
As of Rails 3.0.3, there are no comments in routes.rb that relate to the creation of home_url and home_path. There is a mention of root: # You can have the root of your site routed with root # just remember to delete public/index.html. # root :to = welcome#index but that it all. I just