# Rails

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

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

---

## [Managing time sensitive data](https://www.ruby-forum.com/t/managing-time-sensitive-data/119220)

<div class="topic-metadata">

**Author:** [@Chubbs](https://www.ruby-forum.com/u/Chubbs)\
**Replies:** 7\
**Last updated:** [November 5, 2007, 5:22am UTC](https://www.ruby-forum.com/t/managing-time-sensitive-data/119220 "2007-11-05T05:22:54Z")

</div>

I am not to sure how to go about doing this, and after any advice on my problem. As an example, i would like a similar feature to that of eBay where a item will have an expiry time and then will be set as closed or et…

---

## [Searchable Rails API Docs?](https://www.ruby-forum.com/t/searchable-rails-api-docs/119197)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 7\
**Last updated:** [November 5, 2007, 4:01am UTC](https://www.ruby-forum.com/t/searchable-rails-api-docs/119197 "2007-11-05T04:01:40Z")

</div>

Is there a version of the Rails API anywhere that is searchable? The RDoc dump at api.rubyonrails.org is spiffy and all, but it can very difficult to use productively under many scenarios IMO. – gw

---

## [Stress test an action?](https://www.ruby-forum.com/t/stress-test-an-action/119216)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [November 5, 2007, 1:01am UTC](https://www.ruby-forum.com/t/stress-test-an-action/119216 "2007-11-05T01:01:45Z")

</div>

Hi all I’ve implemented some basic authorization system and I’d like to benchmark it a bit… So I want to stress test the particular action. Is there a free tool available vor OS X? I couldn’t find one yet… Thanks Jo…

---

## [Howto: Leopard Rails Development Stack](https://www.ruby-forum.com/t/howto-leopard-rails-development-stack/119214)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 0\
**Last updated:** [November 5, 2007, 12:56am UTC](https://www.ruby-forum.com/t/howto-leopard-rails-development-stack/119214 "2007-11-05T00:56:22Z")

</div>

Please offer your comments and suggestions to this post so I can put together a great tutorial on setting up your

---

## [Howto: Leopard Rails Development Stack](https://www.ruby-forum.com/t/howto-leopard-rails-development-stack/119212)

<div class="topic-metadata">

**Author:** [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Replies:** 0\
**Last updated:** [November 5, 2007, 12:47am UTC](https://www.ruby-forum.com/t/howto-leopard-rails-development-stack/119212 "2007-11-05T00:47:01Z")

</div>

Please offer your comments and suggestions to this post so I can put together a great tutorial on setting up your personalized ruby on rails development stack. Enjoy! http://www.sysadminschronicles.com/archives/2007/…

---

## [How Do You Encrypt URLs?](https://www.ruby-forum.com/t/how-do-you-encrypt-urls/119040)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 7\
**Last updated:** [November 4, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/how-do-you-encrypt-urls/119040 "2007-11-04T23:48:29Z")

</div>

I notice that if your urls are in the form: domain.com/show/2 So, it’s easy for users to navigate to other pages sequentially (e.g. domain.com/show/3). Is it possible to encrypt the URLs such that it’s harder for use…

---

## [Scaffold not listing my colums from database](https://www.ruby-forum.com/t/scaffold-not-listing-my-colums-from-database/119202)

<div class="topic-metadata">

**Author:** [@kpg123](https://www.ruby-forum.com/u/kpg123)\
**Replies:** 12\
**Last updated:** [November 4, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/scaffold-not-listing-my-colums-from-database/119202 "2007-11-04T23:44:27Z")

</div>

I am using Leopard and just got rails installed. However, when i do a sample application to test everything, my scaffold project does not show any of the information from the database. below is my migrate file. So …

---

## [Hidden URL](https://www.ruby-forum.com/t/hidden-url/119193)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 4, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/hidden-url/119193 "2007-11-04T23:44:27Z")

</div>

Hello, I have in my application a private public URL. For those who know Flickr, it is sorta like the URL you give to your friend for them to access your photos. Usually the URL looks like this: http://www.domain.com…

---

## [How do I get the latest trunk version?](https://www.ruby-forum.com/t/how-do-i-get-the-latest-trunk-version/119205)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [November 4, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/how-do-i-get-the-latest-trunk-version/119205 "2007-11-04T22:57:37Z")

</div>

Hi, I want to use the latest trunk version for my rails application, I see some cool new features and I cannot wait to use them :smiley: How do I accomplish that? Thanks in advance :smiley: I tried this: svn co http…

---

## [Problems with flash messages and characters like Ã¼ Ã¶ Ã¤](https://www.ruby-forum.com/t/problems-with-flash-messages-and-characters-like-a-a-a/119209)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/problems-with-flash-messages-and-characters-like-a-a-a/119209 "2007-11-04T22:49:09Z")

</div>

Hello, Maybe somebody in here can help me. I’m developing an application with different language support. I use globalize-rails (http://www.globalize-rails.org) and as i’m from Switzerland i use de-CH as default lang…

---

## [Rfacebook + attachment\_fu - path question](https://www.ruby-forum.com/t/rfacebook-attachment-fu-path-question/119204)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/rfacebook-attachment-fu-path-question/119204 "2007-11-04T22:38:35Z")

</div>

Hi all, I’m trying to use attachment\_fu with a facebook app - I have a challenge when I go to call an image: \<%= image\_tag @photo.public\_filename %\> renders: This is because the way I have my facebook set up is to …

---

## [Model design question](https://www.ruby-forum.com/t/model-design-question/119201)

<div class="topic-metadata">

**Author:** [@appleate](https://www.ruby-forum.com/u/appleate)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/model-design-question/119201 "2007-11-04T22:03:07Z")

</div>

Hi all! I have to build a webapp for a friends GYM. I’ve done basic stuff before with rails, but just need to clarify something before I start this. The site will have a top-level model for the GYM, and under that I n…

---

## [Missing model error](https://www.ruby-forum.com/t/missing-model-error/119199)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 6\
**Last updated:** [November 4, 2007, 10:02pm UTC](https://www.ruby-forum.com/t/missing-model-error/119199 "2007-11-04T22:02:05Z")

</div>

I am storing a shape object in a session, and somewhere I picked up that to make sure I can restore the full glory of Shape, I needed this line in ApplicationController model :Shape So, of course, I also have a file …

---

## [Form\_for question](https://www.ruby-forum.com/t/form-for-question/119062)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 5\
**Last updated:** [November 4, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/form-for-question/119062 "2007-11-04T21:52:38Z")

</div>

Hi! A little question, I think quite stupid, so sorry in advance :wink: I find some differences between the official rails documentation and the Thomas book ‘agile web dev…’, and I don’t understand it. I the official …

---

## [Malline Templates?](https://www.ruby-forum.com/t/malline-templates/119198)

<div class="topic-metadata">

**Author:** [@fredistic](https://www.ruby-forum.com/u/fredistic)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 9:06pm UTC](https://www.ruby-forum.com/t/malline-templates/119198 "2007-11-04T21:06:57Z")

</div>

Has anybody (but the author) tried Malline ? It’s a new ruby templating language that looks like a more robust kind of Markaby. See http://www.malline.org If I get brave I’ll try it first myself… fredistic

---

## [UPS quotes via shipping gem](https://www.ruby-forum.com/t/ups-quotes-via-shipping-gem/64423)

<div class="topic-metadata">

**Author:** [@minimal](https://www.ruby-forum.com/u/minimal)\
**Replies:** 1\
**Last updated:** [November 4, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/ups-quotes-via-shipping-gem/64423 "2007-11-04T20:39:13Z")

</div>

greetings, has anyone had luck with the UPS portion of the shipping gem? i get nil’s returned for price, wondering what i’m missing. to avoid all confusion i included the account/login in the instantiation (sub with …

---

## [Localized time -- Is there any way I can get the users's time zone?](https://www.ruby-forum.com/t/localized-time-is-there-any-way-i-can-get-the-userss-time-zone/119168)

<div class="topic-metadata">

**Author:** [@johnhutch](https://www.ruby-forum.com/u/johnhutch)\
**Replies:** 2\
**Last updated:** [November 4, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/localized-time-is-there-any-way-i-can-get-the-userss-time-zone/119168 "2007-11-04T18:35:18Z")

</div>

I’m trying to avoid making my users enter a time zone in order to have posts and updates displayed in their time. Is there any way I can figure out what the user’s current time is so I can add/subtract all the times I…

---

## [Download error: Cannot read file /images/header.gif](https://www.ruby-forum.com/t/download-error-cannot-read-file-images-header-gif/86435)

<div class="topic-metadata">

**Author:** [@tuhin\_cse99](https://www.ruby-forum.com/u/tuhin_cse99)\
**Replies:** 4\
**Last updated:** [November 4, 2007, 6:25pm UTC](https://www.ruby-forum.com/t/download-error-cannot-read-file-images-header-gif/86435 "2007-11-04T18:25:22Z")

</div>

hi guys, I have to create a download link.As a newbie in ruby i googled for it and found the way for my problem. def attachment send\_file(’/images/header.gif’, :filename =\> ‘My Filename!’, :type …

---

## [Migrations: best practices](https://www.ruby-forum.com/t/migrations-best-practices/119167)

<div class="topic-metadata">

**Author:** [@m.sean.kelly](https://www.ruby-forum.com/u/m.sean.kelly)\
**Replies:** 1\
**Last updated:** [November 4, 2007, 4:16pm UTC](https://www.ruby-forum.com/t/migrations-best-practices/119167 "2007-11-04T16:16:29Z")

</div>

In AWDWR v2 there are two high-level paths for migrations suggested: Have a new migration file for each schema change that arises during the course of development. Theoretically, this enables one to update the schema…

---

## [Link\_to\_remote and form\_tag](https://www.ruby-forum.com/t/link-to-remote-and-form-tag/119178)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 5\
**Last updated:** [November 4, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/link-to-remote-and-form-tag/119178 "2007-11-04T16:15:08Z")

</div>

Hello I have a web site with a feature that works perfectly. And I Raised included within another site in a layer. I am changing link\_to by link\_to\_remote, but rhtml loading After a link\_to\_remote shows anything but …

---

## [RoR Conference in Madrid November 22 and 23](https://www.ruby-forum.com/t/ror-conference-in-madrid-november-22-and-23/119183)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/ror-conference-in-madrid-november-22-and-23/119183 "2007-11-04T15:53:16Z")

</div>

Hi all I just want to say that there is a RoR conference in Madrid November 22 and 23. http://www.ruby-forum.com/topic/129297#new

---

## [Header of rhtml template](https://www.ruby-forum.com/t/header-of-rhtml-template/119181)

<div class="topic-metadata">

**Author:** [@luigi](https://www.ruby-forum.com/u/luigi)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/header-of-rhtml-template/119181 "2007-11-04T15:47:14Z")

</div>

Hi, I wrote an rhtml view to generate the css stylesheet file for the web page. The url that I can generate is correct: http://127.0.0.1:3000/stylesheets/99/style\_software/r-firewall.css But the r-firewall.css file …

---

## [Create ActiveRecord instances from a custom query?](https://www.ruby-forum.com/t/create-activerecord-instances-from-a-custom-query/119160)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 1\
**Last updated:** [November 4, 2007, 11:54am UTC](https://www.ruby-forum.com/t/create-activerecord-instances-from-a-custom-query/119160 "2007-11-04T11:54:17Z")

</div>

Hi all I’m having the following method: def setup\_owned\_system\_rights @owned\_system\_rights = {} system\_groups.each do |system\_group| system\_group.system\_rights.each do |system\_right| @owned\_system\_rights\[system\_rig…

---

## [Multiple databases - sites sharing same schema, code and webserver(webserver cluster)](https://www.ruby-forum.com/t/multiple-databases-sites-sharing-same-schema-code-and-webserver-webserver-cluster/119176)

<div class="topic-metadata">

**Author:** [@TomSSSSSSSS\_Klapka](https://www.ruby-forum.com/u/TomSSSSSSSS_Klapka)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 11:39am UTC](https://www.ruby-forum.com/t/multiple-databases-sites-sharing-same-schema-code-and-webserver-webserver-cluster/119176 "2007-11-04T11:39:39Z")

</div>

I solved multiple databases issue in my own project, kind of CMS for multiple sites each having its own db. My solution works as usual if site request.host (site URL) is ‘localhost’ or if db:migrate is called If brow…

---

## [Creating an array of key-value pairs for options\_for\_select](https://www.ruby-forum.com/t/creating-an-array-of-key-value-pairs-for-options-for-select/119170)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 8:57am UTC](https://www.ruby-forum.com/t/creating-an-array-of-key-value-pairs-for-options-for-select/119170 "2007-11-04T08:57:50Z")

</div>

My situation is: I’m using a select\_tag form helper which shows a menu of names from a collection in a view options\_for\_select works nicely here because I can just pass the collection in so, it looks like this \<%= …

---

## [Trouble writing to db in test](https://www.ruby-forum.com/t/trouble-writing-to-db-in-test/119077)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 3\
**Last updated:** [November 4, 2007, 8:05am UTC](https://www.ruby-forum.com/t/trouble-writing-to-db-in-test/119077 "2007-11-04T08:05:41Z")

</div>

I am having trouble testing the following controller method which takes an xml\_http\_request to create a new User object: class ClientsController \< ApplicationController def create\_user @client = Client.find(params\[:i…

---

## [Migrations via script || migrate multiple DB's](https://www.ruby-forum.com/t/migrations-via-script-migrate-multiple-dbs/109675)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 4\
**Last updated:** [November 4, 2007, 7:20am UTC](https://www.ruby-forum.com/t/migrations-via-script-migrate-multiple-dbs/109675 "2007-11-04T07:20:14Z")

</div>

greetings, I’m wondering if anyone else has faces the task of migrating multiple databases? How can one do this is an automated fashion? Currently I’m running usual “rake db:migrate” from cmd, where I’ll manually ed…

---

## [How can I set the session cookie "compact privacy policy"?](https://www.ruby-forum.com/t/how-can-i-set-the-session-cookie-compact-privacy-policy/119166)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 6:30am UTC](https://www.ruby-forum.com/t/how-can-i-set-the-session-cookie-compact-privacy-policy/119166 "2007-11-04T06:30:41Z")

</div>

I’m trying to do an iFrame implementation. I ran aground of something called a “compact privacy policy” that IE6 uses to decide whether or not to allow third party cookies (third party because my iFrame is hosted on …

---

## [Which callback method should I use?](https://www.ruby-forum.com/t/which-callback-method-should-i-use/119165)

<div class="topic-metadata">

**Author:** [@desertfox](https://www.ruby-forum.com/u/desertfox)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 6:14am UTC](https://www.ruby-forum.com/t/which-callback-method-should-i-use/119165 "2007-11-04T06:14:34Z")

</div>

Im uploading a file to a database table using the file\_column plugin. I also need to extract some info from that file and save it to the same table. Which callback method should I use?

---

## [File upload problem from some systems](https://www.ruby-forum.com/t/file-upload-problem-from-some-systems/119161)

<div class="topic-metadata">

**Author:** [@labria](https://www.ruby-forum.com/u/labria)\
**Replies:** 0\
**Last updated:** [November 4, 2007, 1:56am UTC](https://www.ruby-forum.com/t/file-upload-problem-from-some-systems/119161 "2007-11-04T01:56:35Z")

</div>

I migrated my app to a new server a few days ago and now i have a weird problem. Uploading files (it worked before!) now works only for users using Mac OS. When trying from windows it hangs with “sending request”. The…

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

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