# Rails

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

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

---

## [Help: rails magic fallout](https://www.ruby-forum.com/t/help-rails-magic-fallout/162711)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 4\
**Last updated:** [March 13, 2009, 10:20am UTC](https://www.ruby-forum.com/t/help-rails-magic-fallout/162711 "2009-03-13T10:20:31Z")

</div>

Hi all, I’ve just wasted a day fixing an issue that IMO shouldn’t be one. I’ve got a workaround, but it smells as there’s more, and I would greatly appreciate pointers what to watch out for. The issue: I’ve got a mod…

---

## [Ideas for implementing an UI for set combinations in rails](https://www.ruby-forum.com/t/ideas-for-implementing-an-ui-for-set-combinations-in-rails/162727)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 13, 2009, 10:06am UTC](https://www.ruby-forum.com/t/ideas-for-implementing-an-ui-for-set-combinations-in-rails/162727 "2009-03-13T10:06:22Z")

</div>

Hi, Iam rails newbie. I have to implement a UI design for 3 tables based on set theory. I thought a lot of a lot of ideas in the past few days but nothing seemed to fulfil my necessity Say i have tables a, b and c …

---

## [Issue with SOAP response XML format for Array Types with AWS](https://www.ruby-forum.com/t/issue-with-soap-response-xml-format-for-array-types-with-aws/162730)

<div class="topic-metadata">

**Author:** [@Piyush\_with\_Rails](https://www.ruby-forum.com/u/Piyush_with_Rails)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 8:23am UTC](https://www.ruby-forum.com/t/issue-with-soap-response-xml-format-for-array-types-with-aws/162730 "2009-03-13T08:23:21Z")

</div>

Hi All, There is an issue with AWS in SOAP response XML generated for Array types. If we are using array types in signature at returns place, then in SOAP response XML for this method array elements are represented w…

---

## [Normalized table query not working now](https://www.ruby-forum.com/t/normalized-table-query-not-working-now/162685)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 1\
**Last updated:** [March 13, 2009, 8:21am UTC](https://www.ruby-forum.com/t/normalized-table-query-not-working-now/162685 "2009-03-13T08:21:00Z")

</div>

I have a Card table that previously had all of the data in it. I made a quite few tables and pulled the duplicated data into their own table. I was doing this: @cards = Card.find\_all\_by\_node\_id(@node.id, :conditions…

---

## [Session Expiry](https://www.ruby-forum.com/t/session-expiry/162634)

<div class="topic-metadata">

**Author:** [@NARAYANAN\_CJ](https://www.ruby-forum.com/u/NARAYANAN_CJ)\
**Replies:** 3\
**Last updated:** [March 13, 2009, 8:01am UTC](https://www.ruby-forum.com/t/session-expiry/162634 "2009-03-13T08:01:08Z")

</div>

Helllo there, Can any one help me on this “Session Expiry” I just want to make the session expire when the system goes idle how do i do it yours , Narayanan.cj.

---

## [Head First Rails Book](https://www.ruby-forum.com/t/head-first-rails-book/162717)

<div class="topic-metadata">

**Author:** [@devrubygem](https://www.ruby-forum.com/u/devrubygem)\
**Replies:** 2\
**Last updated:** [March 13, 2009, 7:51am UTC](https://www.ruby-forum.com/t/head-first-rails-book/162717 "2009-03-13T07:51:46Z")

</div>

I’m going through Rails Space right now, but has anyone heard any good things about this book for a rails beginner?

---

## [Opening for Ruby on rails developers in Pune, India](https://www.ruby-forum.com/t/opening-for-ruby-on-rails-developers-in-pune-india/162723)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 6:52am UTC](https://www.ruby-forum.com/t/opening-for-ruby-on-rails-developers-in-pune-india/162723 "2009-03-13T06:52:05Z")

</div>

We currently are looking for bright innovators just like you to join our dynamic start up team. So, if you are a master of either Ruby on Rails, and have always dreamed of working in an energetic, highly skilled and e…

---

## [Production Logging with Rails 2.2.2](https://www.ruby-forum.com/t/production-logging-with-rails-2-2-2/162606)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 13, 2009, 4:34am UTC](https://www.ruby-forum.com/t/production-logging-with-rails-2-2-2/162606 "2009-03-13T04:34:11Z")

</div>

I’m having an issue with logging when I run my Rails app in production mode: script/console production Loading production environment (Rails 2.2.2) Rails.logger =\> #\<ActiveSupport::BufferedLogger:0x24e46c8 @auto\_f…

---

## [Redmine: 500 Internal Server Error Content-Type: text/html](https://www.ruby-forum.com/t/redmine-500-internal-server-error-content-type-text-html/162708)

<div class="topic-metadata">

**Author:** [@Vladimir](https://www.ruby-forum.com/u/Vladimir)\
**Replies:** 2\
**Last updated:** [March 12, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/redmine-500-internal-server-error-content-type-text-html/162708 "2009-03-12T23:38:17Z")

</div>

Hello! I have a such problem in my redmine app, like "Redmine: 500 Internal Server Error Content-Type: text/html " error, from time to time, and there is no periodicly matches. Versions: Rails - 2.2.2 Ruby - 1.8.5 …

---

## [Is there a way to have link\_to\_remote execute two actions?](https://www.ruby-forum.com/t/is-there-a-way-to-have-link-to-remote-execute-two-actions/162709)

<div class="topic-metadata">

**Author:** [@davidf](https://www.ruby-forum.com/u/davidf)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 11:36pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-have-link-to-remote-execute-two-actions/162709 "2009-03-12T23:36:31Z")

</div>

I’d like users to click on a link with modifies the current page and opens a new external url in a new window. I’ve got the link\_to\_remote working fine and the current page is updated. But how to I open a url in a n…

---

## [Noobie questions about sotware versions](https://www.ruby-forum.com/t/noobie-questions-about-sotware-versions/162704)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 11:33pm UTC](https://www.ruby-forum.com/t/noobie-questions-about-sotware-versions/162704 "2009-03-12T23:33:35Z")

</div>

‘If I can do it then it can’t be done …’. As Dr. Nick of the Simpsons Sez : Hi Everybody ! I’m about to start my 1st Ruby on Rails (RoR) development project. The development platform I’ll be using is a Mac running O…

---

## [Using instance variable within JavaScript function loaded in a partial](https://www.ruby-forum.com/t/using-instance-variable-within-javascript-function-loaded-in-a-partial/162698)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/using-instance-variable-within-javascript-function-loaded-in-a-partial/162698 "2009-03-12T23:27:43Z")

</div>

Im wondering, how do I go about allowing my javascript function to load the updated instance variable that is loaded within a partial? To be specific, I have a javascript function call: onmousedown=“changeTab(this)” f…

---

## [Ruby on Rails engineer needed in San Francisco, Ca](https://www.ruby-forum.com/t/ruby-on-rails-engineer-needed-in-san-francisco-ca/162706)

<div class="topic-metadata">

**Author:** [@dtessitore](https://www.ruby-forum.com/u/dtessitore)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-engineer-needed-in-san-francisco-ca/162706 "2009-03-12T23:23:01Z")

</div>

Hello Group, Below is a great opportunity for a Ruby on Rails engineer in the San Francisco area. If you’re interested please let me know. Thanks, Darren Tessitore removed\_email\_address@domain.invalid Ruby on Rai…

---

## [2.3 Release notes](https://www.ruby-forum.com/t/2-3-release-notes/162707)

<div class="topic-metadata">

**Author:** [@jerry.vos](https://www.ruby-forum.com/u/jerry.vos)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/2-3-release-notes/162707 "2009-03-12T23:23:01Z")

</div>

Hi all, I just wanted to comment on “5.8 Improved Caching Performance” in the Rails 2.3 release notes (http://guides.rubyonrails.org/ 2\_3\_release\_notes.html). In my first read through of the notes, I had absolutely no…

---

## [Can RoR do this? How easily?](https://www.ruby-forum.com/t/can-ror-do-this-how-easily/162023)

<div class="topic-metadata">

**Author:** [@Zonker](https://www.ruby-forum.com/u/Zonker)\
**Replies:** 12\
**Last updated:** [March 12, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/can-ror-do-this-how-easily/162023 "2009-03-12T23:07:47Z")

</div>

I am consulting on a software project which is database intensive and the interface is web-based. Users can download an installation package which, if necessary, installs Microsoft IIS, some free Microsoft database se…

---

## [Scaling full text indexing(ferret vs solr vs hyperstraier)](https://www.ruby-forum.com/t/scaling-full-text-indexing-ferret-vs-solr-vs-hyperstraier/162307)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 10:04pm UTC](https://www.ruby-forum.com/t/scaling-full-text-indexing-ferret-vs-solr-vs-hyperstraier/162307 "2009-03-12T22:04:25Z")

</div>

Hi, Does any have experience scaling full text search in RoR? Right now our project is running a simple setup with ferret and acts\_as\_ferret. We are thinking about deploying a feature that would send 50x more search …

---

## [Partials layouts](https://www.ruby-forum.com/t/partials-layouts/162693)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/partials-layouts/162693 "2009-03-12T21:21:23Z")

</div>

In partial I have something like this: \<% if @first == ‘x’ %\> xxx: \<%= @data.xxx %\> yyy: \<%= @data.yyy %\> \<% else %\> yyy: \<%= @data.yyy %\> xxx: \<%= @data.xxx %\> \<% end %\> zzz: \<%= @data.zzz %\> qqq: \<%= @data.qqq …

---

## [Rails to C binding of libgio](https://www.ruby-forum.com/t/rails-to-c-binding-of-libgio/162662)

<div class="topic-metadata">

**Author:** [@mvargo](https://www.ruby-forum.com/u/mvargo)\
**Replies:** 2\
**Last updated:** [March 12, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/rails-to-c-binding-of-libgio/162662 "2009-03-12T20:25:03Z")

</div>

I’m trying to use some functions from the Gnome GIO library to get extended file attributes. I’m doing this by writing a C extension using the wonderful directions in http://www.rubycentral.com/pickaxe/ext\_ruby.html. …

---

## [What's the latest on WYSIWYG editor integration with Rails?](https://www.ruby-forum.com/t/whats-the-latest-on-wysiwyg-editor-integration-with-rails/162609)

<div class="topic-metadata">

**Author:** [@phallstrom](https://www.ruby-forum.com/u/phallstrom)\
**Replies:** 5\
**Last updated:** [March 12, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/whats-the-latest-on-wysiwyg-editor-integration-with-rails/162609 "2009-03-12T20:19:10Z")

</div>

Hi all - For awhile now I’ve been using Fckeditor (and it’s rails plugin) but was wondering if there might be something new to take a look at. Mostly just curious. Ease of use and asset/integration are the most impo…

---

## [Polymorphic Nested Attributes In 2.3](https://www.ruby-forum.com/t/polymorphic-nested-attributes-in-2-3/162241)

<div class="topic-metadata">

**Author:** [@Gary\_Taylor](https://www.ruby-forum.com/u/Gary_Taylor)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/polymorphic-nested-attributes-in-2-3/162241 "2009-03-12T20:14:34Z")

</div>

Has anyone had any experience of using nested attributes with polymorphic associations ? I cannot see how it would work as the model would need to know the class of the object to create (when creating a new record fo…

---

## [Simple search form with restful routes?](https://www.ruby-forum.com/t/simple-search-form-with-restful-routes/162235)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/simple-search-form-with-restful-routes/162235 "2009-03-12T19:42:57Z")

</div>

What am I doing wrong? I just want to create a simple form where I can enter the ID of a model and it take me to that model. I’m trying to place the form in the application layout, so I can use it from anywhere in m…

---

## [Compare changes](https://www.ruby-forum.com/t/compare-changes/162678)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 1\
**Last updated:** [March 12, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/compare-changes/162678 "2009-03-12T19:41:32Z")

</div>

How can I compare an entry? @edit = Data.find(4) After this, user update some data en press submit. How can compare, is there any changes in new @edit and what is in database? Have user chnged any data or pressed ju…

---

## [How can I append a text\_field\_tag to a form\_for?](https://www.ruby-forum.com/t/how-can-i-append-a-text-field-tag-to-a-form-for/162664)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 4\
**Last updated:** [March 12, 2009, 6:14pm UTC](https://www.ruby-forum.com/t/how-can-i-append-a-text-field-tag-to-a-form-for/162664 "2009-03-12T18:14:57Z")

</div>

Hello people, how can I append a text\_field\_tag to a form\_for? When I submit the form all text\_field\_tags are not being appended to the params…

---

## [Will\_paginate problem](https://www.ruby-forum.com/t/will-paginate-problem/162639)

<div class="topic-metadata">

**Author:** [@engamocap](https://www.ruby-forum.com/u/engamocap)\
**Replies:** 4\
**Last updated:** [March 12, 2009, 5:39pm UTC](https://www.ruby-forum.com/t/will-paginate-problem/162639 "2009-03-12T17:39:50Z")

</div>

I searched in Internet (http://wiki.github.com/mislav/will\_paginate/ simple-search and #51 will\_paginate - RailsCasts), but I can’t solve my problem about pagination. The first page is ok, but when I click the “Next p…

---

## [How to reuse named scope conditions with eager loading](https://www.ruby-forum.com/t/how-to-reuse-named-scope-conditions-with-eager-loading/162674)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/how-to-reuse-named-scope-conditions-with-eager-loading/162674 "2009-03-12T17:38:38Z")

</div>

Hi, I’ve got Channel model that has many events. Event belongs to channel and additionally has a named scope called “current”. I need to iterate over each channel and then over each “current” event for given channel …

---

## [Cleaning Action Cache not working for show action](https://www.ruby-forum.com/t/cleaning-action-cache-not-working-for-show-action/162671)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 5:31pm UTC](https://www.ruby-forum.com/t/cleaning-action-cache-not-working-for-show-action/162671 "2009-03-12T17:31:00Z")

</div>

Hi, I realized (in development environment with caching activated) that cleaning the action cache for the show action is not working properly. The caching itself works fine - but once I try to clean the cache via th…

---

## [How to do queries for 'nested :partial' structures?](https://www.ruby-forum.com/t/how-to-do-queries-for-nested-partial-structures/162618)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 2\
**Last updated:** [March 12, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/how-to-do-queries-for-nested-partial-structures/162618 "2009-03-12T16:51:43Z")

</div>

Hi there, what’s the most resource friendly way to program the following? In the VIEW, I need to show a ‘nested :has\_many’ structure like this: ============= Author1 BookA … ChapterX … Page-i … BookB … Chapt…

---

## [Cookie not written in production environment](https://www.ruby-forum.com/t/cookie-not-written-in-production-environment/162667)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/cookie-not-written-in-production-environment/162667 "2009-03-12T16:42:23Z")

</div>

Hi there, Rails 2.2.2 on Debian Server. i’m setting a cookie like cookies\[:tg\_usn\] = { :value =\> @user.username, :expires =\> 5.day.from\_now, } This work’s fine in development environment, but when i start mongrel …

---

## [How to read a charecters from and image?](https://www.ruby-forum.com/t/how-to-read-a-charecters-from-and-image/162646)

<div class="topic-metadata">

**Author:** [@mjayakumar2k6](https://www.ruby-forum.com/u/mjayakumar2k6)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/how-to-read-a-charecters-from-and-image/162646 "2009-03-12T16:41:40Z")

</div>

hi, How to read a letters in one image. I want to read the alphabets from that given image. Please help me to solve this issue…

---

## [Ruby-ansisys](https://www.ruby-forum.com/t/ruby-ansisys/162665)

<div class="topic-metadata">

**Author:** [@Christian\_Gonzales\_S](https://www.ruby-forum.com/u/Christian_Gonzales_S)\
**Replies:** 0\
**Last updated:** [March 12, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/ruby-ansisys/162665 "2009-03-12T16:40:29Z")

</div>

How install Rubyansisys? in Windows XP Thanks, – Saludos Cordiales, Christian David Gonzales Komiya Analista-Programador Cel : 992800307 Blog: http://4cuatros.blogspot.com

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

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