# Rails

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

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

---

## [Trouble invoking dispatch.rb via cgi on IIS5](https://www.ruby-forum.com/t/trouble-invoking-dispatch-rb-via-cgi-on-iis5/82377)

<div class="topic-metadata">

**Author:** [@BallS\_Donald\_A\_Jr\_S](https://www.ruby-forum.com/u/BallS_Donald_A_Jr_S)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:32pm UTC](https://www.ruby-forum.com/t/trouble-invoking-dispatch-rb-via-cgi-on-iis5/82377 "2007-09-25T22:32:34Z")

</div>

Howdy folks. I’m trying to get a rails app running behind IIS5. Yes, I know, I know, but my hands are tied. After much banging my head against FastCGI and friends, I’ve decided to try to get it working using vanilla C…

---

## [Help with with displaying a selected list](https://www.ruby-forum.com/t/help-with-with-displaying-a-selected-list/82577)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:32pm UTC](https://www.ruby-forum.com/t/help-with-with-displaying-a-selected-list/82577 "2007-09-25T22:32:16Z")

</div>

Hello. I call a find\_all\_by\_subject(“action”) which returns 2 videos and displays them properly. But when I add @video\_pages, @videos = paginate :videos, :per\_page =\> 10 so I can paginate the videos, it displays ALL t…

---

## [Undefined method \`\[\]' for nil:NilClass](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclass/82380)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:30pm UTC](https://www.ruby-forum.com/t/undefined-method-for-nil-nilclass/82380 "2007-09-25T22:30:13Z")

</div>

I have an interesting situation and I am wondering if I can trap just this specific error… undefined method \`\[\]’ for nil:NilClass which comes the user is trying to access a controller method which assumes session var…

---

## [Why does this error occur?](https://www.ruby-forum.com/t/why-does-this-error-occur/81806)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/why-does-this-error-occur/81806 "2007-09-25T22:29:37Z")

</div>

Hi there. I have this error: undefined method \`count’ for Module:Class // /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/pagination.rb:172:in count\_collection\_for\_pagination' /usr/local/lib…

---

## [Wierd session behavious in development mode after switching](https://www.ruby-forum.com/t/wierd-session-behavious-in-development-mode-after-switching/82571)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/wierd-session-behavious-in-development-mode-after-switching/82571 "2007-09-25T22:29:25Z")

</div>

class UserController \< ApplicationController def home # Following line throws error and session\[:user\] set by previous action login is gone here. $logme.info “Home session information: is #{session\[:user\].login} and…

---

## [Timestamp - automatically inserting](https://www.ruby-forum.com/t/timestamp-automatically-inserting/82361)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/timestamp-automatically-inserting/82361 "2007-09-25T22:29:15Z")

</div>

Hi: I have timestamps in virtually all of my tables. The timestamp I want to add is always the current time, whenever I create a record in a table. Is this the type of thing I can be setting in my models, without h…

---

## [Where to get started with RoR?](https://www.ruby-forum.com/t/where-to-get-started-with-ror/82434)

<div class="topic-metadata">

**Author:** [@cdvr](https://www.ruby-forum.com/u/cdvr)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/where-to-get-started-with-ror/82434 "2007-09-25T22:29:12Z")

</div>

I am new to Ruby and therefore new to Ruby on Rails. I am interested in working with RoR, but I am wondering whats the best way to get started? I have seen plenty of tutorials and screencasts posted, but I haven’t f…

---

## [Acts\_as\_tree ... somewhat](https://www.ruby-forum.com/t/acts-as-tree-somewhat/115409)

<div class="topic-metadata">

**Author:** [@Lucas\_HSSSSngaro](https://www.ruby-forum.com/u/Lucas_HSSSSngaro)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:21pm UTC](https://www.ruby-forum.com/t/acts-as-tree-somewhat/115409 "2007-09-25T22:21:56Z")

</div>

Hello folks. I’m having some trouble here, hope you can help me =D. I have two associated models: Product and Recipe. A Recipe is… a recipe, showing the components of a Product… which are Products too. So, the table…

---

## [Selection of groups of people](https://www.ruby-forum.com/t/selection-of-groups-of-people/115319)

<div class="topic-metadata">

**Author:** [@jonas\_s](https://www.ruby-forum.com/u/jonas_s)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/selection-of-groups-of-people/115319 "2007-09-25T22:17:02Z")

</div>

Hi folks :slight\_smile: IÂ´ve been thinking about this for a while, and didnÂ´t come to a reasonable solution. IÂ´d like to build a dialog, in which a user can select a group of people who can visit an article (or …

---

## [Online Shop](https://www.ruby-forum.com/t/online-shop/115508)

<div class="topic-metadata">

**Author:** [@Waleed\_H](https://www.ruby-forum.com/u/Waleed_H)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/online-shop/115508 "2007-09-25T22:09:59Z")

</div>

Hello All, I am new in Rails, I would like build a website or a web application for my shop, I just want show my commodities for my customers only picture & description and price, I don’t want use any payment methods …

---

## [Validates\_format\_of / nil](https://www.ruby-forum.com/t/validates-format-of-nil/115494)

<div class="topic-metadata">

**Author:** [@masonkessinger](https://www.ruby-forum.com/u/masonkessinger)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/validates-format-of-nil/115494 "2007-09-25T20:53:43Z")

</div>

When using validates\_format\_of I am not able to enter a nil value? It’s a mute point that I think that validates\_format\_of should NOT do the job of validates\_presence\_of, but how should i get around this? I want to va…

---

## [ERROR for : gem install rails --include-dependencies](https://www.ruby-forum.com/t/error-for-gem-install-rails-include-dependencies/115493)

<div class="topic-metadata">

**Author:** [@shashi](https://www.ruby-forum.com/u/shashi)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/error-for-gem-install-rails-include-dependencies/115493 "2007-09-25T19:33:37Z")

</div>

Hi , Iam new to ruby and compiling ruby-1.8.6 on HPUX11i . Iam not able to compile it on HPUX : Compiled without pthread : Compilation of ruby and gem went smoothly(without pthread), but while installing rails using…

---

## [Character limit for text field](https://www.ruby-forum.com/t/character-limit-for-text-field/115482)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/character-limit-for-text-field/115482 "2007-09-25T19:15:14Z")

</div>

I was just wondering if there is a way to limit the number of characters that can be entered in a textfield? Here is what I have for a helper: \<%= text\_area ‘user’, ‘rentalcar\_comments’, :size =\> “69x4” %\> I am descri…

---

## [Job Opening](https://www.ruby-forum.com/t/job-opening/115489)

<div class="topic-metadata">

**Author:** [@jesse.jenkins](https://www.ruby-forum.com/u/jesse.jenkins)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/job-opening/115489 "2007-09-25T18:57:13Z")

</div>

Good morning friends, I am a new member to the Ruby on Rails group and I apologize for making my first post be about business but I am in serious need. I am a Tech Recruiter in Reno, Nevada and have a client that has…

---

## [Plugins - Enhanced ActiveRecord Errors](https://www.ruby-forum.com/t/plugins-enhanced-activerecord-errors/115488)

<div class="topic-metadata">

**Author:** [@adrien](https://www.ruby-forum.com/u/adrien)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/plugins-enhanced-activerecord-errors/115488 "2007-09-25T18:51:12Z")

</div>

Hello everyone, I am trying to install the error\_messages\_for plugin (see http://agilewebdevelopment.com/plugins/show/144). It allows you to customize your AR errors. However, the original mirror seems to be down, an…

---

## [Script/generate scaffold not generating controller](https://www.ruby-forum.com/t/script-generate-scaffold-not-generating-controller/115397)

<div class="topic-metadata">

**Author:** [@steve\_odom](https://www.ruby-forum.com/u/steve_odom)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 6:47pm UTC](https://www.ruby-forum.com/t/script-generate-scaffold-not-generating-controller/115397 "2007-09-25T18:47:12Z")

</div>

I must be missing something simple. I’m running the latest edge rails, but was having the same issue with a bit older version of edge rails too. If I run … script/generate scaffold MyModel … then it generates everyt…

---

## [How would i make a rails web form execute a system call](https://www.ruby-forum.com/t/how-would-i-make-a-rails-web-form-execute-a-system-call/115485)

<div class="topic-metadata">

**Author:** [@newrubyuser](https://www.ruby-forum.com/u/newrubyuser)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/how-would-i-make-a-rails-web-form-execute-a-system-call/115485 "2007-09-25T18:41:53Z")

</div>

Hi Sorry if this is the wrong list. Ive been reading up on ruby with the ruby cookbook and cant seem to find out how to call an externel process via rails web form. Im running ruby on rails on linux and need to call a …

---

## [Oracle, ODBC and Rails](https://www.ruby-forum.com/t/oracle-odbc-and-rails/103856)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/oracle-odbc-and-rails/103856 "2007-09-25T18:12:05Z")

</div>

Hi, I have successfully connected to a remote ORACLE DSN using the Actual ODBC driver (www.actualtechnologies.com) and the ODBC binding for Ruby by Chris Werner (ODBC Binding for Ruby). However, when I attempt to con…

---

## [Undefined method 'each\` for @\<Plan:0xb75eb818\>](https://www.ruby-forum.com/t/undefined-method-each-for-plan-0xb75eb818/115400)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/undefined-method-each-for-plan-0xb75eb818/115400 "2007-09-25T17:52:00Z")

</div>

I am having a problem seaching my Plan object with Plan.find() using an array object that appears to be setting itself up incorrectly. Here is what I am seeing. NoMethodError in Generate reportsController#advanced\_pla…

---

## [Acts\_as\_solr, table joins and geographic searches](https://www.ruby-forum.com/t/acts-as-solr-table-joins-and-geographic-searches/115476)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/acts-as-solr-table-joins-and-geographic-searches/115476 "2007-09-25T17:39:58Z")

</div>

I’m currently evaluating an evolution of our search technology usage, and am hoping that the community may have some suggestions. Solr (acts\_as\_solr) seems to capture most of our search requirements (query language, s…

---

## [TCPSocket.new Errno::EBADF: Bad file descriptor error](https://www.ruby-forum.com/t/tcpsocket-new-errno-bad-file-descriptor-error/115475)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/tcpsocket-new-errno-bad-file-descriptor-error/115475 "2007-09-25T17:38:51Z")

</div>

Im trying to use memcache-client, but there is a line in their where it calls: TCPSocket.new(host, port). It fails at this point. I’ve tried just trying to establish a connection in my script/console with TCPSocket.n…

---

## [Juggernaut on shared fastcgi hosting](https://www.ruby-forum.com/t/juggernaut-on-shared-fastcgi-hosting/115471)

<div class="topic-metadata">

**Author:** [@mr-potato](https://www.ruby-forum.com/u/mr-potato)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/juggernaut-on-shared-fastcgi-hosting/115471 "2007-09-25T17:24:40Z")

</div>

I am in the process of developing a flex/rails chat application that will be hosted on a shared hosting account. I do not have shell access and am wondering if there is a workaround for having to run script/push\_serve…

---

## [Canvas on pdf writer](https://www.ruby-forum.com/t/canvas-on-pdf-writer/115468)

<div class="topic-metadata">

**Author:** [@soledad\_rails](https://www.ruby-forum.com/u/soledad_rails)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/canvas-on-pdf-writer/115468 "2007-09-25T17:15:18Z")

</div>

Hello does anyone know how to generate a canvas unsing the pdf writer? sincerly

---

## [Having problem with https while redirecting](https://www.ruby-forum.com/t/having-problem-with-https-while-redirecting/115437)

<div class="topic-metadata">

**Author:** [@vidyagayathri](https://www.ruby-forum.com/u/vidyagayathri)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/having-problem-with-https-while-redirecting/115437 "2007-09-25T17:08:52Z")

</div>

Hi All, I am having problem with https now, i have installed https successfully, now my website is working , but the problem is , after logged in successfully , while redirecting the page, its displayed only http:// …

---

## [ActiveRecord dynamic table naming with has\_many possible?](https://www.ruby-forum.com/t/activerecord-dynamic-table-naming-with-has-many-possible/115462)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/activerecord-dynamic-table-naming-with-has-many-possible/115462 "2007-09-25T16:28:42Z")

</div>

A legacy database I’m currently working with is setup such that each client (in a clients table) has a field containing the name of the associated users table (which is distinct for each client). What I’d like to be a…

---

## [RMagick and pdf:writer](https://www.ruby-forum.com/t/rmagick-and-pdf-writer/115454)

<div class="topic-metadata">

**Author:** [@aya](https://www.ruby-forum.com/u/aya)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/rmagick-and-pdf-writer/115454 "2007-09-25T15:18:59Z")

</div>

hi everyone, I wanna know if I use i = Magick::ImageList.new(“Button\_A.gif”, “Cheetah.jpg”), can this function return a i as an image if not I wish that u helpme to find something that I can do to collect many pics …

---

## [Rebuttal to "7 reasons I switched back to PHP after 2 years](https://www.ruby-forum.com/t/rebuttal-to-7-reasons-i-switched-back-to-php-after-2-years/115423)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 2:37pm UTC](https://www.ruby-forum.com/t/rebuttal-to-7-reasons-i-switched-back-to-php-after-2-years/115423 "2007-09-25T14:37:08Z")

</div>

Railsters: Note the title is “Big Requirements Up Front”. That’s a Bad Thing. Those of us working on lite and flexible projects, in internet-time, might not recognize how bad it is! And it can catch you when you …

---

## [ActiveScaffold (or whatever) and Globalize](https://www.ruby-forum.com/t/activescaffold-or-whatever-and-globalize/115363)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/activescaffold-or-whatever-and-globalize/115363 "2007-09-25T14:07:44Z")

</div>

Hi guys! This is my first message to this list. I’m fairly new to the whole rails scene, though I’m a seasoned MVC developer. There are two things that made me fall in love with rails so far: Migrations, and Globaliz…

---

## [Named Routes parameter errors](https://www.ruby-forum.com/t/named-routes-parameter-errors/115453)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/named-routes-parameter-errors/115453 "2007-09-25T14:05:19Z")

</div>

Hello all. I have many questions regarding routes: First of all, I had a route that looked like this: map.connect ‘/person/:id/ tag/:tag\_id’, :controller=\>:person, :action=\>:tag I was trying to link to this URL with…

---

## [Singapore Real Estate - Buy , Sell , Rent ,invest Singapore](https://www.ruby-forum.com/t/singapore-real-estate-buy-sell-rent-invest-singapore/115450)

<div class="topic-metadata">

**Author:** [@Spytips](https://www.ruby-forum.com/u/Spytips)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 1:35pm UTC](https://www.ruby-forum.com/t/singapore-real-estate-buy-sell-rent-invest-singapore/115450 "2007-09-25T13:35:11Z")

</div>

Singapore Real Estate - Buy , Sell , Rent ,invest Singapore Property Buy, sell and rent Singapore real estate: private property, residential apartments, commercial and industrial properties. HDB flats for sale and ren…

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

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