# Rails

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

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

---

## [Install error for rails-widgets](https://www.ruby-forum.com/t/install-error-for-rails-widgets/165561)

<div class="topic-metadata">

**Author:** [@nmt999](https://www.ruby-forum.com/u/nmt999)\
**Replies:** 3\
**Last updated:** [April 16, 2009, 4:54am UTC](https://www.ruby-forum.com/t/install-error-for-rails-widgets/165561 "2009-04-16T04:54:39Z")

</div>

When i am trying to install the rails-widgets on windows vista from http://wiki.github.com/paolodona/rails-widgets location I get an error. Please help. cd myrails-app ruby script/plugin install git://github.com/paol…

---

## [How to aggregate tags on child nodes?](https://www.ruby-forum.com/t/how-to-aggregate-tags-on-child-nodes/165656)

<div class="topic-metadata">

**Author:** [@raymond](https://www.ruby-forum.com/u/raymond)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 4:45am UTC](https://www.ruby-forum.com/t/how-to-aggregate-tags-on-child-nodes/165656 "2009-04-16T04:45:18Z")

</div>

Let’s say I have a Recipe model, and it is a parent of the Review model. Reviews are entered by users of the system, with one or more tags using the acts\_as\_taggable\_on\_steroids plugin (for instance). What I’m interes…

---

## [:has\_many best practice search order](https://www.ruby-forum.com/t/has-many-best-practice-search-order/165653)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 4:38am UTC](https://www.ruby-forum.com/t/has-many-best-practice-search-order/165653 "2009-04-16T04:38:52Z")

</div>

I have a model\_one that :has\_many model\_two-s, I would like to find the ten model\_one’s that have the most model\_two’s. What is the best way to do this? Model\_One.find(:all, :limit =\> 10, :include =\> :model\_two, :orde…

---

## [Spreadsheet -avoid reading and writing from file how?](https://www.ruby-forum.com/t/spreadsheet-avoid-reading-and-writing-from-file-how/165560)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 4:38am UTC](https://www.ruby-forum.com/t/spreadsheet-avoid-reading-and-writing-from-file-how/165560 "2009-04-16T04:38:07Z")

</div>

Hi I am using http://spreadsheet.rubyforge.org/ in my application…Usage like book = Spreadsheet::Workbook.new book.write “#{RAILS\_ROOT}/public/uploads/excel-file.xls” render :file =\> “#{RAILS\_ROOT}/public/uploads/ex…

---

## [Rails 2.3](https://www.ruby-forum.com/t/rails-2-3/165640)

<div class="topic-metadata">

**Author:** [@binkly](https://www.ruby-forum.com/u/binkly)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 4:21am UTC](https://www.ruby-forum.com/t/rails-2-3/165640 "2009-04-16T04:21:27Z")

</div>

Hello, I’ve been looking on the Internet for how to use libxml within Rails. What I’m seeing is a little confusing. If you install the libxml gem, will Rails automatically use that because its installed or do you hav…

---

## [Online rails music Application](https://www.ruby-forum.com/t/online-rails-music-application/165648)

<div class="topic-metadata">

**Author:** [@GabrielG1976](https://www.ruby-forum.com/u/GabrielG1976)\
**Replies:** 0\
**Last updated:** [April 16, 2009, 2:28am UTC](https://www.ruby-forum.com/t/online-rails-music-application/165648 "2009-04-16T02:28:41Z")

</div>

Online Rails App that converts text into musical compositions thought the communtiy might be interested in this application http://www.literature2music.com/

---

## [Model Accessor Does Not Work Until After Reload?](https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 1:18am UTC](https://www.ruby-forum.com/t/model-accessor-does-not-work-until-after-reload/165637 "2009-04-16T01:18:32Z")

</div>

Anyone have any insight into why this would be happening? Please see pastie: http://pastie.org/447786

---

## [Unknown Action error while updating record](https://www.ruby-forum.com/t/unknown-action-error-while-updating-record/165638)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 16, 2009, 12:14am UTC](https://www.ruby-forum.com/t/unknown-action-error-while-updating-record/165638 "2009-04-16T00:14:11Z")

</div>

I understand other people have had trouble using :action =\> ‘update’ with form\_tag… but I haven’t figured it out yet… here is my declaration of the form: \<% form\_tag :action =\> ‘update’, :html =\> {:method =\> “put”} do…

---

## [Controlling concurrency](https://www.ruby-forum.com/t/controlling-concurrency/165557)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 6\
**Last updated:** [April 16, 2009, 12:03am UTC](https://www.ruby-forum.com/t/controlling-concurrency/165557 "2009-04-16T00:03:03Z")

</div>

What do you think is the best way to manage concurrency in this (made up) scenario? You are selling Orders for items of various ProductVariants, belonging to one Product There may be an upper limit to how many Orders…

---

## [Best framework for graphs and charts](https://www.ruby-forum.com/t/best-framework-for-graphs-and-charts/165631)

<div class="topic-metadata">

**Author:** [@gustav](https://www.ruby-forum.com/u/gustav)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/best-framework-for-graphs-and-charts/165631 "2009-04-15T22:05:27Z")

</div>

I have some data in a bunch of tables that I would like to display in a set of graphs. I’ve been looking at the Google Visualization API, Ziya and Fusioncharts - they all look nice but it would feel better to go with …

---

## [Generating a css file from ruby code](https://www.ruby-forum.com/t/generating-a-css-file-from-ruby-code/165627)

<div class="topic-metadata">

**Author:** [@gavin](https://www.ruby-forum.com/u/gavin)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/generating-a-css-file-from-ruby-code/165627 "2009-04-15T21:18:04Z")

</div>

Hi all! I’m playing around with an app at the moment in which users can specify their own style settings for the majority of the HTML on their profile through selecting some form options. Alternatively they can uploa…

---

## [Return to previous page](https://www.ruby-forum.com/t/return-to-previous-page/165604)

<div class="topic-metadata">

**Author:** [@kinunt](https://www.ruby-forum.com/u/kinunt)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/return-to-previous-page/165604 "2009-04-15T21:15:07Z")

</div>

Is there a ‘rails way’ to allow easy navigation to the previous page or should we use parameters and ‘ifs’? I’m talking about, for example, a ‘Back’ button that links to differente pages depending the previous page. …

---

## [RSS Feed parsing problem](https://www.ruby-forum.com/t/rss-feed-parsing-problem/165341)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 9:04pm UTC](https://www.ruby-forum.com/t/rss-feed-parsing-problem/165341 "2009-04-15T21:04:34Z")

</div>

I want to parse multiple feeds but i have ran into problems Im doing a query on a table which returns rss feed urls stored in an instance variable called @urls . with each of these eed urls i want to parse them like b…

---

## [Newbie Model Question](https://www.ruby-forum.com/t/newbie-model-question/165623)

<div class="topic-metadata">

**Author:** [@Nicktabs](https://www.ruby-forum.com/u/Nicktabs)\
**Replies:** 1\
**Last updated:** [April 15, 2009, 9:03pm UTC](https://www.ruby-forum.com/t/newbie-model-question/165623 "2009-04-15T21:03:24Z")

</div>

I’m building a shop in rails as a learning excercise. I’ve got to the last part when I’m sending out e-mail order confirmations. The e-mails contain a list of each line item the customer ordered, I also want to displa…

---

## [Stack level too deep (SystemStackError)](https://www.ruby-forum.com/t/stack-level-too-deep-systemstackerror/59216)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 9\
**Last updated:** [April 15, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/stack-level-too-deep-systemstackerror/59216 "2009-04-15T20:46:18Z")

</div>

I have the following installed: Engines version 1.1.1 login\_engine 1.0.1 user\_engine (no version noted, cuz no CHANGELOG provided, but just upgraded) Runs great on my dev machine (don’t they always?) using Ruby 1.8.…

---

## [Hpricot bug?](https://www.ruby-forum.com/t/hpricot-bug/165621)

<div class="topic-metadata">

**Author:** [@stoffe\_boff](https://www.ruby-forum.com/u/stoffe_boff)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 8:04pm UTC](https://www.ruby-forum.com/t/hpricot-bug/165621 "2009-04-15T20:04:59Z")

</div>

I get an error in the hpricot-gem on Windows XP sp3. I have tested different versions of it and combined them with different versions of sequel (including the latest of both). The error triggers on the line when I do:…

---

## [Revision: Background image contained in stylesheet](https://www.ruby-forum.com/t/revision-background-image-contained-in-stylesheet/165613)

<div class="topic-metadata">

**Author:** [@rubio](https://www.ruby-forum.com/u/rubio)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 7:47pm UTC](https://www.ruby-forum.com/t/revision-background-image-contained-in-stylesheet/165613 "2009-04-15T19:47:49Z")

</div>

I realized that I should have included a bit more information in my previous post, so here’s the revision. application.html.erb is correctly finding the stylesheet for my project via \<%= stylesheet\_link\_tag ‘style1’ %\>…

---

## [Gem install mysql "checking for mysql\_query() in -lmysqlclie](https://www.ruby-forum.com/t/gem-install-mysql-checking-for-mysql-query-in-lmysqlclie/165598)

<div class="topic-metadata">

**Author:** [@robredford](https://www.ruby-forum.com/u/robredford)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/gem-install-mysql-checking-for-mysql-query-in-lmysqlclie/165598 "2009-04-15T19:24:14Z")

</div>

I’ve seen this before but I’ve forgotten how to solve it. It appears that I have the mysql client libraries installed: iono@retro\[08:25:55\]\[~/\] locate libmysqlclient.so /usr/lib/mysql3/mysql/libmysqlclient.so /usr/li…

---

## [Complex forms: only one level of â€œarrayn essâ€ is allowed?](https://www.ruby-forum.com/t/complex-forms-only-one-level-of-a-oearrayn-essa-is-allowed/165558)

<div class="topic-metadata">

**Author:** [@PJPJPJ](https://www.ruby-forum.com/u/PJPJPJ)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/complex-forms-only-one-level-of-a-oearrayn-essa-is-allowed/165558 "2009-04-15T18:40:19Z")

</div>

Hi all, I thought I was trying to do something rather simple, but it has caused me a lot of headaches. Here it is: in my program: model\_a has\_many model\_b. model\_b has\_many model\_c. in the user interface, I would…

---

## [RSS feed consumption](https://www.ruby-forum.com/t/rss-feed-consumption/165421)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/rss-feed-consumption/165421 "2009-04-15T18:22:41Z")

</div>

I have a requirement to take an RRS feed into a Rails app and automatically update a table from the data provided therefrom (foreign currency exchange rates). I have found the feedtools gem but this seems to be a lit…

---

## [A client and a contractor are both users, share some attrib but not others, how to implement as use](https://www.ruby-forum.com/t/a-client-and-a-contractor-are-both-users-share-some-attrib-but-not-others-how-to-implement-as-use/165263)

<div class="topic-metadata">

**Author:** [@nik](https://www.ruby-forum.com/u/nik)\
**Replies:** 9\
**Last updated:** [April 15, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/a-client-and-a-contractor-are-both-users-share-some-attrib-but-not-others-how-to-implement-as-use/165263 "2009-04-15T18:19:43Z")

</div>

Hello All, I have a User Model at the moment that has only username, password, and roles. As you might guess, I can add to the User Model a phone column which our clients have and our contractors also have. Many othe…

---

## [External programs](https://www.ruby-forum.com/t/external-programs/165599)

<div class="topic-metadata">

**Author:** [@pipistrellrf](https://www.ruby-forum.com/u/pipistrellrf)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 5:29pm UTC](https://www.ruby-forum.com/t/external-programs/165599 "2009-04-15T17:29:17Z")

</div>

how i can follow to execute external programs: define, that they don’t hung with Kernel method system or another? may be use timeout? excuse me for my bad english :slight\_smile:

---

## [RoR developer req in DC area with my direct client](https://www.ruby-forum.com/t/ror-developer-req-in-dc-area-with-my-direct-client/165605)

<div class="topic-metadata">

**Author:** [@Vikas\_S](https://www.ruby-forum.com/u/Vikas_S)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/ror-developer-req-in-dc-area-with-my-direct-client/165605 "2009-04-15T17:22:50Z")

</div>

Hi, I am Sr. Resource Manager at Marlabs and we are seeking a RoR developer for our direct client in DC area. Pl advise if you are interested. The req is as follows: - Sr. Developer - Ruby on Rails Job Description …

---

## [HTTP Digest Authentication PUT DELETE problem. Bug?](https://www.ruby-forum.com/t/http-digest-authentication-put-delete-problem-bug/163405)

<div class="topic-metadata">

**Author:** [@greq](https://www.ruby-forum.com/u/greq)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/http-digest-authentication-put-delete-problem-bug/163405 "2009-04-15T17:22:50Z")

</div>

Hi all, I’ve got a problem with HTTP Digest Authentication after upgrading Rails to 2.3.2. It seems that it is broken for PUT and DELETE requests method. Here is what I did: Generate new rails app in rails 2.3.2 Ad…

---

## [\[ANN\] Rails plugin to improve log format](https://www.ruby-forum.com/t/ann-rails-plugin-to-improve-log-format/165606)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/ann-rails-plugin-to-improve-log-format/165606 "2009-04-15T17:22:50Z")

</div>

I have created a Rails plugin to improve the log file format. (It also adds an optional “Exception” parameter to the warn() and error() methods to print a stack trace automatically.) It’s available here: Improved lo…

---

## [Backspace in strings and patterns](https://www.ruby-forum.com/t/backspace-in-strings-and-patterns/165603)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 5:22pm UTC](https://www.ruby-forum.com/t/backspace-in-strings-and-patterns/165603 "2009-04-15T17:22:15Z")

</div>

Interesting. Not what I expected. This is Ruby 1.8.6. irb irb(main):001:0\> str = “abx\\bc” =\> “abx\\bc” irb(main):002:0\> str.length =\> 5 irb(main):003:0\> s = str.sub(/.\\b/, ‘’) =\> “ab\\bc” irb(main):004:0\> s.leng…

---

## [Can Rails I18n translate plugins?](https://www.ruby-forum.com/t/can-rails-i18n-translate-plugins/165596)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/can-rails-i18n-translate-plugins/165596 "2009-04-15T16:25:32Z")

</div>

Hi there, can anyone tell me if it is possible for Rails’ (2.3.2) I18n component to translate files outside of the ‘app’ folder (i.e. plugins in the ‘vendor’ folder)? Would it need any kind of “hack” or would files b…

---

## [Radio buttons?](https://www.ruby-forum.com/t/radio-buttons/165576)

<div class="topic-metadata">

**Author:** [@dnstevenson](https://www.ruby-forum.com/u/dnstevenson)\
**Replies:** 5\
**Last updated:** [April 15, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/radio-buttons/165576 "2009-04-15T16:05:46Z")

</div>

if i got a couple of radio buttons on my form that i want to use a published\_at field rather than a boolean field how would i go about this? I know that if i’m using a boolean i can do the following. \<%= f.radio\_butto…

---

## [Multiple CheckBox and Radio Buttons](https://www.ruby-forum.com/t/multiple-checkbox-and-radio-buttons/165583)

<div class="topic-metadata">

**Author:** [@psnavaneethan](https://www.ruby-forum.com/u/psnavaneethan)\
**Replies:** 0\
**Last updated:** [April 15, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/multiple-checkbox-and-radio-buttons/165583 "2009-04-15T15:09:42Z")

</div>

I am using multiple check box (more than 1 checkboxes) and a radio button and when I click the “Submit” button, it calls the “create” method it is inserting only 1 value for checkbox and also for the radio button. C…

---

## [RoR engineers needed in San Francisco](https://www.ruby-forum.com/t/ror-engineers-needed-in-san-francisco/165559)

<div class="topic-metadata">

**Author:** [@dtessitore](https://www.ruby-forum.com/u/dtessitore)\
**Replies:** 2\
**Last updated:** [April 15, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/ror-engineers-needed-in-san-francisco/165559 "2009-04-15T14:51:32Z")

</div>

Hello Group, Do you love games? My client is looking for a few RoR developers to work on-site in San Francisco. This is a very exciting company making some very exciting apps. Find our more about the position here: …

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

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