# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=581

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 582

---

## [How to start my application with index.html.erb](https://www.ruby-forum.com/t/how-to-start-my-application-with-index-html-erb/192949)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 1\
**Last updated:** [August 9, 2010, 2:53am UTC](https://www.ruby-forum.com/t/how-to-start-my-application-with-index-html-erb/192949 "2010-08-09T02:53:58Z")

</div>

I have removed “index.html” from the “public” folder, and would like to be able to view the index of my index.html.erb of the “projects” views? How can I do that in Rails3.0.0.rc? Thanks.

---

## [Devise issue](https://www.ruby-forum.com/t/devise-issue/192946)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 9\
**Last updated:** [August 9, 2010, 1:20am UTC](https://www.ruby-forum.com/t/devise-issue/192946 "2010-08-09T01:20:19Z")

</div>

I’m following the devise Rails cast here: After I signup, I get the following: http://paste.pocoo.org/show/247793/ Provided that I’m using Rails3.0.0.rc. Any ideas? Thanks.

---

## [No route matches](https://www.ruby-forum.com/t/no-route-matches/192944)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 6\
**Last updated:** [August 9, 2010, 1:04am UTC](https://www.ruby-forum.com/t/no-route-matches/192944 "2010-08-09T01:04:30Z")

</div>

I’m following this tutorial: http://railstutorial.org/chapters/filling-in-the-layout#sec:layout\_links When I try to visit http://localhost:3000/pages/home for example, I get No route matches “/pages/home” What is the…

---

## [Registerable method undefined in Devise migration (was Re: Re: No route matches)](https://www.ruby-forum.com/t/registerable-method-undefined-in-devise-migration-was-re-re-no-route-matches/192950)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 0\
**Last updated:** [August 9, 2010, 12:49am UTC](https://www.ruby-forum.com/t/registerable-method-undefined-in-devise-migration-was-re-re-no-route-matches/192950 "2010-08-09T00:49:52Z")

</div>

On 8 August 2010 23:39, Abder-Rahman A. removed\_email\_address@domain.invalid wrote: undefined method \`registerable’ for Attachments: http://www.ruby-forum.com/attachment/4928/Files.zip It sounds like the ‘registera…

---

## [Newbie install rail on fedora 8](https://www.ruby-forum.com/t/newbie-install-rail-on-fedora-8/192938)

<div class="topic-metadata">

**Author:** [@rogercup](https://www.ruby-forum.com/u/rogercup)\
**Replies:** 5\
**Last updated:** [August 8, 2010, 11:06pm UTC](https://www.ruby-forum.com/t/newbie-install-rail-on-fedora-8/192938 "2010-08-08T23:06:50Z")

</div>

Hi there, I’m a newbie, and would really appreciate if someone could give me a pointer to a solution to rail installation on fedora 8 below. I know Ubuntu is probably a lot easier, but I have a need to get this to w…

---

## [Calling {Ex/Current} ThoughtWorkers to be part of an exciting and emerging global start up](https://www.ruby-forum.com/t/calling-ex-current-thoughtworkers-to-be-part-of-an-exciting-and-emerging-global-start-up/192940)

<div class="topic-metadata">

**Author:** [@iBloom](https://www.ruby-forum.com/u/iBloom)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 9:06pm UTC](https://www.ruby-forum.com/t/calling-ex-current-thoughtworkers-to-be-part-of-an-exciting-and-emerging-global-start-up/192940 "2010-08-08T21:06:15Z")

</div>

iBloom Technologies (www.iBloomTech.com) is an early stage startup founded with the objective of blooming several futuristic technology ideas. We recently launched a global platform HelloExpert.com - that provides ex…

---

## [Help with Redbox](https://www.ruby-forum.com/t/help-with-redbox/192907)

<div class="topic-metadata">

**Author:** [@bumper](https://www.ruby-forum.com/u/bumper)\
**Replies:** 1\
**Last updated:** [August 8, 2010, 8:07pm UTC](https://www.ruby-forum.com/t/help-with-redbox/192907 "2010-08-08T20:07:08Z")

</div>

I have a page with a picture \<%= image\_tag stamp.photo.url(:thumb) %\> I want to simply click on the picture and see a box with a large version of the picture \<%= image\_tag stamp.photo.url(:original)%\> using Redb…

---

## [Why Rails 3 installation is so pane full](https://www.ruby-forum.com/t/why-rails-3-installation-is-so-pane-full/192936)

<div class="topic-metadata">

**Author:** [@shyam\_mohan](https://www.ruby-forum.com/u/shyam_mohan)\
**Replies:** 1\
**Last updated:** [August 8, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/why-rails-3-installation-is-so-pane-full/192936 "2010-08-08T19:22:03Z")

</div>

Hi all Why Rails 3 installation is so pane full…? I am using fedora 10, ruby 1.8.6 rails 2.3.5/2.3.8 Now want to upgrade to rails3 i tried so many links… but nothing find essay… for Rails 3 problem in ruby instal…

---

## [:media](https://www.ruby-forum.com/t/media/192928)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [August 8, 2010, 5:53pm UTC](https://www.ruby-forum.com/t/media/192928 "2010-08-08T17:53:38Z")

</div>

In this tutorial: http://railstutorial.org/chapters/filling-in-the-layout#top \<%= stylesheet\_link\_tag ‘blueprint/screen’, :media =\> ‘screen’ %\> What is :media? What is its purpose? Thanks.

---

## [Some help with a simple Rails problem?](https://www.ruby-forum.com/t/some-help-with-a-simple-rails-problem/192916)

<div class="topic-metadata">

**Author:** [@npenkov](https://www.ruby-forum.com/u/npenkov)\
**Replies:** 4\
**Last updated:** [August 8, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/some-help-with-a-simple-rails-problem/192916 "2010-08-08T17:36:06Z")

</div>

Hi Guys. Im new to Rails, after developing in Java for about the last 4 years, because I want to develop better web based apps and find Ruby would be better for this. Basically im learning as I’m going and what I want…

---

## [Help me](https://www.ruby-forum.com/t/help-me/192925)

<div class="topic-metadata">

**Author:** [@pravin\_mishra](https://www.ruby-forum.com/u/pravin_mishra)\
**Replies:** 1\
**Last updated:** [August 8, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/help-me/192925 "2010-08-08T17:24:58Z")

</div>

i am creating an aplication where table name albums width attributes CREATE TABLE albums ( id int(11) NOT NULL auto\_increment, title varchar(255) NOT NULL default ‘’, artist\_old varchar(255) NOT NULL default ‘’, rel…

---

## [Why am I not getting the expected titles?](https://www.ruby-forum.com/t/why-am-i-not-getting-the-expected-titles/192899)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [August 8, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/why-am-i-not-getting-the-expected-titles/192899 "2010-08-08T17:23:47Z")

</div>

I’m following this tutorial: http://railstutorial.org/chapters/static-pages#sec:red And have passed the tests that confirm that every pages has the relevant title. When I run the application I always get the title ba…

---

## [Authlogic and controllers - plus general advice](https://www.ruby-forum.com/t/authlogic-and-controllers-plus-general-advice/192775)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 13\
**Last updated:** [August 8, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/authlogic-and-controllers-plus-general-advice/192775 "2010-08-08T16:30:26Z")

</div>

I’ve pastied my entire baby names controller - yes it’s me again, the baby names man - getting excited but of course the thing needs to be secured before it’s properly public! Would be really grateful for some help he…

---

## [Is there anything else I can use besides rails?](https://www.ruby-forum.com/t/is-there-anything-else-i-can-use-besides-rails/192897)

<div class="topic-metadata">

**Author:** [@merc](https://www.ruby-forum.com/u/merc)\
**Replies:** 6\
**Last updated:** [August 8, 2010, 4:26pm UTC](https://www.ruby-forum.com/t/is-there-anything-else-i-can-use-besides-rails/192897 "2010-08-08T16:26:26Z")

</div>

Can ruby be on anything else besides rails?

---

## [Semi-static Rails Page](https://www.ruby-forum.com/t/semi-static-rails-page/192817)

<div class="topic-metadata">

**Author:** [@stephenallred](https://www.ruby-forum.com/u/stephenallred)\
**Replies:** 3\
**Last updated:** [August 8, 2010, 3:46pm UTC](https://www.ruby-forum.com/t/semi-static-rails-page/192817 "2010-08-08T15:46:02Z")

</div>

Hi, I’m looking to have a static page with prose (like the Basecamp landing page) on my site and was wondering what was the most Rails way of doing it. I’ve had a couple of ideas: I could do a controller and a view …

---

## [User\[17\]](https://www.ruby-forum.com/t/user-17/192922)

<div class="topic-metadata">

**Author:** [@Third\_Replicator](https://www.ruby-forum.com/u/Third_Replicator)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 3:43pm UTC](https://www.ruby-forum.com/t/user-17/192922 "2010-08-08T15:43:41Z")

</div>

In Rails 2.3.8 if you put this in RAILS\_ROOT/initializers/ active\_record\_extensions.rb module ActiveRecord class Base class \<\< self def find(index) end end end end Then you can access like an array: User\[17\] …

---

## [Group etiquette (was Re: Re: Ruby 1.8.7 and openssl failed compile)](https://www.ruby-forum.com/t/group-etiquette-was-re-re-ruby-1-8-7-and-openssl-failed-compile/192921)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 1\
**Last updated:** [August 8, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/group-etiquette-was-re-re-ruby-1-8-7-and-openssl-failed-compile/192921 "2010-08-08T15:00:58Z")

</div>

On 8 August 2010 13:39, pravin mishra removed\_email\_address@domain.invalid wrote: how i will update my gem of InstantRails-2.0-win\_2 Or complite InstantRails-2.0-win\_2 please help me thanks in adv!!! Pravin, if y…

---

## [Ruby 1.8.7 and openssl failed compile](https://www.ruby-forum.com/t/ruby-1-8-7-and-openssl-failed-compile/192917)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 5\
**Last updated:** [August 8, 2010, 2:41pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-and-openssl-failed-compile/192917 "2010-08-08T14:41:04Z")

</div>

I got this error: ossl\_ssl.c: In function ?ossl\_sslctx\_get\_ciphers?: ossl\_ssl.c:626:19: error: ?STACK? undeclared (first use in this function) ossl\_ssl.c:626:19: note: each undeclared identifier is reported only once…

---

## [Uninitialized constant WillPaginate::LinkRenderer](https://www.ruby-forum.com/t/uninitialized-constant-willpaginate-linkrenderer/191893)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [August 8, 2010, 11:11am UTC](https://www.ruby-forum.com/t/uninitialized-constant-willpaginate-linkrenderer/191893 "2010-08-08T11:11:55Z")

</div>

This is becoming painful. Where the file should be? What should be in it? I am running will\_paginate 3.0.pre Here is my current code sitting in initializers/ class WillPaginateRenderer \< WillPaginate::LinkRenderer de…

---

## [Paperclip save to disk and s3](https://www.ruby-forum.com/t/paperclip-save-to-disk-and-s3/192908)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 2\
**Last updated:** [August 8, 2010, 8:16am UTC](https://www.ruby-forum.com/t/paperclip-save-to-disk-and-s3/192908 "2010-08-08T08:16:13Z")

</div>

I have a standard Paperclip setup that saves a file to my disk. In addition I would also like the file saved to my amazon s3 bucket. after\_save :copy\_to\_s3 def copy\_to\_s3 has\_attached\_file :photo, :storage…

---

## [Performance - jRoR vs JSP - basic response of 30-40 ms on jRoR, 2-4ms on JSP](https://www.ruby-forum.com/t/performance-jror-vs-jsp-basic-response-of-30-40-ms-on-jror-2-4ms-on-jsp/192887)

<div class="topic-metadata">

**Author:** [@dc\_tech](https://www.ruby-forum.com/u/dc_tech)\
**Replies:** 3\
**Last updated:** [August 8, 2010, 6:42am UTC](https://www.ruby-forum.com/t/performance-jror-vs-jsp-basic-response-of-30-40-ms-on-jror-2-4ms-on-jsp/192887 "2010-08-08T06:42:55Z")

</div>

Has anyone done any recent benchmarking on RoR vs. JSP? Our testing on a very simple URL that simply shows the time indicates that RoR (or jRoR to be exact) seems to take 30+ms to return the results. This is contrast …

---

## [Add SSL?](https://www.ruby-forum.com/t/add-ssl/192906)

<div class="topic-metadata">

**Author:** [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Replies:** 0\
**Last updated:** [August 8, 2010, 1:59am UTC](https://www.ruby-forum.com/t/add-ssl/192906 "2010-08-08T01:59:38Z")

</div>

After searching around, it seems like people are still using ssl\_reqquirement plugin for ssl. After looking at the plugin, it seems like it has not been updated for quite some time. I just wanted to make sure there is…

---

## [Calendar hash](https://www.ruby-forum.com/t/calendar-hash/192896)

<div class="topic-metadata">

**Author:** [@landge](https://www.ruby-forum.com/u/landge)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 10:27pm UTC](https://www.ruby-forum.com/t/calendar-hash/192896 "2010-08-07T22:27:15Z")

</div>

Hi! I’m trying to create a nested hash which should hold the dates in my database as a kind of calendar. What I did so far is obviously wrong, because I’m storing the week-number for every day in the week array. I d…

---

## [Error installing ruby-debug-base19 et al](https://www.ruby-forum.com/t/error-installing-ruby-debug-base19-et-al/192890)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 5\
**Last updated:** [August 7, 2010, 10:10pm UTC](https://www.ruby-forum.com/t/error-installing-ruby-debug-base19-et-al/192890 "2010-08-07T22:10:45Z")

</div>

what do i need to get this gem to install? i can’t find the mkmf.log for this? Building native extensions. This could take a while… ERROR: Error installing ruby-debug-base19: ERROR: Failed to build gem native exten…

---

## [Url routing issue - Agile Rails Chapter 6](https://www.ruby-forum.com/t/url-routing-issue-agile-rails-chapter-6/192892)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 3\
**Last updated:** [August 7, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/url-routing-issue-agile-rails-chapter-6/192892 "2010-08-07T21:53:13Z")

</div>

I am walking through the tutorial in Agile web development with rails book 3rd edition. When I try to access the url http://localhost:3000/products I get this error No route matches “/products” with {:method=\>:get} W…

---

## [\[JOB\] Two Ruby Freelancers, NYC location preferred](https://www.ruby-forum.com/t/job-two-ruby-freelancers-nyc-location-preferred/192751)

<div class="topic-metadata">

**Author:** [@ryanoverton](https://www.ruby-forum.com/u/ryanoverton)\
**Replies:** 2\
**Last updated:** [August 7, 2010, 7:42pm UTC](https://www.ruby-forum.com/t/job-two-ruby-freelancers-nyc-location-preferred/192751 "2010-08-07T19:42:05Z")

</div>

Ruby Developer for Readability Project ReadFeed is working on a content aggregation engine with built-in curation algorithm. We are focused on longer-form content rather than RSS specifically, with an older and more s…

---

## [Protected ApplicationController methods not called in Tests?](https://www.ruby-forum.com/t/protected-applicationcontroller-methods-not-called-in-tests/192883)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [August 7, 2010, 6:00pm UTC](https://www.ruby-forum.com/t/protected-applicationcontroller-methods-not-called-in-tests/192883 "2010-08-07T18:00:09Z")

</div>

Hey, I’m currently writing some tests and getting a strange error. My ApplicationController has following protected method: before\_filter :load\_user\_vars def load\_user\_vars @current\_user = current\_user \[other protec…

---

## [Select method save to database](https://www.ruby-forum.com/t/select-method-save-to-database/192861)

<div class="topic-metadata">

**Author:** [@superwick](https://www.ruby-forum.com/u/superwick)\
**Replies:** 4\
**Last updated:** [August 7, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/select-method-save-to-database/192861 "2010-08-07T17:38:00Z")

</div>

Hi, real newbie question. How come this wont save to the database! \<%= select(:to\_time\_unit, 'id', @time.timearray) %\> to\_time\_unit is the column is the database that is to hold the selected time unit. ‘id’ is …

---

## [Shouldn't XXX.all mean no more queries?](https://www.ruby-forum.com/t/shouldnt-xxx-all-mean-no-more-queries/192885)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 7, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/shouldnt-xxx-all-mean-no-more-queries/192885 "2010-08-07T17:30:23Z")

</div>

Hey I thought if I did “Pages.all” in the controller that would load all rows? Since, in my view if I later do “Pages.find(1)” that causes another query… ? I did try doing “@pages = Pages.all” and then querying “@p…

---

## [Restfull links with delete method](https://www.ruby-forum.com/t/restfull-links-with-delete-method/192886)

<div class="topic-metadata">

**Author:** [@Martin\_Pesout](https://www.ruby-forum.com/u/Martin_Pesout)\
**Replies:** 0\
**Last updated:** [August 7, 2010, 5:29pm UTC](https://www.ruby-forum.com/t/restfull-links-with-delete-method/192886 "2010-08-07T17:29:13Z")

</div>

Hi, I have Ruby on Rails application with restfull links. I’m trying to write code with link\_to helper, delete method and confirmation like this: link\_to image\_tag(’/images/cross.png’), cancel\_friend\_path(table\_row.…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=580)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=582)
