# Rails

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

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

---

## [Upload PDF / Save as tiff](https://www.ruby-forum.com/t/upload-pdf-save-as-tiff/92926)

<div class="topic-metadata">

**Author:** [@DuzenburyS\_Rich](https://www.ruby-forum.com/u/DuzenburyS_Rich)\
**Replies:** 5\
**Last updated:** [April 26, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/upload-pdf-save-as-tiff/92926 "2007-04-26T20:26:24Z")

</div>

Hi, I’m trying to automate the conversion of a PDF document received via a browser upload to a tiff image via ghostscript. I have the PDF data in a string, and I need the tiff data returned into a string. The genera…

---

## [Extending model in plugin from another plugin](https://www.ruby-forum.com/t/extending-model-in-plugin-from-another-plugin/93036)

<div class="topic-metadata">

**Author:** [@felix](https://www.ruby-forum.com/u/felix)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/extending-model-in-plugin-from-another-plugin/93036 "2007-04-26T20:08:17Z")

</div>

I have written one plugin which defines some models. I have a number of other plugins that depend on the first plugin I would like to have the later plugins extend the model in the first by adding ‘has\_many’ associati…

---

## [Help with Adult Oriented Rails Site](https://www.ruby-forum.com/t/help-with-adult-oriented-rails-site/93025)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/help-with-adult-oriented-rails-site/93025 "2007-04-26T19:37:22Z")

</div>

I’m looking for a couple Rails developers who might be interested in helping out with the development of an Adult oriented website. If this type of website offends you, please ignore this message. If you do have int…

---

## [RMagick and ugly error](https://www.ruby-forum.com/t/rmagick-and-ugly-error/93000)

<div class="topic-metadata">

**Author:** [@flip](https://www.ruby-forum.com/u/flip)\
**Replies:** 4\
**Last updated:** [April 26, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/rmagick-and-ugly-error/93000 "2007-04-26T19:24:55Z")

</div>

Not sure if this is the right place to ask this but I know allot of you are using either scruffy or gruff to generate graphs. I am running on a macbook pro with macports of ruby 1.8.5 rails edge imagemagick rmagick an…

---

## [How to output text from embbeded ruby (in views)](https://www.ruby-forum.com/t/how-to-output-text-from-embbeded-ruby-in-views/92996)

<div class="topic-metadata">

**Author:** [@ehudros](https://www.ruby-forum.com/u/ehudros)\
**Replies:** 5\
**Last updated:** [April 26, 2007, 7:12pm UTC](https://www.ruby-forum.com/t/how-to-output-text-from-embbeded-ruby-in-views/92996 "2007-04-26T19:12:19Z")

</div>

This is a pretty simple question I can’t find the answer to… Obviously \<%= %\> directs the output of all the commands inside the block to the html file being generated. that works fine with rails helpers and variables,…

---

## [File Upload Problems](https://www.ruby-forum.com/t/file-upload-problems/92960)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/file-upload-problems/92960 "2007-04-26T18:38:08Z")

</div>

I am obviously doing something wrong when implementing the rubyonrials wiki code for uploading a file. I don’t seem to be getting the actual file object included with the form, as it complains about trying to call rea…

---

## [String#split works w/ Regexp in IRB, not in rails](https://www.ruby-forum.com/t/string-split-works-w-regexp-in-irb-not-in-rails/92765)

<div class="topic-metadata">

**Author:** [@studbucket](https://www.ruby-forum.com/u/studbucket)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/string-split-works-w-regexp-in-irb-not-in-rails/92765 "2007-04-26T18:20:15Z")

</div>

I’m trying to take a string in the format “word\[field\] and word2\[field2\]…”, etc. I have gotten this to work when splitting it in IRB using the following syntax: tempstring.split(/\[|\]/) which returns: \[“word”, “fiel…

---

## [ActionController::Base's session attribute](https://www.ruby-forum.com/t/actioncontroller-bases-session-attribute/93021)

<div class="topic-metadata">

**Author:** [@alpagas](https://www.ruby-forum.com/u/alpagas)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/actioncontroller-bases-session-attribute/93021 "2007-04-26T18:19:05Z")

</div>

Hi there, I’m working on a subclass of ActionController::Base which is implemented as a plugin. I need to store data in the superclass ‘session’ attribute, just as I would normally do in a regular controller. For s…

---

## [Looking for a ruby on rails programmer to create website](https://www.ruby-forum.com/t/looking-for-a-ruby-on-rails-programmer-to-create-website/93024)

<div class="topic-metadata">

**Author:** [@jweber789](https://www.ruby-forum.com/u/jweber789)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/looking-for-a-ruby-on-rails-programmer-to-create-website/93024 "2007-04-26T18:11:04Z")

</div>

I am looking for a ruby on rails expert to create my dating website. The website I will be creating has the same functionality as 8minutedating.com. The front, back end and administrative side will be fully developed…

---

## [Getting an index of an element rendered in partial](https://www.ruby-forum.com/t/getting-an-index-of-an-element-rendered-in-partial/92929)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/getting-an-index-of-an-element-rendered-in-partial/92929 "2007-04-26T18:07:23Z")

</div>

Hi! I’ve got a sorted array of elements. I render the whole array in one place, but also the three first elements in another using the following command: “render :partial =\> ‘partial’, :collection =\> @first\_elements” …

---

## [Accessing gems from /home dir](https://www.ruby-forum.com/t/accessing-gems-from-home-dir/93019)

<div class="topic-metadata">

**Author:** [@jzakiya](https://www.ruby-forum.com/u/jzakiya)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/accessing-gems-from-home-dir/93019 "2007-04-26T17:58:02Z")

</div>

I’m running Linux on a Toshiba Satellite laptop. In my home dir I have Ruby 1.8.6. In my root dir I have Ruby 1.8.4 which was installed from my distro’s repositories (PCLinuxOS). All the gems I’ve loaded run under ro…

---

## [Script/runner + cron job = sad rmagick](https://www.ruby-forum.com/t/script-runner-cron-job-sad-rmagick/85500)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/script-runner-cron-job-sad-rmagick/85500 "2007-04-26T17:49:12Z")

</div>

Hi, I’m running a cron job to parse some RSS feeds. When running the following from the terminal everything works as expected: antrover:~/Sway/Projects/mi7/trunk/mi7 dave$ script/runner -e development " GetRssData.…

---

## [Select tag helper and option values with html entities prob](https://www.ruby-forum.com/t/select-tag-helper-and-option-values-with-html-entities-prob/93013)

<div class="topic-metadata">

**Author:** [@rossnet](https://www.ruby-forum.com/u/rossnet)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 5:12pm UTC](https://www.ruby-forum.com/t/select-tag-helper-and-option-values-with-html-entities-prob/93013 "2007-04-26T17:12:16Z")

</div>

Hi fellow Rails developers, I am using option tags with a select form helper. One option values is containing a special character quoted as html-entity ( ä ). When I provide the option tags to the select tag helper th…

---

## [UI tool with Ror](https://www.ruby-forum.com/t/ui-tool-with-ror/91654)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/ui-tool-with-ror/91654 "2007-04-26T16:55:50Z")

</div>

Hi, Is there any tool for UI that RoR faternity suggests? Any open source tool that we can use it with Rails nicely? Or do i need to use dreamweaver, golive for UI? Regards, Sandeep G

---

## [CSV installing problem](https://www.ruby-forum.com/t/csv-installing-problem/92988)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/csv-installing-problem/92988 "2007-04-26T16:53:48Z")

</div>

hi, i want to install the CSV writer, but i don’t know how to install, i got plugins also. but in command prompt i don’t know how to run, can anyone help me to do this, please

---

## [Many-to-many help](https://www.ruby-forum.com/t/many-to-many-help/93012)

<div class="topic-metadata">

**Author:** [@shinkaku](https://www.ruby-forum.com/u/shinkaku)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/many-to-many-help/93012 "2007-04-26T16:43:46Z")

</div>

I’m working on a basic friendster type website. I’m trying to figure out a way to store message between members. I have a user table and a message table. I can’t just use the ‘user\_id’ attribute in the message table …

---

## [Error messages without a model](https://www.ruby-forum.com/t/error-messages-without-a-model/92972)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/error-messages-without-a-model/92972 "2007-04-26T14:04:23Z")

</div>

Is there an easy way to create error messages and display them in the view without using a model from ActiveRecord. I just quickly added a temporary new field to a form that I have no desire to store in the db and wil…

---

## [Selecting a model](https://www.ruby-forum.com/t/selecting-a-model/92980)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/selecting-a-model/92980 "2007-04-26T14:04:23Z")

</div>

I have three models: Language, Country and City. A country has a Language and a language belongs to many countries. A country has many cities and a city belongs to a country. When I use Active(Scaffold) and I want to…

---

## [Tests: Can't use items(:fixture\_name) in setup method!](https://www.ruby-forum.com/t/tests-cant-use-items-fixture-name-in-setup-method/92993)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 1:29pm UTC](https://www.ruby-forum.com/t/tests-cant-use-items-fixture-name-in-setup-method/92993 "2007-04-26T13:29:43Z")

</div>

Hi all I don’t know what happened, but since some time I can’t run my tests anymore because I’m getting the following error: chraftbuech:~/Webwork/pgbookings josh$ ruby test/functional/admin/music\_labels\_ controller…

---

## [Sorting Question](https://www.ruby-forum.com/t/sorting-question/92995)

<div class="topic-metadata">

**Author:** [@mick](https://www.ruby-forum.com/u/mick)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/sorting-question/92995 "2007-04-26T13:18:51Z")

</div>

Hello I would like to have a structure, with each item in the structure consisting of an id, and a count value. I would then like to sort the structure based on the count value descending. Does anyone know of any way…

---

## [Best way to handly a few static pages in a Rails app?](https://www.ruby-forum.com/t/best-way-to-handly-a-few-static-pages-in-a-rails-app/92994)

<div class="topic-metadata">

**Author:** [@ralph](https://www.ruby-forum.com/u/ralph)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 12:31pm UTC](https://www.ruby-forum.com/t/best-way-to-handly-a-few-static-pages-in-a-rails-app/92994 "2007-04-26T12:31:53Z")

</div>

Hello, this happens to me quite often: I have to write an application that is centered around some core funtionality. In addition to this, the application does need to handle about 5 to 10 static pages with general i…

---

## [Paginate causes unitialized constant error](https://www.ruby-forum.com/t/paginate-causes-unitialized-constant-error/92963)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 11:39am UTC](https://www.ruby-forum.com/t/paginate-causes-unitialized-constant-error/92963 "2007-04-26T11:39:11Z")

</div>

Earlier this week, I posted a question about scaffold causing an unitialized constant. As no one seemed to have any information, I started coding without the scaffolding. I’m now getting the error again. In my control…

---

## [Http://manuals.rubyonrails.com/](https://www.ruby-forum.com/t/http-manuals-rubyonrails-com/92989)

<div class="topic-metadata">

**Author:** [@pdifeo](https://www.ruby-forum.com/u/pdifeo)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 11:19am UTC](https://www.ruby-forum.com/t/http-manuals-rubyonrails-com/92989 "2007-04-26T11:19:29Z")

</div>

The http://manuals.rubyonrails.com/ is not working. There are anyone that know why ? Regards Pasquale Di Feo

---

## [Convert data as CSV problem](https://www.ruby-forum.com/t/convert-data-as-csv-problem/92894)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 9\
**Last updated:** [April 26, 2007, 10:40am UTC](https://www.ruby-forum.com/t/convert-data-as-csv-problem/92894 "2007-04-26T10:40:41Z")

</div>

hi all, I want to convert my data as CSV file. just i used simple coding, i didn’t use fastercsv, because i installed in my system, but i couldn’t see where it install, if i run also , it said there is no fastercsv f…

---

## [Apache + fastcgi and rails in vendor](https://www.ruby-forum.com/t/apache-fastcgi-and-rails-in-vendor/92983)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 1\
**Last updated:** [April 26, 2007, 10:38am UTC](https://www.ruby-forum.com/t/apache-fastcgi-and-rails-in-vendor/92983 "2007-04-26T10:38:26Z")

</div>

Hi I want to run my new shiny rail application with apache. Running my application using cgi works but is very slow. So I want to switch to fastcgi. I downloaded and installed mod\_fcgid and have apache running my fcg…

---

## [ROR on solaris 10 gem installation error](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619)

<div class="topic-metadata">

**Author:** [@agrapha](https://www.ruby-forum.com/u/agrapha)\
**Replies:** 8\
**Last updated:** [April 26, 2007, 9:37am UTC](https://www.ruby-forum.com/t/ror-on-solaris-10-gem-installation-error/56619 "2007-04-26T09:37:27Z")

</div>

On my Sun Enterprise 450, I installed ruby-1.8.4 from sunfreeware.com. That installed like a dream. I then downloaded rubygems-0.8.11. Untarred into /usr/local/src and tried to do a /usr/local/bin/ruby install.rb th…

---

## [Using partials - performance impact](https://www.ruby-forum.com/t/using-partials-performance-impact/92921)

<div class="topic-metadata">

**Author:** [@jruyle](https://www.ruby-forum.com/u/jruyle)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 9:37am UTC](https://www.ruby-forum.com/t/using-partials-performance-impact/92921 "2007-04-26T09:37:16Z")

</div>

I love partials – no question about how you can logically separate the components of a view and of re-use it in many places. My question to the experts is - what (if any) performance impact does this have in productio…

---

## [Form\_remote\_for, reloaded](https://www.ruby-forum.com/t/form-remote-for-reloaded/92938)

<div class="topic-metadata">

**Author:** [@nctodc](https://www.ruby-forum.com/u/nctodc)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 7:45am UTC](https://www.ruby-forum.com/t/form-remote-for-reloaded/92938 "2007-04-26T07:45:54Z")

</div>

Hi, being relativly new to RoR, I’m having a problem which I found described in this forum and somewhere else - but with no solution. I know, that it may be bad to mix table and form tags, but the first solution of an…

---

## [Creating tmail object with ActionMailer](https://www.ruby-forum.com/t/creating-tmail-object-with-actionmailer/92974)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 0\
**Last updated:** [April 26, 2007, 7:10am UTC](https://www.ruby-forum.com/t/creating-tmail-object-with-actionmailer/92974 "2007-04-26T07:10:42Z")

</div>

Hello, I am newbie to rails, I am wanting to send a mass email to an email list on my database, so I am creating a tmail object using ActionMailer then sending the email using Net::SMTP. I could send email fine using…

---

## [Newbie question about mongrel](https://www.ruby-forum.com/t/newbie-question-about-mongrel/92971)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 26, 2007, 6:04am UTC](https://www.ruby-forum.com/t/newbie-question-about-mongrel/92971 "2007-04-26T06:04:56Z")

</div>

Hi, I am very new to ruby, rails, and mongrel, so this may not make any sense, but i figured i would ask it anyways. I have been given the task of determining if rails is a good transition for our company. While my …

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

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