# Rails

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

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

---

## [Php to ror](https://www.ruby-forum.com/t/php-to-ror/90264)

<div class="topic-metadata">

**Author:** [@sanz](https://www.ruby-forum.com/u/sanz)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 6:58am UTC](https://www.ruby-forum.com/t/php-to-ror/90264 "2007-03-27T06:58:30Z")

</div>

we are planning to move an auction application from php to ruby. Are there any guidelines or tools available to do so ?

---

## [Rails Development Log](https://www.ruby-forum.com/t/rails-development-log/89960)

<div class="topic-metadata">

**Author:** [@jen](https://www.ruby-forum.com/u/jen)\
**Replies:** 6\
**Last updated:** [March 27, 2007, 6:32am UTC](https://www.ruby-forum.com/t/rails-development-log/89960 "2007-03-27T06:32:28Z")

</div>

Hi, I am using Ruby+Rails with Mongrel. Is there any way to disable logging so that everytime I start rails (mongrel\_rails start), it doesn’t automatically start logging info to development.log Thanks!

---

## [ActionController::RoutingError](https://www.ruby-forum.com/t/actioncontroller-routingerror/90153)

<div class="topic-metadata">

**Author:** [@Sanika](https://www.ruby-forum.com/u/Sanika)\
**Replies:** 3\
**Last updated:** [March 27, 2007, 6:05am UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror/90153 "2007-03-27T06:05:59Z")

</div>

I just started with ROR and I keep getting this error for a simple hello page. Pease help! -------- development.log ------------- ActionController::RoutingError (no route found to match “/demo/say/abc” with {:method=\>…

---

## [Retain content of a form text when jump to another page](https://www.ruby-forum.com/t/retain-content-of-a-form-text-when-jump-to-another-page/90262)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 5:24am UTC](https://www.ruby-forum.com/t/retain-content-of-a-form-text-when-jump-to-another-page/90262 "2007-03-27T05:24:39Z")

</div>

Dear all, I have a list (with pagination) and a form below it which contain a text area with a submit button. When the user enter text into the text area and navigate to another page (of pagination) without submit the …

---

## [Search\_field](https://www.ruby-forum.com/t/search-field/90263)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 4:51am UTC](https://www.ruby-forum.com/t/search-field/90263 "2007-03-27T04:51:08Z")

</div>

Hi… I am wanting make a helper for a search field. The laytou will follow. A text\_field(person\_id for example), a button, that call a screen of search, wich a list. When click a one row of list, the screen will close…

---

## [RoR and Ruby Licensing](https://www.ruby-forum.com/t/ror-and-ruby-licensing/90255)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 4:19am UTC](https://www.ruby-forum.com/t/ror-and-ruby-licensing/90255 "2007-03-27T04:19:34Z")

</div>

Hey Guys, I have some questions in regards to the applications that I create using RoR and Ruby. Do I own the copyright on the scripts that I author? Can I distribute my scripts as proprietary? I think I’m good wit…

---

## [Using \*\_path and \*\_url functions with nested resources](https://www.ruby-forum.com/t/using-path-and-url-functions-with-nested-resources/90083)

<div class="topic-metadata">

**Author:** [@Leslie\_F](https://www.ruby-forum.com/u/Leslie_F)\
**Replies:** 2\
**Last updated:** [March 27, 2007, 4:10am UTC](https://www.ruby-forum.com/t/using-path-and-url-functions-with-nested-resources/90083 "2007-03-27T04:10:45Z")

</div>

Hi all, I’ve been scouring the web trying to find an answer to this problem, but most of the discussions I’ve found seem old, inconclusive or both. I’m trying to create a resource(REST) based app that has users and a…

---

## [Self Referential has\_many :through broken functionality?](https://www.ruby-forum.com/t/self-referential-has-many-through-broken-functionality/89683)

<div class="topic-metadata">

**Author:** [@pathologic](https://www.ruby-forum.com/u/pathologic)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 4:09am UTC](https://www.ruby-forum.com/t/self-referential-has-many-through-broken-functionality/89683 "2007-03-27T04:09:03Z")

</div>

Having set up my self referential user -\> friend relationship with the following code all seems to be working well except for one thing. Adding and deleting friends. Here is the code for the models: class Friendship \<…

---

## [Session trouble](https://www.ruby-forum.com/t/session-trouble/90247)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 5\
**Last updated:** [March 27, 2007, 4:06am UTC](https://www.ruby-forum.com/t/session-trouble/90247 "2007-03-27T04:06:43Z")

</div>

I am having a problem with an assignment to an object stored in session. for example when I am in console o = NewOrder.new dl = DeliveryLocation.new o.delivery\_location = dl #=\> returns a delivery location object o.d…

---

## [Require module in controller](https://www.ruby-forum.com/t/require-module-in-controller/90129)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 3\
**Last updated:** [March 27, 2007, 3:16am UTC](https://www.ruby-forum.com/t/require-module-in-controller/90129 "2007-03-27T03:16:29Z")

</div>

I have some calculations in a module that is under the /lib folder - but when using require the action of the module is not found in the controller. Does anyone have an example of the correct syntax to get this worki…

---

## [Image file URL generated by image\_tag include some parameter](https://www.ruby-forum.com/t/image-file-url-generated-by-image-tag-include-some-parameter/89978)

<div class="topic-metadata">

**Author:** [@Jung-joon\_Kim](https://www.ruby-forum.com/u/Jung-joon_Kim)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 2:42am UTC](https://www.ruby-forum.com/t/image-file-url-generated-by-image-tag-include-some-parameter/89978 "2007-03-27T02:42:27Z")

</div>

I’m using image\_tag to generate img tag. URL of image file generated by image\_tag include a parameter like following. “http:// … /images/filename.gif?123123123” What’s this number parameter for? How can I remove it? …

---

## [Is YAML.load secure within a controller?](https://www.ruby-forum.com/t/is-yaml-load-secure-within-a-controller/90256)

<div class="topic-metadata">

**Author:** [@yottameter](https://www.ruby-forum.com/u/yottameter)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 2:20am UTC](https://www.ruby-forum.com/t/is-yaml-load-secure-within-a-controller/90256 "2007-03-27T02:20:26Z")

</div>

I’m using a YAML load in the following manner inside of a controller: myObject=YAML.load(request.raw\_post) Are there any security concerns with this method? Thanks in advance!

---

## [Concatenate columns from a database to one string?](https://www.ruby-forum.com/t/concatenate-columns-from-a-database-to-one-string/89807)

<div class="topic-metadata">

**Author:** [@ngng](https://www.ruby-forum.com/u/ngng)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 1:53am UTC](https://www.ruby-forum.com/t/concatenate-columns-from-a-database-to-one-string/89807 "2007-03-27T01:53:25Z")

</div>

I’m trying to use collection\_select to display a drop down box from a database table, the only problem I have is, insted of displaying :name I’d like to display a string which is a combination of all the columns from …

---

## [\[ANN\] Arti 0.1.2 - doc toolkit for Rails](https://www.ruby-forum.com/t/ann-arti-0-1-2-doc-toolkit-for-rails/90246)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 1:23am UTC](https://www.ruby-forum.com/t/ann-arti-0-1-2-doc-toolkit-for-rails/90246 "2007-03-27T01:23:22Z")

</div>

Arti (http://arti-ar.cfcl.com/arti) is a Rails-centric documentation toolkit. That is, it gathers information from Rails apps, then uses Rails to present the results. I’m pleased to announce the release of Arti-0.1.2…

---

## [Licensing question](https://www.ruby-forum.com/t/licensing-question/90241)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 27, 2007, 12:49am UTC](https://www.ruby-forum.com/t/licensing-question/90241 "2007-03-27T00:49:20Z")

</div>

I have a few questions regarding the “MIT License” that the Rails framework uses. The link on the web page (at the bottom of http://www.rubyonrails.com/) points to a page (The MIT License – Open Source Initiative) …

---

## [Proxy, routes.rb, and urls](https://www.ruby-forum.com/t/proxy-routes-rb-and-urls/90220)

<div class="topic-metadata">

**Author:** [@jetskers](https://www.ruby-forum.com/u/jetskers)\
**Replies:** 6\
**Last updated:** [March 27, 2007, 12:44am UTC](https://www.ruby-forum.com/t/proxy-routes-rb-and-urls/90220 "2007-03-27T00:44:19Z")

</div>

Wondering if this is possible in an elegant global way to adjust RoR’s urls… Basically what I would like to do is make Rails aware that it needs to have to adjust all the urls that refer to itself by a preceeding “/ …

---

## [How to make an extendable application](https://www.ruby-forum.com/t/how-to-make-an-extendable-application/88887)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 12:11am UTC](https://www.ruby-forum.com/t/how-to-make-an-extendable-application/88887 "2007-03-27T00:11:16Z")

</div>

Hey, This is a question aimed to all who have created their own CMSs. What is the correct way to go about making a reusable CMS? We all must be doing this, creating a new CMS for each site we do is prohibitvely expen…

---

## [No space left on device - /tmp/ruby\_sess.938af5ba9b9a02ed](https://www.ruby-forum.com/t/no-space-left-on-device-tmp-ruby-sess-938af5ba9b9a02ed/90191)

<div class="topic-metadata">

**Author:** [@jcontonio](https://www.ruby-forum.com/u/jcontonio)\
**Replies:** 5\
**Last updated:** [March 27, 2007, 12:04am UTC](https://www.ruby-forum.com/t/no-space-left-on-device-tmp-ruby-sess-938af5ba9b9a02ed/90191 "2007-03-27T00:04:14Z")

</div>

Every week or couple weeks, my application goes haywire, and in my production.log I get, No space left on device - /tmp/ruby\_sess.938af5ba9b9a02ed Visiting the site, it looks like it refreshes every second. Any ideas…

---

## [Is reading from input hidden cached somehow?](https://www.ruby-forum.com/t/is-reading-from-input-hidden-cached-somehow/89930)

<div class="topic-metadata">

**Author:** [@Tomasz\_Tomczyk](https://www.ruby-forum.com/u/Tomasz_Tomczyk)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/is-reading-from-input-hidden-cached-somehow/89930 "2007-03-26T23:50:12Z")

</div>

Hi, I found a problem with dynamic reading from input hidden. To better explain my problem I will describe the process: user clicks a “select employer” link which opens dialog dialog is to select proper employer, whi…

---

## [Break Point not working in Ruby 1.8.5?](https://www.ruby-forum.com/t/break-point-not-working-in-ruby-1-8-5/89811)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 24\
**Last updated:** [March 26, 2007, 11:00pm UTC](https://www.ruby-forum.com/t/break-point-not-working-in-ruby-1-8-5/89811 "2007-03-26T23:00:03Z")

</div>

I am not sure if this is an Instant Rails problem or something else. But I am working with Patrick Lenz’s Building Your Own Ruby on Rails Web Applications book where in Chapter 11 he shows how to use the BreakPoint fu…

---

## [Extend url\_for](https://www.ruby-forum.com/t/extend-url-for/89944)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 4\
**Last updated:** [March 26, 2007, 10:50pm UTC](https://www.ruby-forum.com/t/extend-url-for/89944 "2007-03-26T22:50:39Z")

</div>

Hi! I want to extend the url\_for function (and some more functions) with a plugin. Now I tried this: ExtendBase module ActiveController class Base def url\_for 'OK' end end end def url\_for ‘OK’ end But that …

---

## [How to remove unneccessary SHOW FIELDS FROM?](https://www.ruby-forum.com/t/how-to-remove-unneccessary-show-fields-from/90039)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/how-to-remove-unneccessary-show-fields-from/90039 "2007-03-26T22:37:37Z")

</div>

I see that every time I load a page (that lists paginated rows of a database), mysql is told to “SHOW FIELDS FROM (database)”. This seems unneccessary to me. (I know the fields; my code knows the fields!) My guess i…

---

## [Validate email address](https://www.ruby-forum.com/t/validate-email-address/90183)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [March 26, 2007, 10:10pm UTC](https://www.ruby-forum.com/t/validate-email-address/90183 "2007-03-26T22:10:34Z")

</div>

What is the best way to validate an email address? I have been unable to fnd a validates\_email address method which seems a bit strange for rails

---

## [\[JOB\] Rails Developer, San Francisco, CA | PAID Relo](https://www.ruby-forum.com/t/job-rails-developer-san-francisco-ca-paid-relo/90225)

<div class="topic-metadata">

**Author:** [@Luke\_Chichetto](https://www.ruby-forum.com/u/Luke_Chichetto)\
**Replies:** 0\
**Last updated:** [March 26, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/job-rails-developer-san-francisco-ca-paid-relo/90225 "2007-03-26T21:58:38Z")

</div>

Rails Developer, San Francisco, CA | PAID Relo My client gathered together the best and the brightest to build this brand new kind of communications company. We’re big fans of the California climate, Friday afternoon …

---

## [Setting up Action Mailer](https://www.ruby-forum.com/t/setting-up-action-mailer/90224)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 0\
**Last updated:** [March 26, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/setting-up-action-mailer/90224 "2007-03-26T21:55:31Z")

</div>

I’m trying out Action Mailer for the first time. I’m not getting to first base. I thought that the instructions were pretty clear in that the first thing that I needed to do is to add: config.action\_mailer.delivery\_…

---

## [Actionmailer multibyte weirdness](https://www.ruby-forum.com/t/actionmailer-multibyte-weirdness/90222)

<div class="topic-metadata">

**Author:** [@samj](https://www.ruby-forum.com/u/samj)\
**Replies:** 0\
**Last updated:** [March 26, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/actionmailer-multibyte-weirdness/90222 "2007-03-26T21:39:29Z")

</div>

Hi There, I have an odd issue with the way actionmailer does multibyte conversion on mail subject lines. I have two debian boxes, both running ruby 1.8.2-7sarge2 and Rails 1.0.0. I set up a unit test to check exactl…

---

## [Getting dates from weeknumber](https://www.ruby-forum.com/t/getting-dates-from-weeknumber/90218)

<div class="topic-metadata">

**Author:** [@bitterbal](https://www.ruby-forum.com/u/bitterbal)\
**Replies:** 2\
**Last updated:** [March 26, 2007, 9:14pm UTC](https://www.ruby-forum.com/t/getting-dates-from-weeknumber/90218 "2007-03-26T21:14:26Z")

</div>

If I have a weeknumber and a year, is there an easy way to get the dates that fall in this weeknumber or the first day of that week (the other I can calculate). regards

---

## [Boolean with mysql as tinyint,but set true value as '-1'](https://www.ruby-forum.com/t/boolean-with-mysql-as-tinyint-but-set-true-value-as-1/90217)

<div class="topic-metadata">

**Author:** [@bumpspowdersteeps](https://www.ruby-forum.com/u/bumpspowdersteeps)\
**Replies:** 0\
**Last updated:** [March 26, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/boolean-with-mysql-as-tinyint-but-set-true-value-as-1/90217 "2007-03-26T20:53:23Z")

</div>

Hello, We are developing a rails application, migrated from an Access front end with sqlserver backend to a rails, mysql project, but we still would like the Access front end to be able to connect to the mysql databa…

---

## [Read-only access to the database](https://www.ruby-forum.com/t/read-only-access-to-the-database/90187)

<div class="topic-metadata">

**Author:** [@wfisk](https://www.ruby-forum.com/u/wfisk)\
**Replies:** 7\
**Last updated:** [March 26, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/read-only-access-to-the-database/90187 "2007-03-26T20:49:23Z")

</div>

Is there to set up the ActiveRecord connection to the database to that you only have read-only access to the database? For example, you are accessing a legacy database to create reports, you are not too sure what you …

---

## [How to debug "save" error?](https://www.ruby-forum.com/t/how-to-debug-save-error/90195)

<div class="topic-metadata">

**Author:** [@Vic](https://www.ruby-forum.com/u/Vic)\
**Replies:** 2\
**Last updated:** [March 26, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/how-to-debug-save-error/90195 "2007-03-26T20:46:18Z")

</div>

How can I see why @item.save is failing? I checked debug.log but it is not being helpful at all… Is there any other way or log file? Thanks!!! what debug.log says:… e\[4;35;1mSQL (0.000000)e\[0m e\[0mBEGINe\[0m e\[4;36…

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

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