# Rails

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

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

---

## [Dynamically import csv files](https://www.ruby-forum.com/t/dynamically-import-csv-files/164305)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 1\
**Last updated:** [April 4, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/dynamically-import-csv-files/164305 "2009-04-04T14:07:05Z")

</div>

I’m hoping somebody can give me some direction on how to approach this problem. We have various projects with data acquisition in the field. These projects produce time series data of variables such as temperature, an…

---

## [Connecting model class to different column name other tn id](https://www.ruby-forum.com/t/connecting-model-class-to-different-column-name-other-tn-id/164651)

<div class="topic-metadata">

**Author:** [@vaibhav\_darji](https://www.ruby-forum.com/u/vaibhav_darji)\
**Replies:** 2\
**Last updated:** [April 4, 2009, 11:10am UTC](https://www.ruby-forum.com/t/connecting-model-class-to-different-column-name-other-tn-id/164651 "2009-04-04T11:10:40Z")

</div>

wrote: I am using the allready created tables in oracle and connecting to the ruby on rails model class, i used 'set\_table\_name ‘table name’ ’ and it gets connected but, i want to access its records and it has differ…

---

## [Anyone know a way to create html comments with the names of the views?](https://www.ruby-forum.com/t/anyone-know-a-way-to-create-html-comments-with-the-names-of-the-views/164642)

<div class="topic-metadata">

**Author:** [@mixtli](https://www.ruby-forum.com/u/mixtli)\
**Replies:** 10\
**Last updated:** [April 4, 2009, 1:57am UTC](https://www.ruby-forum.com/t/anyone-know-a-way-to-create-html-comments-with-the-names-of-the-views/164642 "2009-04-04T01:57:58Z")

</div>

I work with a lot of designers. The question I get all the time is: Where is the template that displays xyz? I was thinking it would be nice if rails would print the name of each template it loads as an html comment…

---

## [Truncated development log when using rescue\_from](https://www.ruby-forum.com/t/truncated-development-log-when-using-rescue-from/164690)

<div class="topic-metadata">

**Author:** [@steve\_at\_trend](https://www.ruby-forum.com/u/steve_at_trend)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 1:52am UTC](https://www.ruby-forum.com/t/truncated-development-log-when-using-rescue-from/164690 "2009-04-04T01:52:55Z")

</div>

I’m noticing that my development.log messages are not showing the usual complete logging per request/response when I am catching exceptions from my controllers using rescue\_from. I was wondering if anyone has ever en…

---

## [Ruby on Rails with jQuery](https://www.ruby-forum.com/t/ruby-on-rails-with-jquery/164687)

<div class="topic-metadata">

**Author:** [@bigPHIL18](https://www.ruby-forum.com/u/bigPHIL18)\
**Replies:** 1\
**Last updated:** [April 4, 2009, 1:08am UTC](https://www.ruby-forum.com/t/ruby-on-rails-with-jquery/164687 "2009-04-04T01:08:15Z")

</div>

Hello all, I wrote this jQuery script that gets the id of the ul i clicked and saves it as a variable. How can I use this variable in my Rails project? Thank you, Philip

---

## [RESTfully dealing with a non-RESTful client](https://www.ruby-forum.com/t/restfully-dealing-with-a-non-restful-client/164682)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/restfully-dealing-with-a-non-restful-client/164682 "2009-04-03T23:13:30Z")

</div>

I’m working with a PBX that, given a URL string with some pre-defined fields, will invoke that URL with the fields filled in with collected data on certain call events. For instance, if you give it the proper string …

---

## [ANNOUNCE: Hirb - A gem enhancing your script/console](https://www.ruby-forum.com/t/announce-hirb-a-gem-enhancing-your-script-console/164101)

<div class="topic-metadata">

**Author:** [@cldwalker](https://www.ruby-forum.com/u/cldwalker)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 10:27pm UTC](https://www.ruby-forum.com/t/announce-hirb-a-gem-enhancing-your-script-console/164101 "2009-04-03T22:27:48Z")

</div>

Hi, I’m announcing Hirb, a mini view framework which enables script/ console to provide custom views. Out of the box your activerecord objects come back as ascii tables. You can also configure your tree-based models …

---

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

<div class="topic-metadata">

**Author:** [@dan\_sp](https://www.ruby-forum.com/u/dan_sp)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/rails-2-3-sessions/163946 "2009-04-03T22:14:55Z")

</div>

I’ve just upgraded to Rails 2.3.2. I am using active\_record\_store as my session approach and session.model is deprecated. I was using that to update a couple extra session db columns. Does anyone knows what is the be…

---

## [Plugin or project to generate survey](https://www.ruby-forum.com/t/plugin-or-project-to-generate-survey/164671)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 8:38pm UTC](https://www.ruby-forum.com/t/plugin-or-project-to-generate-survey/164671 "2009-04-03T20:38:21Z")

</div>

Hello, I’m looking into building a tool on my website that will give my users the ability to generate survey and then look at results. After looking into it, it seemed to be significant amount of work! I was wonderin…

---

## [\[ANN\] BDD w/Rails training in June](https://www.ruby-forum.com/t/ann-bdd-w-rails-training-in-june/164658)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 8:33pm UTC](https://www.ruby-forum.com/t/ann-bdd-w-rails-training-in-june/164658 "2009-04-03T20:33:00Z")

</div>

I apologize in advanced if this seems like a shameless plug, but it feels like an appropriate place to announce it. The first week of June I’m going to teaching a class on BDD w/Rails in sunny west Michigan: Announcem…

---

## [STI with the type data depending on the association](https://www.ruby-forum.com/t/sti-with-the-type-data-depending-on-the-association/164588)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/sti-with-the-type-data-depending-on-the-association/164588 "2009-04-03T20:15:28Z")

</div>

Hello list, I have the following entities: Product, Supplier. Manufacturer \< Supplier and Vendor \< Supplier. Product has\_many suppliers through products\_suppliers The thing is, the type of the supplier will depend on…

---

## [\[JOBS\] Funded Startup Looking for Lead Rails Developer](https://www.ruby-forum.com/t/jobs-funded-startup-looking-for-lead-rails-developer/164667)

<div class="topic-metadata">

**Author:** [@Shunks](https://www.ruby-forum.com/u/Shunks)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 8:04pm UTC](https://www.ruby-forum.com/t/jobs-funded-startup-looking-for-lead-rails-developer/164667 "2009-04-03T20:04:18Z")

</div>

We are looking for a smart, team-oriented programmer with a “Getting Things Done” attitude to help us develop our technology and launch our business. We’re looking for someone who enjoys challenges and wants to be par…

---

## [Modal popups](https://www.ruby-forum.com/t/modal-popups/164510)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 6\
**Last updated:** [April 3, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/modal-popups/164510 "2009-04-03T19:42:03Z")

</div>

I have searched high and low on this topic. I’ve tried a couple of the plugins (DOM Popup kit came closer to helping me than anything). I thought I was getting close, but my problem now is passing parameters. Here’s…

---

## [Help with Code Tweaking](https://www.ruby-forum.com/t/help-with-code-tweaking/164625)

<div class="topic-metadata">

**Author:** [@wanyixue](https://www.ruby-forum.com/u/wanyixue)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 7:03pm UTC](https://www.ruby-forum.com/t/help-with-code-tweaking/164625 "2009-04-03T19:03:23Z")

</div>

scenario : select distinct years from members and their respective record count of that particular year. eg: \[{year = 2008 , count = 45123},{year = 2007 , count = 12332} \] previously , i was using “select distinct to…

---

## [RSA signing with Ruby OpenSSL](https://www.ruby-forum.com/t/rsa-signing-with-ruby-openssl/135002)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/rsa-signing-with-ruby-openssl/135002 "2009-04-03T17:38:32Z")

</div>

hi all - I’m not sure if this is the correct forum but i was wondering if anyone has successfully done RSA-SHA1 signing with Ruby OpenSSL and interoperated with Java Servers. I’m using the following code but i’m not …

---

## [Show text or image, based on data value](https://www.ruby-forum.com/t/show-text-or-image-based-on-data-value/164569)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/show-text-or-image-based-on-data-value/164569 "2009-04-03T17:23:11Z")

</div>

Hi, I have a table sales with the columns, title, short\_description, long\_description, start\_date, end\_date. The columns start\_date end end\_date has both a date value. My sales record are show on a index-page, with t…

---

## [Retrive record without id field](https://www.ruby-forum.com/t/retrive-record-without-id-field/164640)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 4:27pm UTC](https://www.ruby-forum.com/t/retrive-record-without-id-field/164640 "2009-04-03T16:27:31Z")

</div>

Hi, How to retrive the record without using the id field. I have to use the table having singular and in that table there is no id field then how to fetch that table in my application.

---

## [\[ANN\] assert2 0.4.7 improves assert\_xhtml diagnostics](https://www.ruby-forum.com/t/ann-assert2-0-4-7-improves-assert-xhtml-diagnostics/164643)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 4:23pm UTC](https://www.ruby-forum.com/t/ann-assert2-0-4-7-improves-assert-xhtml-diagnostics/164643 "2009-04-03T16:23:24Z")

</div>

Railsters: Here’s an assert\_select test: def test\_form assert\_renders form\_content do assert\_select “form\[action=/forms/\]” assert\_select “form input\[type=text\]\[name=name\]” assert\_select “form input\[type=text\]\[name=…

---

## [Can't get a simple application to work with Rails 2.0](https://www.ruby-forum.com/t/cant-get-a-simple-application-to-work-with-rails-2-0/124909)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [April 3, 2009, 4:21pm UTC](https://www.ruby-forum.com/t/cant-get-a-simple-application-to-work-with-rails-2-0/124909 "2009-04-03T16:21:51Z")

</div>

Clearly I’m doing something wrong, but should it really be this difficult to figure out? I found the Rails 2.0 tutorial movie and did the following: rails ESPlanner\_Web --d=mysql Edited database.yml appropriately sc…

---

## [Singular Table name](https://www.ruby-forum.com/t/singular-table-name/164641)

<div class="topic-metadata">

**Author:** [@sushrut](https://www.ruby-forum.com/u/sushrut)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/singular-table-name/164641 "2009-04-03T16:17:33Z")

</div>

Hi, I am using oracle, & the table name is in singular (for ex. test)type then how i use that table in my application without changing the table name. i.e. I have to use that table name (test) as it is.

---

## [\[JOBS\] RoR Team in Orange Country](https://www.ruby-forum.com/t/jobs-ror-team-in-orange-country/164626)

<div class="topic-metadata">

**Author:** [@mekdigital](https://www.ruby-forum.com/u/mekdigital)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/jobs-ror-team-in-orange-country/164626 "2009-04-03T16:04:02Z")

</div>

Yes, we’re hiring!! :wink: We’re looking for a front-end ninja and a back-end geek. I’ve been working for this company for three months only but I totally love it! FULL TIME, ON SITE ONLY! Competitive salary (DOE) +…

---

## [Locals in render partials](https://www.ruby-forum.com/t/locals-in-render-partials/164617)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/locals-in-render-partials/164617 "2009-04-03T15:56:25Z")

</div>

In render partials can we pass arrays like this a=\[1,2,3\] b=\[5,6,7\] c \<\< a \<\< b render :partial=\>’’,:locals=\>{:c=\>c}

---

## [Forms - Edits and Shows reuse](https://www.ruby-forum.com/t/forms-edits-and-shows-reuse/164636)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/forms-edits-and-shows-reuse/164636 "2009-04-03T15:07:34Z")

</div>

Is there a way to “lock” the entire form from edits? and make it read-only? The reason I ask is that in bigger forms, I would prefer to draw it only once in a partial and use it for new/edit and show actions. It gets…

---

## [How to find out image width and height which is saved in database?](https://www.ruby-forum.com/t/how-to-find-out-image-width-and-height-which-is-saved-in-database/164627)

<div class="topic-metadata">

**Author:** [@seenu](https://www.ruby-forum.com/u/seenu)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/how-to-find-out-image-width-and-height-which-is-saved-in-database/164627 "2009-04-03T14:55:32Z")

</div>

How to find out image width and height which is saved in database, with out using any applications or addons Please help

---

## [How to handle json data request?](https://www.ruby-forum.com/t/how-to-handle-json-data-request/164531)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 2:39pm UTC](https://www.ruby-forum.com/t/how-to-handle-json-data-request/164531 "2009-04-03T14:39:08Z")

</div>

I have searched in this group for a while, and it seems no one face the same problem like me yet. I am developing a rest web service(post method) that requires json data format from my javascript client application. I…

---

## [Error\_messages\_for does not display the error](https://www.ruby-forum.com/t/error-messages-for-does-not-display-the-error/164579)

<div class="topic-metadata">

**Author:** [@steve](https://www.ruby-forum.com/u/steve)\
**Replies:** 3\
**Last updated:** [April 3, 2009, 2:14pm UTC](https://www.ruby-forum.com/t/error-messages-for-does-not-display-the-error/164579 "2009-04-03T14:14:30Z")

</div>

Hi all I’ve approached Rails since a couple of months to develop a quick application for my company. Fantastic framework. As every noob, I do have some gaps to cover. The one which is giving me a little frustration, …

---

## [Active\_scaffold config issue? Complains about rails 2.2.2 dependency](https://www.ruby-forum.com/t/active-scaffold-config-issue-complains-about-rails-2-2-2-dependency/159097)

<div class="topic-metadata">

**Author:** [@drub](https://www.ruby-forum.com/u/drub)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 1:31pm UTC](https://www.ruby-forum.com/t/active-scaffold-config-issue-complains-about-rails-2-2-2-dependency/159097 "2009-04-03T13:31:44Z")

</div>

Howdy all, Trying to start WEBrick. The error is displayed “This version of ActiveScaffold requires Rails 2.2 or higher. Please use an earlier version. (RuntimeError)” “gem list” shows “rails 2.2.2”, so looks like …

---

## [Removing empty fields before saving](https://www.ruby-forum.com/t/removing-empty-fields-before-saving/164484)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 2\
**Last updated:** [April 3, 2009, 1:15pm UTC](https://www.ruby-forum.com/t/removing-empty-fields-before-saving/164484 "2009-04-03T13:15:10Z")

</div>

When I save data, form submits some empty (but not null) data. How can I remove that? Thanks.

---

## [URL formatting](https://www.ruby-forum.com/t/url-formatting/164630)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 0\
**Last updated:** [April 3, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/url-formatting/164630 "2009-04-03T13:04:11Z")

</div>

Hi, The problem i am facing is as follows: I want to generate the URL as follows http://localhost:3000/developments/find/india As of now MY URL is : http://localhost:3000/developments/find?search\[address\]=In…

---

## [Need help with Rails Project](https://www.ruby-forum.com/t/need-help-with-rails-project/164622)

<div class="topic-metadata">

**Author:** [@gomix](https://www.ruby-forum.com/u/gomix)\
**Replies:** 1\
**Last updated:** [April 3, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/need-help-with-rails-project/164622 "2009-04-03T12:58:53Z")

</div>

Hello, Sorry if is the wrong place but i’m really in need… I’m trying to finish a Ruby on Rails proyect for a client and I just need someone to help me out with implementing a resizing function with RMagic. I’m offer…

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

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