# Rails

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

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

---

## [\[ANN/ADV\] RubyConf 2008 registration now open!](https://www.ruby-forum.com/t/ann-adv-rubyconf-2008-registration-now-open/148294)

<div class="topic-metadata">

**Author:** [@David\_ASBlack](https://www.ruby-forum.com/u/David_ASBlack)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 11:57am UTC](https://www.ruby-forum.com/t/ann-adv-rubyconf-2008-registration-now-open/148294 "2008-09-11T11:57:54Z")

</div>

Hi everybody – I’m happy to report that registration is now open for RubyConf 2008, produced by Ruby Central, Inc., and to be held November 6-8 in Orlando, Florida. The program is posted and looks amazing. We’ve got …

---

## [Ultrasphinx and has\_many\_polymorphs](https://www.ruby-forum.com/t/ultrasphinx-and-has-many-polymorphs/148260)

<div class="topic-metadata">

**Author:** [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 11:14am UTC](https://www.ruby-forum.com/t/ultrasphinx-and-has-many-polymorphs/148260 "2008-09-11T11:14:43Z")

</div>

those two are a great mix ! in here → get some clues on how to compile models associated to each others (search a service and its provider); but doesn’t seem to work with h\_m\_p, thanks for any clues (might have a …

---

## [Find :all and RAM memory](https://www.ruby-forum.com/t/find-all-and-ram-memory/148288)

<div class="topic-metadata">

**Author:** [@Abel](https://www.ruby-forum.com/u/Abel)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 10:51am UTC](https://www.ruby-forum.com/t/find-all-and-ram-memory/148288 "2008-09-11T10:51:37Z")

</div>

Say you have a table with a very high number or entries and you perform a search that would bring out a lot of results like this: a = Ad.find :all My question is how is this stored in memory? can this crash your serv…

---

## [Strange attachment\_fu problem: thumbnails limited to 1](https://www.ruby-forum.com/t/strange-attachment-fu-problem-thumbnails-limited-to-1/148285)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 10:12am UTC](https://www.ruby-forum.com/t/strange-attachment-fu-problem-thumbnails-limited-to-1/148285 "2008-09-11T10:12:56Z")

</div>

Hi, I am encountering a strange issue with attachment\_du: whatever classes of thumbnails I define, only one is recognized and accordingly processed when creating a new image. For example: :thumbnails =\> {:thumb =\> “…

---

## [Cached\_models](https://www.ruby-forum.com/t/cached-models/148283)

<div class="topic-metadata">

**Author:** [@erikbauer](https://www.ruby-forum.com/u/erikbauer)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 10:05am UTC](https://www.ruby-forum.com/t/cached-models/148283 "2008-09-11T10:05:18Z")

</div>

Hi all, Yesterday I released a new Rails plugin: cached\_models. It allows to transparently use the internal Rails cache mechanism in your models, avoiding to write code for expiring policies. Example class Project \< …

---

## [HowTo search a string for content?](https://www.ruby-forum.com/t/howto-search-a-string-for-content/148157)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 7\
**Last updated:** [September 11, 2008, 9:40am UTC](https://www.ruby-forum.com/t/howto-search-a-string-for-content/148157 "2008-09-11T09:40:41Z")

</div>

Obviously not a genius with Ruby. I simply want to check if the string from an form input is a phone number, or an email. I started testing wether the string.class was Bignum or Fixnum. If it was I presumed it was …

---

## [Utf-8 or something else?](https://www.ruby-forum.com/t/utf-8-or-something-else/148278)

<div class="topic-metadata">

**Author:** [@blueshadow](https://www.ruby-forum.com/u/blueshadow)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/utf-8-or-something-else/148278 "2008-09-11T09:04:34Z")

</div>

Hello! If i perform the search with Cyrillic letters i’m getting this params. --- !map:HashWithIndifferentAccess \<b\>search: !binary | 0YHQsNGa0LTRgdGZ0Zo=?\</b\> authenticity\_token: ada7888510dacc744af93f6a5f3d058d942…

---

## [How does the sub-domain like urls are created in web apps?](https://www.ruby-forum.com/t/how-does-the-sub-domain-like-urls-are-created-in-web-apps/148271)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/how-does-the-sub-domain-like-urls-are-created-in-web-apps/148271 "2008-09-11T09:04:24Z")

</div>

Hello, I registered in a site called basecamp. After I registered, they gave me a url like http://xxx.basecamp.com where i have to log in access my project management. I heard that basecamp is built in ruby on rails. …

---

## [Mod\_fcgid: couldn't bind unix domain socket](https://www.ruby-forum.com/t/mod-fcgid-couldnt-bind-unix-domain-socket/196803)

<div class="topic-metadata">

**Author:** [@Gambito](https://www.ruby-forum.com/u/Gambito)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/mod-fcgid-couldnt-bind-unix-domain-socket/196803 "2008-09-11T09:04:24Z")

</div>

hi! i’m having the following problem installing fast-cgi to use ruby on rails \[Wed Sep 10 16:48:35 2008\] \[error\] (13)Permission denied: mod\_fcgid: couldn’t bind unix domain socket /tmp/fcgid\_sock/6389.14 is a very s…

---

## [Problem with showing image](https://www.ruby-forum.com/t/problem-with-showing-image/148200)

<div class="topic-metadata">

**Author:** [@jicksta](https://www.ruby-forum.com/u/jicksta)\
**Replies:** 7\
**Last updated:** [September 11, 2008, 8:54am UTC](https://www.ruby-forum.com/t/problem-with-showing-image/148200 "2008-09-11T08:54:26Z")

</div>

Hi I’m using \<%= image\_tag(“nameofimage.png”) %\> to load image in my page and picture is there and it loads very rarely but most of the time (almost all the time) it doesn’t. What can be the cause for it. Also I tried…

---

## [Need help in Ajax Pagination](https://www.ruby-forum.com/t/need-help-in-ajax-pagination/122647)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [September 11, 2008, 6:15am UTC](https://www.ruby-forum.com/t/need-help-in-ajax-pagination/122647 "2008-09-11T06:15:11Z")

</div>

hi All, i wants to implement ajax pagination but i am facing a lot of problem , i found i lots of links on google but their is no explanation like what object we have to pass and condition can any body help me out in…

---

## [Time Problem](https://www.ruby-forum.com/t/time-problem/196802)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 5:47am UTC](https://www.ruby-forum.com/t/time-problem/196802 "2008-09-11T05:47:15Z")

</div>

Hi, In my application I have to correct the time stamp on event discussion posts. Perhaps they are not observing DST? In any case, they are slow by one hour. how to do this ? I have following type of code and I have…

---

## [Dry application architecture](https://www.ruby-forum.com/t/dry-application-architecture/147779)

<div class="topic-metadata">

**Author:** [@gabriel83](https://www.ruby-forum.com/u/gabriel83)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 3:10am UTC](https://www.ruby-forum.com/t/dry-application-architecture/147779 "2008-09-11T03:10:32Z")

</div>

Hi everyone. In my company we developed a rails cms and now we are trying to figure out how to use it in the smartest way. We would like to use our modules, wich are mvc for common site elements like ‘pages’, ‘posts’…

---

## [Off Topic: Lots of Ruby on Rails jobs available](https://www.ruby-forum.com/t/off-topic-lots-of-ruby-on-rails-jobs-available/148265)

<div class="topic-metadata">

**Author:** [@rorjobs](https://www.ruby-forum.com/u/rorjobs)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 2:54am UTC](https://www.ruby-forum.com/t/off-topic-lots-of-ruby-on-rails-jobs-available/148265 "2008-09-11T02:54:03Z")

</div>

Hi All - Just wanted to let you know about a bunch of new jobs now listed on RORJobs.com: Developer @ Give Real - New York, New York Rails Engineer Serious Business - San Francisco, California Rails Developer for Soc…

---

## [Ð£Ñ‚ÑÐ³Ð¸Ð²Ð°ÑŽÑ‰ÐµÐµ Ñ‚Ñ€ÑƒÑÑ‹](https://www.ruby-forum.com/t/d-n-n-d-d-d-d-nzn-d-d-n-n-n-n-n/148264)

<div class="topic-metadata">

**Author:** [@ShopBody.ru](https://www.ruby-forum.com/u/ShopBody.ru)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 2:40am UTC](https://www.ruby-forum.com/t/d-n-n-d-d-d-d-nzn-d-d-n-n-n-n-n/148264 "2008-09-11T02:40:06Z")

</div>

ðÒÅÄÌÁÇÁÅÍ ÕÔÑÇÉ×ÁÀÝÅÅ ÂÅÌØÅ Maidenform USA - ÖÅÎÓËÏÅ ËÏÒÅËÔÉÒÕÀÝÅÅ ÂÅÌØÅ ÎÏÍÅÒ ÏÄÉÎ × áÍÅÒÉËÅ. ëÏÒÓÅÔÎÙÅ ÔÒÕÓÙ (ÕÔÑÇÉ×ÁÀÝÉÅ ÔÒÕÓÙ) ÓÒÅÄÎÅÊ ÓÔÅÐÅÎÉ ËÏÒÒÅËÃÉÉ ÉÚ Ó×ÅÒÈÔÏÎËÏÇÏ ÜÌÁÓÔÉÞÎÏÇÏ ÍÁÔÅÒÉÁÌÁ Ó Ó ÌÁÚÅÒÎÏÊ ÏÂÒÁÂÏÔË…

---

## [Possible Bug: Firefox 3.0.1 - embedded objects](https://www.ruby-forum.com/t/possible-bug-firefox-3-0-1-embedded-objects/148208)

<div class="topic-metadata">

**Author:** [@MalHayn](https://www.ruby-forum.com/u/MalHayn)\
**Replies:** 14\
**Last updated:** [September 11, 2008, 2:34am UTC](https://www.ruby-forum.com/t/possible-bug-firefox-3-0-1-embedded-objects/148208 "2008-09-11T02:34:14Z")

</div>

There is a possible bug when using Firefox 3.0.1 under Rails 2.0.2 with embedding objects. I discovered after upgrading to Firefox 3.0.1, embedded flash movies will not display properly under Rails. The flash movies d…

---

## [MySQL lookups on VARCHAR with accents](https://www.ruby-forum.com/t/mysql-lookups-on-varchar-with-accents/147546)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 1:23am UTC](https://www.ruby-forum.com/t/mysql-lookups-on-varchar-with-accents/147546 "2008-09-11T01:23:30Z")

</div>

I am running into problems with MySQL and lookups. The table has character set utf8, but: mysql\> select id, token from tokens where token = ‘esta’; ±------±------+ | id | token | ±------±------+ | 83417 | está…

---

## [Rspec story - access session](https://www.ruby-forum.com/t/rspec-story-access-session/147114)

<div class="topic-metadata">

**Author:** [@snitko](https://www.ruby-forum.com/u/snitko)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 12:43am UTC](https://www.ruby-forum.com/t/rspec-story-access-session/147114 "2008-09-11T00:43:09Z")

</div>

Very simple, but not googlable: how do I access ‘session’ in my story? In rspec controller specs I could just say session\[:user\] for example, but this doesn’t work here.

---

## [Set Value of text\_field after onchange](https://www.ruby-forum.com/t/set-value-of-text-field-after-onchange/148250)

<div class="topic-metadata">

**Author:** [@pat](https://www.ruby-forum.com/u/pat)\
**Replies:** 1\
**Last updated:** [September 10, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/set-value-of-text-field-after-onchange/148250 "2008-09-10T22:57:48Z")

</div>

Hi, I have a text field which is : \<%= text\_field( “select”, “name” ,{:onchange =\> “this.form.submit();”} ) %\> I want to search database using value entered by user, and when search results are displayed, I want to …

---

## [Legacy database and set\_table\_name](https://www.ruby-forum.com/t/legacy-database-and-set-table-name/148245)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 1\
**Last updated:** [September 10, 2008, 10:36pm UTC](https://www.ruby-forum.com/t/legacy-database-and-set-table-name/148245 "2008-09-10T22:36:43Z")

</div>

I’m trying like crazy to wrap a rails app around a legacy oracle database. This app will not be mutating any data in the database, only viewing it. Here’s a 30 second description of the “schema”. There is a master t…

---

## [Rails on IIS7](https://www.ruby-forum.com/t/rails-on-iis7/117002)

<div class="topic-metadata">

**Author:** [@Drew](https://www.ruby-forum.com/u/Drew)\
**Replies:** 7\
**Last updated:** [September 10, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/rails-on-iis7/117002 "2008-09-10T22:11:58Z")

</div>

The upcoming IIS7 includes out of the box support for FastCGI. I’ve been trying to get Rails running directly under IIS for the past few days, and documenting my progress on the wiki: http://wiki.rubyonrails.org/rails…

---

## [Accessing storing url params as instance variables](https://www.ruby-forum.com/t/accessing-storing-url-params-as-instance-variables/148239)

<div class="topic-metadata">

**Author:** [@tomzoo](https://www.ruby-forum.com/u/tomzoo)\
**Replies:** 0\
**Last updated:** [September 10, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/accessing-storing-url-params-as-instance-variables/148239 "2008-09-10T21:21:00Z")

</div>

Hi, I have an upload form, when a user submits i want to show them a loading page and once the upload is finished show them a success message. I’m new to ruby, can anyone recommend the best way to do this in ruby. T…

---

## [Includin a statement in each method](https://www.ruby-forum.com/t/includin-a-statement-in-each-method/148229)

<div class="topic-metadata">

**Author:** [@jsamildanach](https://www.ruby-forum.com/u/jsamildanach)\
**Replies:** 6\
**Last updated:** [September 10, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/includin-a-statement-in-each-method/148229 "2008-09-10T20:30:32Z")

</div>

I am running tests and I would like to include logger.info("\\n\\n STARTING #{get\_method\_name} \\n\\n") in the beginning of each method in my account\_test.rb file. How would I do that without having to put it in each meth…

---

## [Approach on handling Access Control List and Permissions](https://www.ruby-forum.com/t/approach-on-handling-access-control-list-and-permissions/148230)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 1\
**Last updated:** [September 10, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/approach-on-handling-access-control-list-and-permissions/148230 "2008-09-10T19:45:50Z")

</div>

Hello, I am currently working on an app where I have at least 7 roles. I want to control all the permissions available for each role. Right now I have a users table, roles table and a joined table user\_roles. I have …

---

## [Counter implementation](https://www.ruby-forum.com/t/counter-implementation/148226)

<div class="topic-metadata">

**Author:** [@difei](https://www.ruby-forum.com/u/difei)\
**Replies:** 9\
**Last updated:** [September 10, 2008, 7:07pm UTC](https://www.ruby-forum.com/t/counter-implementation/148226 "2008-09-10T19:07:13Z")

</div>

Greetings all, I have a model which holds a counter field, the field have to be incremented frequently to record the access frequency of the specific object: @obj = Temp.find(id) @obj.counter += 1 @obj.save The im…

---

## [Xmlhttprequest for updating](https://www.ruby-forum.com/t/xmlhttprequest-for-updating/148219)

<div class="topic-metadata">

**Author:** [@da991319](https://www.ruby-forum.com/u/da991319)\
**Replies:** 5\
**Last updated:** [September 10, 2008, 7:04pm UTC](https://www.ruby-forum.com/t/xmlhttprequest-for-updating/148219 "2008-09-10T19:04:10Z")

</div>

Hello, I am updating an object with an AJAX form: view: \<% remote\_form\_for(@sample, :update =\> “content2”) do %\> parameter: \<%= select("sample","parameter",Parameter.find(:all).collect {|p| \[p.descriptio…

---

## [1.1.6 bug? Recognition failed for "/rails/info/properties"](https://www.ruby-forum.com/t/1-1-6-bug-recognition-failed-for-rails-info-properties/65716)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 2\
**Last updated:** [September 10, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/1-1-6-bug-recognition-failed-for-rails-info-properties/65716 "2008-09-10T17:39:49Z")

</div>

After upgrading my app to 1.1.6, I noticed that /rails/info/properties results in the error: Recognition failed for “/rails/info/properties” However in a new 1.1.6 app, the same route works fine. Turns out, if 1.1.6 …

---

## [Deploying rails in an intranet](https://www.ruby-forum.com/t/deploying-rails-in-an-intranet/148202)

<div class="topic-metadata">

**Author:** [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Replies:** 4\
**Last updated:** [September 10, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/deploying-rails-in-an-intranet/148202 "2008-09-10T17:19:15Z")

</div>

First, I know nothing about web servers, ports, networks and stuff… I was comfortable with my webrick for development… Now, I developed an app for internal use in my company, we have a server and about 50 computers i…

---

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

<div class="topic-metadata">

**Author:** [@ANSS](https://www.ruby-forum.com/u/ANSS)\
**Replies:** 6\
**Last updated:** [September 10, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/acts-as-tree/99116 "2008-09-10T16:36:23Z")

</div>

Hello, I’m trying to create categories that have their own subcategories, and each subcategory may have its own subcategories, … and so on. After some reading, I found out that the best way for creating such a thing …

---

## [How do i use a newly installed gem?](https://www.ruby-forum.com/t/how-do-i-use-a-newly-installed-gem/148159)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 6\
**Last updated:** [September 10, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/how-do-i-use-a-newly-installed-gem/148159 "2008-09-10T16:04:01Z")

</div>

Hi - I wanted to try out the Blackbook gem: http://contentfree.rubyforge.org/blackbook/ So I did gem install blackbook and I kept getting failures installing, and finally I used the – ignore-dependencies flag in gem…

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

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