# Rails

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

[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:** 1526

---

## [The Content-Type problem](https://www.ruby-forum.com/t/the-content-type-problem/126813)

<div class="topic-metadata">

**Author:** [@MohsinHijazee](https://www.ruby-forum.com/u/MohsinHijazee)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 2:24pm UTC](https://www.ruby-forum.com/t/the-content-type-problem/126813 "2008-01-22T14:24:40Z")

</div>

Hello! I have a rails 1.2 application which I recently ported to Rails 2.02. I added a mapping in the routes.rb file like this: map.resources :accounts Next, I implemented the respond\_to do |format| format.html {re…

---

## [Calling a function](https://www.ruby-forum.com/t/calling-a-function/126785)

<div class="topic-metadata">

**Author:** [@Aaaarg](https://www.ruby-forum.com/u/Aaaarg)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/calling-a-function/126785 "2008-01-22T14:23:27Z")

</div>

Hi. I’m trying to call the function ‘store\_description(image)’ at line 9. However when I do, I get the error “undefined method ‘store\_description’ for Photo:Class”. What can I do? 1: class Photo \< ActiveRecord::Base …

---

## [Can living things be created from dead and nonliving things?](https://www.ruby-forum.com/t/can-living-things-be-created-from-dead-and-nonliving-things/126810)

<div class="topic-metadata">

**Author:** [@METIN\_GUNGORMUS](https://www.ruby-forum.com/u/METIN_GUNGORMUS)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/can-living-things-be-created-from-dead-and-nonliving-things/126810 "2008-01-22T14:15:15Z")

</div>

http://themoonlight.blogcu.com/5929751/Can living things be created from dead and nonliving things? \*\* \*Dr Metin GUNGORMUS \* \* \*\* \*\* Atoms and molecules are not alive, and organelles are also not alive, but …

---

## [Problem deploying Rails 2.0.2 app in Tomcat](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-in-tomcat/126811)

<div class="topic-metadata">

**Author:** [@bharathchunchu](https://www.ruby-forum.com/u/bharathchunchu)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 1:57pm UTC](https://www.ruby-forum.com/t/problem-deploying-rails-2-0-2-app-in-tomcat/126811 "2008-01-22T13:57:56Z")

</div>

Hi, I am trying to run rails application in Tomcat.While running I am getting fallowing exception. I am using JRuby-1.0.3 version. Jan 22, 2008 4:15:26 PM org.apache.catalina.core.ApplicationContext log INFO: Faile…

---

## [Earning for reading SMS](https://www.ruby-forum.com/t/earning-for-reading-sms/126809)

<div class="topic-metadata">

**Author:** [@Priyabrata\_Patra](https://www.ruby-forum.com/u/Priyabrata_Patra)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/earning-for-reading-sms/126809 "2008-01-22T13:51:44Z")

</div>

Hello, I found few genuine sites for earning through your mobile. http://www.sms2india.co.in/?user=patrapb http://www.youmint.com/network-patrapb mginger.com - This website is for sale! - mginger Resources and …

---

## [Beginning\_of\_month](https://www.ruby-forum.com/t/beginning-of-month/126798)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/beginning-of-month/126798 "2008-01-22T13:05:35Z")

</div>

I trying to sort my posts by month at the way railscasts tells http://media.railscasts.com/videos/029\_group\_by.mov I only got the undefinded method error that beginning\_at\_month doesn’t exists undefined method \`begin…

---

## [Autocomplete with Multiple Item Update](https://www.ruby-forum.com/t/autocomplete-with-multiple-item-update/126804)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 12:59pm UTC](https://www.ruby-forum.com/t/autocomplete-with-multiple-item-update/126804 "2008-01-22T12:59:43Z")

</div>

Is there any beter way to do this: http://www.dalemartenson.com/blog/?p=24

---

## [Relations problem](https://www.ruby-forum.com/t/relations-problem/126698)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 12:19pm UTC](https://www.ruby-forum.com/t/relations-problem/126698 "2008-01-22T12:19:14Z")

</div>

I’m using Restful Authentication (which I hope some of you know), so I’m using that Users-table as my main table. Now, I’ve added a table called ‘Presentations’. I’ve also added a presentation\_id in my Users-table so …

---

## [Using same validation-set in more than one class](https://www.ruby-forum.com/t/using-same-validation-set-in-more-than-one-class/126796)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 11:28am UTC](https://www.ruby-forum.com/t/using-same-validation-set-in-more-than-one-class/126796 "2008-01-22T11:28:18Z")

</div>

hello, lets describe my situation: i have two classes which have a lot same validations defined … to stay DRY i want to put them in one place and use it within both ActiveRecord classes. i think subclassing is not …

---

## [Two links with one action](https://www.ruby-forum.com/t/two-links-with-one-action/126786)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 7\
**Last updated:** [January 22, 2008, 11:17am UTC](https://www.ruby-forum.com/t/two-links-with-one-action/126786 "2008-01-22T11:17:37Z")

</div>

Hi, How do I have two links that does the same action, save, and redirects to different pages when different links are clicked. I am now using \<%= link\_to\_function ‘Previous’, “$(‘form\_id’).submit()” -%\> Example: Wh…

---

## [What is the right way to install](https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790)

<div class="topic-metadata">

**Author:** [@roland\_br](https://www.ruby-forum.com/u/roland_br)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 10:33am UTC](https://www.ruby-forum.com/t/what-is-the-right-way-to-install/126790 "2008-01-22T10:33:06Z")

</div>

I am using FED 2.6.11-1.14\_FC3 If I manually download ruby and install it it places it at /usr/local/lib (When I use yum it installs it at /usr/lib, which gets an error because of, I think, the PATH) When I continue…

---

## [I and my BDSM Webcam](https://www.ruby-forum.com/t/i-and-my-bdsm-webcam/126793)

<div class="topic-metadata">

**Author:** [@brock](https://www.ruby-forum.com/u/brock)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 9:22am UTC](https://www.ruby-forum.com/t/i-and-my-bdsm-webcam/126793 "2008-01-22T09:22:35Z")

</div>

I and my BDSM Webcam http://golddating.servik.com/bdsm/map.html

---

## [Daemon\_generator](https://www.ruby-forum.com/t/daemon-generator/126764)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 9:14am UTC](https://www.ruby-forum.com/t/daemon-generator/126764 "2008-01-22T09:14:14Z")

</div>

Does anyone has the daemon\_generator as an archive? The plugin svn does not work and I don’t know how to contact the author. Thanks in advance!

---

## [Does any one have the SVN check out acts\_as\_solr plugin?](https://www.ruby-forum.com/t/does-any-one-have-the-svn-check-out-acts-as-solr-plugin/126792)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 8:33am UTC](https://www.ruby-forum.com/t/does-any-one-have-the-svn-check-out-acts-as-solr-plugin/126792 "2008-01-22T08:33:43Z")

</div>

Hi all if some one have the SVN check out acts\_as\_solr plugin form any where (i tried many links to get the plugin an failed. for last 2 day i was stuck in this . :frowning: :frowning: ) or if u guys can find a workin…

---

## [What to do when your host doesn't have rails 2.0 yet](https://www.ruby-forum.com/t/what-to-do-when-your-host-doesnt-have-rails-2-0-yet/124813)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 15\
**Last updated:** [January 22, 2008, 8:13am UTC](https://www.ruby-forum.com/t/what-to-do-when-your-host-doesnt-have-rails-2-0-yet/124813 "2008-01-22T08:13:46Z")

</div>

I’m working on my first rails application, and I’d like to just go ahead and do it in rails 2.0. My hosting provider (bluehost) has rails 1.2.6 installed right now though, and hasn’t upgraded yet. Can I develop on my…

---

## [How to Compare Entries](https://www.ruby-forum.com/t/how-to-compare-entries/126761)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 7:48am UTC](https://www.ruby-forum.com/t/how-to-compare-entries/126761 "2008-01-22T07:48:27Z")

</div>

Hi, I am trying to compare entries that are in two different db tables… I am not sure how to do this. I have two models set up for the two tables BES and Import. Each table contains a column that holds a telephone n…

---

## [ExtJS Exception - Effect.Morph is not a construction](https://www.ruby-forum.com/t/extjs-exception-effect-morph-is-not-a-construction/126787)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 7:37am UTC](https://www.ruby-forum.com/t/extjs-exception-effect-morph-is-not-a-construction/126787 "2008-01-22T07:37:36Z")

</div>

Hi, I am using ExtJS in my application. I am getting the following javascript error. “Effect.Morph is not a constructor” The application was working well yesterday. But today I am getting this error. I didn’t change…

---

## [About HowToExportToExcel](https://www.ruby-forum.com/t/about-howtoexporttoexcel/126679)

<div class="topic-metadata">

**Author:** [@flyingzumwalt](https://www.ruby-forum.com/u/flyingzumwalt)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 7:33am UTC](https://www.ruby-forum.com/t/about-howtoexporttoexcel/126679 "2008-01-22T07:33:29Z")

</div>

Hi, Are there any more documents or examples about export xml-excel files? eg. how can i export a date format cell? xml.Data column.human\_name, ‘ss:Type’ =\> ‘String’ Are there any other "Type"s? Any tutorials or doc…

---

## [Rails app cannot connect to Ferret server](https://www.ruby-forum.com/t/rails-app-cannot-connect-to-ferret-server/126750)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 7:20am UTC](https://www.ruby-forum.com/t/rails-app-cannot-connect-to-ferret-server/126750 "2008-01-22T07:20:45Z")

</div>

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.n…

---

## [Routes.rb error - messes up view - rails 2.0](https://www.ruby-forum.com/t/routes-rb-error-messes-up-view-rails-2-0/125876)

<div class="topic-metadata">

**Author:** [@harpoon45](https://www.ruby-forum.com/u/harpoon45)\
**Replies:** 1\
**Last updated:** [January 22, 2008, 7:12am UTC](https://www.ruby-forum.com/t/routes-rb-error-messes-up-view-rails-2-0/125876 "2008-01-22T07:12:19Z")

</div>

I have a simple RoR project where I have a table (Story) with stories and links. I added a 3rd param in another table (permalink) and linked it. Now I want to access the records from Story using the permalink In the …

---

## [\[ANN\] Vancouver RubyCamp2008 (Jan/26) - Last Call for Speakers - Upcoming Talk Highlights](https://www.ruby-forum.com/t/ann-vancouver-rubycamp2008-jan-26-last-call-for-speakers-upcoming-talk-highlights/126782)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 5:54am UTC](https://www.ruby-forum.com/t/ann-vancouver-rubycamp2008-jan-26-last-call-for-speakers-upcoming-talk-highlights/126782 "2008-01-22T05:54:01Z")

</div>

Hello, Just a reminder that we still accept talks for Vancouver’s 1st RubyCamp 20008 - a one-day (Un)conference from 9 to 5 - this Saturday, January 26th in British Columbia in Canada. Let us know as soon as possible…

---

## [RoR equivalent of Ant's build.properties?](https://www.ruby-forum.com/t/ror-equivalent-of-ants-build-properties/126710)

<div class="topic-metadata">

**Author:** [@Hassan\_S](https://www.ruby-forum.com/u/Hassan_S)\
**Replies:** 8\
**Last updated:** [January 22, 2008, 5:50am UTC](https://www.ruby-forum.com/t/ror-equivalent-of-ants-build-properties/126710 "2008-01-22T05:50:30Z")

</div>

Or to phrase it another way: While developing in a distributed (multi-developer) environment, how do you keep settings local to your own system out of the svn repository? e.g, in config/environment.rb, you want to ha…

---

## [Logger ouput not working when other servers running](https://www.ruby-forum.com/t/logger-ouput-not-working-when-other-servers-running/126781)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 5:47am UTC](https://www.ruby-forum.com/t/logger-ouput-not-working-when-other-servers-running/126781 "2008-01-22T05:47:04Z")

</div>

Whenever I start script/console first, and then follow by script/server, I can’t see script/server output anymore. I have a command that does logger.debug() and I cant see it when there is another ruby process that st…

---

## [Wher i can get the acts\_as\_solr plugin.?](https://www.ruby-forum.com/t/wher-i-can-get-the-acts-as-solr-plugin/126306)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 5:24am UTC](https://www.ruby-forum.com/t/wher-i-can-get-the-acts-as-solr-plugin/126306 "2008-01-22T05:24:23Z")

</div>

hi Can some one help me to download the acts\_as\_solr plugin. i tried to get from the following repositories. but i could not get it they gave connection time out errors. script/plugin install svn://svn.railsfreaks.c…

---

## [Undefined method error](https://www.ruby-forum.com/t/undefined-method-error/126752)

<div class="topic-metadata">

**Author:** [@stranger](https://www.ruby-forum.com/u/stranger)\
**Replies:** 7\
**Last updated:** [January 22, 2008, 5:21am UTC](https://www.ruby-forum.com/t/undefined-method-error/126752 "2008-01-22T05:21:53Z")

</div>

Hello everyone, I am following the Practical Rails: Social Networking sites book. In chapter 7 photo gallery I am getting a NoMethodError in Pages#show Showing layouts/\_menu.rhtml where line #12 raised: un…

---

## [DRY act\_as\_authenticated functional testing](https://www.ruby-forum.com/t/dry-act-as-authenticated-functional-testing/126743)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 9\
**Last updated:** [January 22, 2008, 3:43am UTC](https://www.ruby-forum.com/t/dry-act-as-authenticated-functional-testing/126743 "2008-01-22T03:43:29Z")

</div>

I’m using the acts\_as\_authenticated plug-in for my app. Now I need to get my functional tests to work properly. I have not written functional tests before so I’m unsure how to utilize setup so that all of my tests c…

---

## [Caching CSS Issue](https://www.ruby-forum.com/t/caching-css-issue/126747)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 3:29am UTC](https://www.ruby-forum.com/t/caching-css-issue/126747 "2008-01-22T03:29:36Z")

</div>

I have a problem I was hoping someone could shed some light on. I noticed that with every request to my server, the css file was being requested. I went ahead and made a static link to the css file so there is no qu…

---

## [Multiple form\_tag on page](https://www.ruby-forum.com/t/multiple-form-tag-on-page/126765)

<div class="topic-metadata">

**Author:** [@toshach](https://www.ruby-forum.com/u/toshach)\
**Replies:** 3\
**Last updated:** [January 22, 2008, 3:28am UTC](https://www.ruby-forum.com/t/multiple-form-tag-on-page/126765 "2008-01-22T03:28:26Z")

</div>

Hi… new to the whole Rails thing so this may sound aweful strange but I cannot find any documentation supporting or correcting what I am trying to do… I would like to have 2 separate form\_tag’s displayed on a single …

---

## [How much host do I need?](https://www.ruby-forum.com/t/how-much-host-do-i-need/126774)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 3:06am UTC](https://www.ruby-forum.com/t/how-much-host-do-i-need/126774 "2008-01-22T03:06:14Z")

</div>

I’m thinking of running a smallish shopping cart app in rails on slicehost… For the $20/month plan, they give you 256MB ram, 10GB storage, and 100GB of bandwidth. What I’m wondering is… How healthy of a server would…

---

## [Fastercsv date problem](https://www.ruby-forum.com/t/fastercsv-date-problem/126773)

<div class="topic-metadata">

**Author:** [@jojobert](https://www.ruby-forum.com/u/jojobert)\
**Replies:** 0\
**Last updated:** [January 22, 2008, 2:59am UTC](https://www.ruby-forum.com/t/fastercsv-date-problem/126773 "2008-01-22T02:59:58Z")

</div>

this is my controller: class ExportController \< ApplicationController example action to return the contents of a table in CSV format def curriculumplans programmes = Programme.find(:all) degrees = Degree.find(:all) …

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

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