# Rails

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

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

---

## [Which request-method returns the whole REQUEST\_URI?](https://www.ruby-forum.com/t/which-request-method-returns-the-whole-request-uri/90998)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/which-request-method-returns-the-whole-request-uri/90998 "2007-04-03T18:01:54Z")

</div>

Hi all I need to display the whole address that’s in the address bar of the browser in a view. http://localhost:3000/my\_controller/my\_action I tried with request.request\_uri, but sadly this only gives me the path af…

---

## [Hash to array of arrays](https://www.ruby-forum.com/t/hash-to-array-of-arrays/90918)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/hash-to-array-of-arrays/90918 "2007-04-03T18:00:10Z")

</div>

Hi, I need to convert this data I pulled from a database: \[#\<Metric:0x24fbbec @attributes={“interested”=\>“3”, “prequalified”=\>“3”, “office”=\>“Denver, CO”, “passed”=\>“1”, “qualified”=\>“3”}\>, #\<Metric:0x24fbb10 @attrib…

---

## [Gruff Caching?](https://www.ruby-forum.com/t/gruff-caching/95331)

<div class="topic-metadata">

**Author:** [@a.filipowski](https://www.ruby-forum.com/u/a.filipowski)\
**Replies:** 5\
**Last updated:** [April 3, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/gruff-caching/95331 "2007-04-03T17:42:21Z")

</div>

I have a partial that I am rendering that contains several graphs generated by gruff. These graphs are displaying data points pulled from my database, and I want to allow the user to change the datapoints (filter base…

---

## [Native mysql client](https://www.ruby-forum.com/t/native-mysql-client/90970)

<div class="topic-metadata">

**Author:** [@stemey](https://www.ruby-forum.com/u/stemey)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/native-mysql-client/90970 "2007-04-03T17:15:31Z")

</div>

Hi, I have problems with mongrel not responding after a long time of no traffic. I heard it has to do with the mysql adapter. I should use the native version. Does this only work if the mysql server is installed on t…

---

## [What is hijacking exceptions?](https://www.ruby-forum.com/t/what-is-hijacking-exceptions/90857)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/what-is-hijacking-exceptions/90857 "2007-04-03T17:13:31Z")

</div>

I really would appreciate someone who can help me this. Even if I wrap my whole view in a begin rescue block, I am still having it fail silently with no exception logging & no output when there is an error in code cal…

---

## [Some timezone trouble involving tzinfo and postgresql](https://www.ruby-forum.com/t/some-timezone-trouble-involving-tzinfo-and-postgresql/90988)

<div class="topic-metadata">

**Author:** [@Billy\_G](https://www.ruby-forum.com/u/Billy_G)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/some-timezone-trouble-involving-tzinfo-and-postgresql/90988 "2007-04-03T17:08:31Z")

</div>

Friends, So there I was, minding my own business, trying to make my rails app timezone aware (DST, as well), since it’s all about the timing with this one. There are a number of excellent articles that I’ve been wor…

---

## [Ruby on Rails Developers required](https://www.ruby-forum.com/t/ruby-on-rails-developers-required/90990)

<div class="topic-metadata">

**Author:** [@PJC](https://www.ruby-forum.com/u/PJC)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developers-required/90990 "2007-04-03T17:05:30Z")

</div>

I have two vacancies for candidates with Ruby on Rails experience: Ruby on Rails developer based Midlands UK for 3-6 months. HTML, XHTML, CSS. Contact Peter Cordner +44 (0) 1892 771 447 pc@vector- uk.com Technic…

---

## [Image Getter](https://www.ruby-forum.com/t/image-getter/90980)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 2\
**Last updated:** [April 3, 2007, 5:01pm UTC](https://www.ruby-forum.com/t/image-getter/90980 "2007-04-03T17:01:53Z")

</div>

Hi, Im trying to create a feature in my rails project that handles a certain style of image request. My images could potentially be sotred anywhere on a local disk and hence will not have an application server behind …

---

## [Grouping by multiple items](https://www.ruby-forum.com/t/grouping-by-multiple-items/90987)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/grouping-by-multiple-items/90987 "2007-04-03T16:53:29Z")

</div>

I’m wondering if Rails fully supports grouping by multiple items? I have a situation where I’d like to get total amounts grouped by year, then month. Ideally, the result set would have the sum for the year and for e…

---

## [Undefined method \`stringify\_keys!' for](https://www.ruby-forum.com/t/undefined-method-stringify-keys-for/90985)

<div class="topic-metadata">

**Author:** [@pradeep](https://www.ruby-forum.com/u/pradeep)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/undefined-method-stringify-keys-for/90985 "2007-04-03T16:33:58Z")

</div>

plz tell me why the problem is coming… def test\_should\_update\_filter\_criterion @request.session\[:current\_context\_id\] = user\_context\_roles(:jsmith\_admin\_medidata).context\_id @request.session\[:current\_user\_id\] = user\_…

---

## [Public directory problem](https://www.ruby-forum.com/t/public-directory-problem/90982)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 4:09pm UTC](https://www.ruby-forum.com/t/public-directory-problem/90982 "2007-04-03T16:09:26Z")

</div>

Hi, We’ve got a rails app running and all of the paths for anything in the public directory have a prefix. Not sure if this is from using the image\_tag or not right now, need to look at the source. Anyway, Is there a…

---

## [Boolean? Emit "Yes" or "No", not "true" or "false"](https://www.ruby-forum.com/t/boolean-emit-yes-or-no-not-true-or-false/90901)

<div class="topic-metadata">

**Author:** [@DuzenburyS\_Rich](https://www.ruby-forum.com/u/DuzenburyS_Rich)\
**Replies:** 7\
**Last updated:** [April 3, 2007, 3:54pm UTC](https://www.ruby-forum.com/t/boolean-emit-yes-or-no-not-true-or-false/90901 "2007-04-03T15:54:20Z")

</div>

Hi, I have a silly question. I have a form that is filled out that has a number of boolean values in it, represented by checkboxes. After the request is posted, I am generating an e-mail to send to the person handl…

---

## [Render :partial](https://www.ruby-forum.com/t/render-partial/90974)

<div class="topic-metadata">

**Author:** [@j-merrill](https://www.ruby-forum.com/u/j-merrill)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 2:36pm UTC](https://www.ruby-forum.com/t/render-partial/90974 "2007-04-03T14:36:25Z")

</div>

Hi, I’m using \<%=render :partial =\>“comment/post\_comment” ,:collection=\>@post.comments%\> to render all comments of a post, but how do I know inside the partial html if a the entry is even or odd, i.e, I need to have…

---

## [Is it too late to put stuff in the head?](https://www.ruby-forum.com/t/is-it-too-late-to-put-stuff-in-the-head/90931)

<div class="topic-metadata">

**Author:** [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 2:32pm UTC](https://www.ruby-forum.com/t/is-it-too-late-to-put-stuff-in-the-head/90931 "2007-04-03T14:32:25Z")

</div>

Hi, I am using layouts and I have one my controller actions include a javascript tag. Is it possible to get the javascript tag thats part of the controller’s view .rhtml to be put into the head tag instead of the b…

---

## [Recursion in .rhtml views?](https://www.ruby-forum.com/t/recursion-in-rhtml-views/90972)

<div class="topic-metadata">

**Author:** [@Dmitry\_Y](https://www.ruby-forum.com/u/Dmitry_Y)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/recursion-in-rhtml-views/90972 "2007-04-03T14:01:20Z")

</div>

Hi evrybdy, I have a very simple Albums hierarchy: class Album \< ActiveRecord::Base has\_many :books end It’s trivial to display a treeview in script/console: def pt(a) pre=’’;a.ancestors.size.times {pre\<\<’ '} p…

---

## [Ruby on Rails versus Zope/Plone](https://www.ruby-forum.com/t/ruby-on-rails-versus-zope-plone/90961)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 1:42pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-versus-zope-plone/90961 "2007-04-03T13:42:37Z")

</div>

Hi, I am a fresher to webapplication world. I am planning to build a website for my college with student profiles containing details necessary data. I see that the database is going to big , so a scalabale solution is …

---

## [Sybase ctlib Adapter on 64 bit machine](https://www.ruby-forum.com/t/sybase-ctlib-adapter-on-64-bit-machine/85684)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/sybase-ctlib-adapter-on-64-bit-machine/85684 "2007-04-03T13:36:18Z")

</div>

All - We have hit a wall with trying to get our Ruby On Rails app set up and running on a RedHat Linux Enterprise 4 64 bit Machine. We have everything running fine on Fedora Core 5 x686 machines, but were asked to mo…

---

## [Attachment\_fu Resizing Mysteriously Stopped Working](https://www.ruby-forum.com/t/attachment-fu-resizing-mysteriously-stopped-working/90398)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/attachment-fu-resizing-mysteriously-stopped-working/90398 "2007-04-03T13:27:17Z")

</div>

Hello, Recently attachment\_fu stopped resizing images for me. I’m puzzled because before today it was resizing them and I don’t know what’s changed. Here’s my code: class Product \< ActiveRecord::Base has\_attachmen…

---

## [\[Sybase Adaptor\] find\_by\_xxx does not work correctly](https://www.ruby-forum.com/t/sybase-adaptor-find-by-xxx-does-not-work-correctly/90965)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 1:01pm UTC](https://www.ruby-forum.com/t/sybase-adaptor-find-by-xxx-does-not-work-correctly/90965 "2007-04-03T13:01:15Z")

</div>

Hi Please advice me about the following problem. Problem find\_by\_xxx method does not work correctly the following caes with sybase adaptor. How to reproducible model :users t.column :code, :string \<-- …

---

## [Multi-way join files with types?](https://www.ruby-forum.com/t/multi-way-join-files-with-types/90963)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 12:48pm UTC](https://www.ruby-forum.com/t/multi-way-join-files-with-types/90963 "2007-04-03T12:48:14Z")

</div>

As part of the Arti (http://mephisto-ar.cfcl.com) effort, I’m looking into creating a database to store information on entities and relationships found in Ruby and Rails, as: Method M1 is defined for Class C1 in File …

---

## [How not to cach /lib files](https://www.ruby-forum.com/t/how-not-to-cach-lib-files/90955)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 11:19am UTC](https://www.ruby-forum.com/t/how-not-to-cach-lib-files/90955 "2007-04-03T11:19:36Z")

</div>

Hi I am creating a few modules and classes in /lib of a plugin directory. Rails seems to be caching these, is there a way to stop this? Josh

---

## [I'd like to Open Source my app -- advice?](https://www.ruby-forum.com/t/id-like-to-open-source-my-app-advice/90823)

<div class="topic-metadata">

**Author:** [@asa](https://www.ruby-forum.com/u/asa)\
**Replies:** 7\
**Last updated:** [April 3, 2007, 11:13am UTC](https://www.ruby-forum.com/t/id-like-to-open-source-my-app-advice/90823 "2007-04-03T11:13:02Z")

</div>

Hey folks, I’ve written a couple of Rails apps which I’d like to open source under something like the GPL. Unfortunately, GPLv2 has a known “ASP hole” which would allow someone to make changes to my apps and then run…

---

## [Help creating plugin?](https://www.ruby-forum.com/t/help-creating-plugin/90953)

<div class="topic-metadata">

**Author:** [@asherwood](https://www.ruby-forum.com/u/asherwood)\
**Replies:** 2\
**Last updated:** [April 3, 2007, 10:57am UTC](https://www.ruby-forum.com/t/help-creating-plugin/90953 "2007-04-03T10:57:58Z")

</div>

Hi, I am attempting to put a plugin together for the first time and am having a few problems gettign started. I have generated the plugin dir’s and have a file called personalise\_site.rb Also I have placed require ‘…

---

## [Weired render action question! help!](https://www.ruby-forum.com/t/weired-render-action-question-help/90944)

<div class="topic-metadata">

**Author:** [@grandtang](https://www.ruby-forum.com/u/grandtang)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 10:39am UTC](https://www.ruby-forum.com/t/weired-render-action-question-help/90944 "2007-04-03T10:39:47Z")

</div>

Weired render action question! help! In a topic controller def edit @topic = Topic.find(params\[:id\]) end def update @topic = Topic.find(params\[:id\]) @topic.subject = params\[:topic\]\[:subject\] @topic.body = params\[…

---

## [Some help for form builder?](https://www.ruby-forum.com/t/some-help-for-form-builder/90804)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [April 3, 2007, 10:05am UTC](https://www.ruby-forum.com/t/some-help-for-form-builder/90804 "2007-04-03T10:05:19Z")

</div>

Hi all I’d like to group my fields on a form into visual separate areas. My plan is to surround fields that belong together with fieldset/legend tags: Personal Information form.text\_field :name form.text\_field…

---

## [Any have news on Scruffy Graphs?](https://www.ruby-forum.com/t/any-have-news-on-scruffy-graphs/90950)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 0\
**Last updated:** [April 3, 2007, 9:50am UTC](https://www.ruby-forum.com/t/any-have-news-on-scruffy-graphs/90950 "2007-04-03T09:50:40Z")

</div>

I’ve already tried contacting the creator with no response, so I thought maybe someone on the list might know something. Are there any updates to this project? It has been months with no word, I was really looking f…

---

## [Strategy For Pagination?](https://www.ruby-forum.com/t/strategy-for-pagination/90940)

<div class="topic-metadata">

**Author:** [@gaurav\_v\_bagga](https://www.ruby-forum.com/u/gaurav_v_bagga)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 9:35am UTC](https://www.ruby-forum.com/t/strategy-for-pagination/90940 "2007-04-03T09:35:39Z")

</div>

Hi all, I have a situation where I have to display results in the form of page. To go about implementing I though of two things. I keep the query as per the selection made by user in session and limit the result eve…

---

## [Multithreading](https://www.ruby-forum.com/t/multithreading/90872)

<div class="topic-metadata">

**Author:** [@masu](https://www.ruby-forum.com/u/masu)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 9:30am UTC](https://www.ruby-forum.com/t/multithreading/90872 "2007-04-03T09:30:31Z")

</div>

hi I do a lot of inserts (duration about 3 min) and would like to show a progressbar for the user during this inserts. I tried out to do it with threads, but without a success. Also forking a process doesn’t work (Wi…

---

## [Functional test, fixtures should load by myself?](https://www.ruby-forum.com/t/functional-test-fixtures-should-load-by-myself/90945)

<div class="topic-metadata">

**Author:** [@moth](https://www.ruby-forum.com/u/moth)\
**Replies:** 1\
**Last updated:** [April 3, 2007, 9:28am UTC](https://www.ruby-forum.com/t/functional-test-fixtures-should-load-by-myself/90945 "2007-04-03T09:28:39Z")

</div>

rails version: 1.2.3 ruby version: 1.8.5 functional test, fixtures should load by myself ? class FooControllerTest::Test::Unit::TestCase fixtures :foo, :bar def setup setup\_with\_fixtures # \<— must call this ? end e…

---

## [Accessing another table in a different rhtml file](https://www.ruby-forum.com/t/accessing-another-table-in-a-different-rhtml-file/90831)

<div class="topic-metadata">

**Author:** [@Roshini](https://www.ruby-forum.com/u/Roshini)\
**Replies:** 5\
**Last updated:** [April 3, 2007, 9:11am UTC](https://www.ruby-forum.com/t/accessing-another-table-in-a-different-rhtml-file/90831 "2007-04-03T09:11:38Z")

</div>

Hi Everybody, I am trying to access the elements of a different table within another tables layout file. Here is basically what I am trying to do: \<% if table1.ITEM\_ID == table2.ID %\> \<%=h table1.ITEM\_ID %\> \<% end…

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

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