# Rails

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

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

---

## [RAILS on UBUNTU](https://www.ruby-forum.com/t/rails-on-ubuntu/104134)

<div class="topic-metadata">

**Author:** [@mekdigital](https://www.ruby-forum.com/u/mekdigital)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/rails-on-ubuntu/104134 "2007-05-14T19:05:35Z")

</div>

Hello Friends! :slight\_smile: I’ve sold my iBook before landing in LA yesterday and as long as I can’t afford buying a new one I have to do it with LINUX : ) I’ve been installing the system yesterday and it’s working …

---

## [Looking for ideas from a new ROR programmer](https://www.ruby-forum.com/t/looking-for-ideas-from-a-new-ror-programmer/104137)

<div class="topic-metadata">

**Author:** [@freewolf](https://www.ruby-forum.com/u/freewolf)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/looking-for-ideas-from-a-new-ror-programmer/104137 "2007-05-14T18:39:31Z")

</div>

Greetings all, I am just getting into Ruby on Rails. I come from a LAMP background, and am throughly enjoying the ease of ROR. I have set myself up to learn this through giving myself a small project. Learn through e…

---

## [Strange ArgumentError with render\_template](https://www.ruby-forum.com/t/strange-argumenterror-with-render-template/104138)

<div class="topic-metadata">

**Author:** [@juantar](https://www.ruby-forum.com/u/juantar)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/strange-argumenterror-with-render-template/104138 "2007-05-14T17:55:24Z")

</div>

Hi I am getting a wrong number of arguments (4 for 1) error when render\_template is called for the auto\_complete\_for\_demerit\_slip\_std\_name action (which does an inline render (render :inline =\> “\<%= auto\_complete\_resu…

---

## [Order by returning strange results](https://www.ruby-forum.com/t/order-by-returning-strange-results/104135)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/order-by-returning-strange-results/104135 "2007-05-14T17:36:40Z")

</div>

Hi, I am trying to make a call to find, and have the result set ordered. However, I am experiencing some strange behaviour. The column I want to sort on is of type varchar, but actually contains floating point numbe…

---

## [Rails developers near the Lubbock, Texas area](https://www.ruby-forum.com/t/rails-developers-near-the-lubbock-texas-area/104126)

<div class="topic-metadata">

**Author:** [@Cody\_P\_Skidmore](https://www.ruby-forum.com/u/Cody_P_Skidmore)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/rails-developers-near-the-lubbock-texas-area/104126 "2007-05-14T16:22:55Z")

</div>

If you are a Ruby On Rails enthusiast living in or near Lubbock, Texas, please contact me at: cody@\_nospam\_skidmore.us (remove nospam from the address). With Regards, Cody P. Skidmore

---

## [Attachment\_fu, polymorphic model](https://www.ruby-forum.com/t/attachment-fu-polymorphic-model/103843)

<div class="topic-metadata">

**Author:** [@walksalong](https://www.ruby-forum.com/u/walksalong)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/attachment-fu-polymorphic-model/103843 "2007-05-14T16:21:22Z")

</div>

I’m borrowing this question from a user named Spencer on the Rails Forums. He clearly explains the issue we’re having: "First of all, apologies, as I am probably missing something utterly obvious. I am trying to set …

---

## [LibXSLT-Ruby install on Windows](https://www.ruby-forum.com/t/libxslt-ruby-install-on-windows/104125)

<div class="topic-metadata">

**Author:** [@badelatng](https://www.ruby-forum.com/u/badelatng)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/libxslt-ruby-install-on-windows/104125 "2007-05-14T16:01:20Z")

</div>

Hi, I need to use XSLT with Rails, but I’m developing on Windows. Unfortunately, the LibXML-Ruby gem doesn’t install on Windows boxes… And LibXSLT-Ruby depends on it. Has anyone managed to get LibXSLT-Ruby working o…

---

## [Fetching RSS feeds in background](https://www.ruby-forum.com/t/fetching-rss-feeds-in-background/89368)

<div class="topic-metadata">

**Author:** [@Behi](https://www.ruby-forum.com/u/Behi)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/fetching-rss-feeds-in-background/89368 "2007-05-14T15:58:19Z")

</div>

Hi all, How would you implement an RSS feed fetcher that works in background in an RoR application? It looks like backgroundrb is the way to go, but it doesn’t work in Windoze… Regards, Behi

---

## [ActiveRecord introspection](https://www.ruby-forum.com/t/activerecord-introspection/104115)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/activerecord-introspection/104115 "2007-05-14T15:39:18Z")

</div>

Hi, I have a reasonably complex AR object, that has\_many, contains foreign keys, and so on. How can I get the names of all the ‘attribute methods’? Getting the column names isn’t so difficult, but getting the assoc…

---

## [How do we 'Search' in a RESTful world?](https://www.ruby-forum.com/t/how-do-we-search-in-a-restful-world/103941)

<div class="topic-metadata">

**Author:** [@bravedave](https://www.ruby-forum.com/u/bravedave)\
**Replies:** 5\
**Last updated:** [May 14, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/how-do-we-search-in-a-restful-world/103941 "2007-05-14T15:34:18Z")

</div>

Dear RubyReportist’s I’ve been beating up the Rails web forums for the last week trying to understand how ‘mature’ Rails web developers’ elect to allow their users to ‘mince’ the data. We all know that a normal INDEX…

---

## [Delphi for Ruby!](https://www.ruby-forum.com/t/delphi-for-ruby/104124)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/delphi-for-ruby/104124 "2007-05-14T15:33:50Z")

</div>

I mentioned this a while ago on the Ruby forum. but it seems to be official. http://www.codegear.com/article/36433 Let the joy begin!

---

## [ERROR While executi gem (NoMethodError)undefined method \[\]=](https://www.ruby-forum.com/t/error-while-executi-gem-nomethoderror-undefined-method/103337)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 3:25pm UTC](https://www.ruby-forum.com/t/error-while-executi-gem-nomethoderror-undefined-method/103337 "2007-05-14T15:25:24Z")

</div>

I’ve just installed ruby and rubygems on a solaris machine, but when i do this : gem install rails --include-dependencies -p http://10.17.0.1:3128 it crashes out with : ERROR: While executing gem … (NoMethodError) …

---

## [Building and saving has\_many and has\_one relations](https://www.ruby-forum.com/t/building-and-saving-has-many-and-has-one-relations/104120)

<div class="topic-metadata">

**Author:** [@halfgaar](https://www.ruby-forum.com/u/halfgaar)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/building-and-saving-has-many-and-has-one-relations/104120 "2007-05-14T15:16:15Z")

</div>

Hi, I am very confused about an aspect of has\_one and has\_many relations, with regard to using the build method, and saving the belongs\_to side. It’s a somewhat long post. so please bear with me :slight\_smile: First …

---

## [Time for a Rails RESTFul forum?](https://www.ruby-forum.com/t/time-for-a-rails-restful-forum/104091)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 3:02pm UTC](https://www.ruby-forum.com/t/time-for-a-rails-restful-forum/104091 "2007-05-14T15:02:11Z")

</div>

seeing the nimber of posts (pages…) related to REST & RAILS… and not related anymore to Ruby On Rails… is not the time to move them into a new forum ?.. just a suggestion… kad

---

## [Rendering of Remote Partials](https://www.ruby-forum.com/t/rendering-of-remote-partials/103773)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 9\
**Last updated:** [May 14, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/rendering-of-remote-partials/103773 "2007-05-14T14:52:09Z")

</div>

In looking at the API, I was surprised to see that using a URL to render a partial on some remote server wasn’t a possibility. I can think of situations where that would be useful. Is there some alternative means of…

---

## [I am trying to use AJAX action is performed but then get mis](https://www.ruby-forum.com/t/i-am-trying-to-use-ajax-action-is-performed-but-then-get-mis/104078)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/i-am-trying-to-use-ajax-action-is-performed-but-then-get-mis/104078 "2007-05-14T14:44:08Z")

</div>

Hi, I am trying to update a field (date\_accepted) in my view by clicking a button and using AJAX link\_to\_remote. The field is being updated but then the progam bombs with “Template is missing Missing template script/…

---

## [Which OS is best to Deploy to?](https://www.ruby-forum.com/t/which-os-is-best-to-deploy-to/104095)

<div class="topic-metadata">

**Author:** [@Myron\_M](https://www.ruby-forum.com/u/Myron_M)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/which-os-is-best-to-deploy-to/104095 "2007-05-14T14:38:08Z")

</div>

My Rails app is almost finished, and it’s time to deploy. This is an area where I’m completely clueless. In the past, I’ve always developed .NET windows desktop apps. I know next to nothing about web servers, apach…

---

## [What's the purpose of index\_by over group\_by?](https://www.ruby-forum.com/t/whats-the-purpose-of-index-by-over-group-by/104054)

<div class="topic-metadata">

**Author:** [@mcampbell](https://www.ruby-forum.com/u/mcampbell)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 2:12pm UTC](https://www.ruby-forum.com/t/whats-the-purpose-of-index-by-over-group-by/104054 "2007-05-14T14:12:59Z")

</div>

If I understand how the two work, the only difference between them would be that group\_by assembles the objects into an array, so to access all the items that match by name, items\[“name”\]\[0\] items\[“name”\]\[1\]… wherea…

---

## [\[BUG?\] rake db:test:clone when index multi columns](https://www.ruby-forum.com/t/bug-rake-dbclone-when-index-multi-columns/104112)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/bug-rake-dbclone-when-index-multi-columns/104112 "2007-05-14T14:05:48Z")

</div>

I tried to clone my DB and got an error : (Mysql 5 / Rails 1.2 / OS X) rake aborted! Mysql::Error: BLOB/TEXT column ‘description’ used in key specification without a key length: CREATE INDEX title\_description ON pr…

---

## [ActiveResource and dates](https://www.ruby-forum.com/t/activeresource-and-dates/104111)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 1:58pm UTC](https://www.ruby-forum.com/t/activeresource-and-dates/104111 "2007-05-14T13:58:59Z")

</div>

Hi I’m having difficulty using form date\_select on a date attribute when using ActiveResource. The xml attribute looks like: yyyy-mm-dd And the form is simple form\_for scaffolding: form\_for :model do |f| f.date\_se…

---

## [Default :include value for ActiveRecord::Base.find](https://www.ruby-forum.com/t/default-include-value-for-activerecord-base-find/104104)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/default-include-value-for-activerecord-base-find/104104 "2007-05-14T13:31:29Z")

</div>

Hi all, I’m working on a application with lots of complicated data relationships and thousands of rows of data. To speed up queries, I’m using Project.find(:all, :conditions =\> some\_hash, :include =\> some\_other\_hash)…

---

## [Problem with symbols: Value is stored with "--- :symbolname"](https://www.ruby-forum.com/t/problem-with-symbols-value-is-stored-with-symbolname/104093)

<div class="topic-metadata">

**Author:** [@carminem](https://www.ruby-forum.com/u/carminem)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 11:39am UTC](https://www.ruby-forum.com/t/problem-with-symbols-value-is-stored-with-symbolname/104093 "2007-05-14T11:39:24Z")

</div>

Hi to everyone, I’ve a problem with symbols and my application. There are 4 fields defined as string which receive a symbol from code: stato (status) fase (phase) spedizione (shipment) pagamento (payment) Well, only…

---

## [Has\_one association and saving the associated model](https://www.ruby-forum.com/t/has-one-association-and-saving-the-associated-model/104105)

<div class="topic-metadata">

**Author:** [@pixellover](https://www.ruby-forum.com/u/pixellover)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 11:30am UTC](https://www.ruby-forum.com/t/has-one-association-and-saving-the-associated-model/104105 "2007-05-14T11:30:38Z")

</div>

Hi, what’s the best way of assigning a has\_one association to a model and then save both, the model and the association, in one step? I thought “build\_association” just assigns the association and not updates it in…

---

## [Hi pls help me abt Rails](https://www.ruby-forum.com/t/hi-pls-help-me-abt-rails/104086)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 8:13am UTC](https://www.ruby-forum.com/t/hi-pls-help-me-abt-rails/104086 "2007-05-14T08:13:25Z")

</div>

hi all, I need to pass the text box values of one file which has .rb as its extension to textbox of another .rb file. ie. i have a file named account\_controller which maintainsfor login records ,when a user enter th…

---

## [\[ANN\] acts\_as\_solr has a new home, please update](https://www.ruby-forum.com/t/ann-acts-as-solr-has-a-new-home-please-update/104084)

<div class="topic-metadata">

**Author:** [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 7:28am UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-has-a-new-home-please-update/104084 "2007-05-14T07:28:04Z")

</div>

The acts\_as\_solr plugin has a new home, so please make sure you update your bookmarks: web: http://acts\_as\_solr.railsfreaks.com trac: http://trac.railsfreaks.com/projects/acts\_as\_solr svn: svn://svn.railsfreaks.co…

---

## [Key word search documents on filesystem](https://www.ruby-forum.com/t/key-word-search-documents-on-filesystem/104071)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 4:32am UTC](https://www.ruby-forum.com/t/key-word-search-documents-on-filesystem/104071 "2007-05-14T04:32:55Z")

</div>

Does anyone know of a way to do keyword searches on documents in a filesystem with something similar to Oracle’s Context package … with mySQL/RoR’s? I do this now with a Java/Oracle (Context) solution where the files…

---

## [How to dump hxd response to the console?](https://www.ruby-forum.com/t/how-to-dump-hxd-response-to-the-console/104072)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 0\
**Last updated:** [May 14, 2007, 2:38am UTC](https://www.ruby-forum.com/t/how-to-dump-hxd-response-to-the-console/104072 "2007-05-14T02:38:20Z")

</div>

Hi, I would like to know how I can dump to the console the content of the response of a xhr call during a functionnal test ? I need to check the javascript code generated by the controller Thanks

---

## [Rake without code evaluation?](https://www.ruby-forum.com/t/rake-without-code-evaluation/103891)

<div class="topic-metadata">

**Author:** [@danny](https://www.ruby-forum.com/u/danny)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 2:31am UTC](https://www.ruby-forum.com/t/rake-without-code-evaluation/103891 "2007-05-14T02:31:46Z")

</div>

Hey people, Here’s a problem I have. I have a table inside my database which contains ruby/rails code snippets. When I use rake db:fixtures:load and it starts to import my snippets table it starts evaluating the code …

---

## [Odd model structure, what associations?](https://www.ruby-forum.com/t/odd-model-structure-what-associations/104003)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 2:17am UTC](https://www.ruby-forum.com/t/odd-model-structure-what-associations/104003 "2007-05-14T02:17:46Z")

</div>

Hey all, I have this (from my limited perspective at least) somewhat complicated data structure, and I’m having trouble wrapping my head around the associations I need. Here’s how it works, I’m trying to model a tree…

---

## [Help on writing delete\_if on my hash?](https://www.ruby-forum.com/t/help-on-writing-delete-if-on-my-hash/104018)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 3\
**Last updated:** [May 14, 2007, 2:01am UTC](https://www.ruby-forum.com/t/help-on-writing-delete-if-on-my-hash/104018 "2007-05-14T02:01:45Z")

</div>

Hi, i am missing something here… @temp = Mymodel.find\_by\_contents("#{session\[:searchstr\]}") i now want to remove all the models that have a field called apprflg that is set to 1. @temp.delete\_if {|key, value| key ==…

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

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