# Top

**URL:** https://www.ruby-forum.com/top.md?page=1791

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

---

## [Newbie Qs - Authentication Plugin that supports Instances? Also, Rails 2.3 or 3 for Beginners?](https://www.ruby-forum.com/t/newbie-qs-authentication-plugin-that-supports-instances-also-rails-2-3-or-3-for-beginners/194076)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 3\
**Last updated:** [August 30, 2010, 1:37am UTC](https://www.ruby-forum.com/t/newbie-qs-authentication-plugin-that-supports-instances-also-rails-2-3-or-3-for-beginners/194076 "2010-08-30T01:37:33Z")

</div>

Hello, this is my first week with Rails. I’m working to create an app that has Users associated to instances by their email address. For example, like Yammer, those with the email domain “yahoo.com” only see what othe…

---

## [Transmit signal power - How to find from the amplitude set in transmit\_path?](https://www.ruby-forum.com/t/transmit-signal-power-how-to-find-from-the-amplitude-set-in-transmit-path/191374)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 3\
**Last updated:** [July 16, 2010, 1:15am UTC](https://www.ruby-forum.com/t/transmit-signal-power-how-to-find-from-the-amplitude-set-in-transmit-path/191374 "2010-07-16T01:15:02Z")

</div>

Hi, I want to calculate the power of the signal(in dBm) transmitted in benchmark\_tx.py. The transmit\_path sets an amplitude in the range \[0,1\] but how will I convert this into the actual power. I just want to know wh…

---

## [Declaring arrays shared across different controller methods](https://www.ruby-forum.com/t/declaring-arrays-shared-across-different-controller-methods/186591)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 3\
**Last updated:** [April 12, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/declaring-arrays-shared-across-different-controller-methods/186591 "2010-04-12T18:33:57Z")

</div>

I would like to have an array saving fields to display for an object that is used for its form on multiple pages. I have declared the array in each of the controller methods that would use it. Where can I put the arr…

---

## [Removing scaffold?](https://www.ruby-forum.com/t/removing-scaffold/182643)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 3\
**Last updated:** [February 1, 2010, 2:22am UTC](https://www.ruby-forum.com/t/removing-scaffold/182643 "2010-02-01T02:22:02Z")

</div>

Hi, I just created a new scaffold in my app using the nifty-scaffold plugin. However, I messed up the syntax and forgot the model name, so it ended up being called “Title:string”. I now can’t run any tasks from the t…

---

## [Compiling only a module](https://www.ruby-forum.com/t/compiling-only-a-module/181468)

<div class="topic-metadata">

**Author:** [@Dennis\_J](https://www.ruby-forum.com/u/Dennis_J)\
**Replies:** 3\
**Last updated:** [January 13, 2010, 1:19am UTC](https://www.ruby-forum.com/t/compiling-only-a-module/181468 "2010-01-13T01:19:09Z")

</div>

Hi, I’m trying to develop a module for nginx and I’m wondering how I can compile just a module by itself. I check out this page: but it basically says that you have to compile nginx completely to compile the module…

---

## [Can you explain code](https://www.ruby-forum.com/t/can-you-explain-code/181279)

<div class="topic-metadata">

**Author:** [@aashishkiran](https://www.ruby-forum.com/u/aashishkiran)\
**Replies:** 3\
**Last updated:** [January 8, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/can-you-explain-code/181279 "2010-01-08T20:42:22Z")

</div>

\---------------------ruby code-------------------- after running ruby code in below output at first occurrence of “sssssssssssssssssssssss” can anyone explain how “nearValues” is updating $hash2={“value1”=\>\[“value2…

---

## [Ruby on Rails Senior Developer (m/f) in Berlin gesucht](https://www.ruby-forum.com/t/ruby-on-rails-senior-developer-m-f-in-berlin-gesucht/180754)

<div class="topic-metadata">

**Author:** [@pazu](https://www.ruby-forum.com/u/pazu)\
**Replies:** 0\
**Last updated:** [December 28, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-senior-developer-m-f-in-berlin-gesucht/180754 "2009-12-28T16:44:45Z")

</div>

Die checkitmobile GmbH ist ein junges, innovatives Unternehmen mit Sitz in Berlin (Mitte). Wir entwickeln mobile Internetdienste und Anwendungen im Bereich Produkt- und Preisvergleichsinformationen sowie 1D / EAN-Code…

---

## [GPS recording/replay with USRP1 and RFX1200](https://www.ruby-forum.com/t/gps-recording-replay-with-usrp1-and-rfx1200/178198)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 3\
**Last updated:** [October 30, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/gps-recording-replay-with-usrp1-and-rfx1200/178198 "2009-10-30T19:20:57Z")

</div>

I am putting together a production line test system (on a budget) for a portable GPS device. Looking at my options for a GPS simulator, I’m getting some very, very high dollar, hits – totally outside my budget. HOWEV…

---

## [\[Bug #1645\] $BBg$-$J?t$NHf3S$G@5$7$/$J$$7k2L$K$J$k$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-1645-bbg-j-t-nhf3s-g-5-7-j-7k2l-k-j-k-3-h-k-b/170432)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 3\
**Last updated:** [June 19, 2009, 10:07am UTC](https://www.ruby-forum.com/t/bug-1645-bbg-j-t-nhf3s-g-5-7-j-7k2l-k-j-k-3-h-k-b/170432 "2009-06-19T10:07:29Z")

</div>

Bug #1645: e$BBg$-$J?t$NHf3S$G@5$7$/$J$$7k2L$K$J$k$3$H$,$"$ke(B http://redmine.ruby-lang.org/issues/show/1645 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.x ruby -v…

---

## [Quesion on AUX ADC of AD9862](https://www.ruby-forum.com/t/quesion-on-aux-adc-of-ad9862/170355)

<div class="topic-metadata">

**Author:** [@Su\_Jinzhao](https://www.ruby-forum.com/u/Su_Jinzhao)\
**Replies:** 3\
**Last updated:** [June 18, 2009, 7:17am UTC](https://www.ruby-forum.com/t/quesion-on-aux-adc-of-ad9862/170355 "2009-06-18T07:17:49Z")

</div>

Hi, I want to read RSSI value using analog AUX ADC, I think we can read RSSI through AUX\_ADC\_A1 pin of AD9862, I looked through the code of usrp\_read\_aux\_adc in file /root/gnuradio/gnuradio-3.1.3/usrp/host/lib/lega…

---

## [Using the USRP2 external SRAM](https://www.ruby-forum.com/t/using-the-usrp2-external-sram/169981)

<div class="topic-metadata">

**Author:** [@Tiago\_RogSSSSrio\_M](https://www.ruby-forum.com/u/Tiago_RogSSSSrio_M)\
**Replies:** 3\
**Last updated:** [June 17, 2009, 4:02am UTC](https://www.ruby-forum.com/t/using-the-usrp2-external-sram/169981 "2009-06-17T04:02:16Z")

</div>

Hi all, I’m working on some experiments using the USRP2, and the 32 Kb available for the firmware won’t be enough for my experiments. I’ll need to modify the FPGA code so I can use the 1 MB SRAM for both instructions…

---

## [Storing information in session in rails - How to?](https://www.ruby-forum.com/t/storing-information-in-session-in-rails-how-to/164418)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 1, 2009, 12:03pm UTC](https://www.ruby-forum.com/t/storing-information-in-session-in-rails-how-to/164418 "2009-04-01T12:03:29Z")

</div>

Hi, I am a rails newbie and i need to store some info. in the session, so that i can use it in any controllers when needed. in config/enviroment.rb, i have, config.action\_controller.session = { :session\_key =\> ‘\_xxx\_…

---

## [Destroying entities related by foreign key](https://www.ruby-forum.com/t/destroying-entities-related-by-foreign-key/161903)

<div class="topic-metadata">

**Author:** [@pesho318i](https://www.ruby-forum.com/u/pesho318i)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 5:53pm UTC](https://www.ruby-forum.com/t/destroying-entities-related-by-foreign-key/161903 "2009-03-03T17:53:51Z")

</div>

hi all, I have a table “memberships”. It has a field user\_id, which I want to use as a foreign key to the “users” table. So, as far as I get it, in the membership model I have to write: has\_many :users In the users …

---

## [Fixture hash not available on the console in test env?](https://www.ruby-forum.com/t/fixture-hash-not-available-on-the-console-in-test-env/157302)

<div class="topic-metadata">

**Author:** [@redii](https://www.ruby-forum.com/u/redii)\
**Replies:** 3\
**Last updated:** [February 26, 2009, 6:00am UTC](https://www.ruby-forum.com/t/fixture-hash-not-available-on-the-console-in-test-env/157302 "2009-02-26T06:00:17Z")

</div>

While the generated id certainly works well for tests, it was previously easier when loading the test console and interacting with your model relationships. Is there an expectation to make the fixture hashes availabl…

---

## [How can I retrieve the SQL during each model action?](https://www.ruby-forum.com/t/how-can-i-retrieve-the-sql-during-each-model-action/160265)

<div class="topic-metadata">

**Author:** [@xeon](https://www.ruby-forum.com/u/xeon)\
**Replies:** 3\
**Last updated:** [February 17, 2009, 10:32am UTC](https://www.ruby-forum.com/t/how-can-i-retrieve-the-sql-during-each-model-action/160265 "2009-02-17T10:32:16Z")

</div>

Hi, I would like to know for each running model action, how can I retrieve the SQL running behind? I don’t want to scan log each time for the sql running behind. E.g. post.find(:all,:conditions=\>{:id=\>‘1’} I wanna d…

---

## [Failed to set initial freq](https://www.ruby-forum.com/t/failed-to-set-initial-freq/158296)

<div class="topic-metadata">

**Author:** [@w\_w](https://www.ruby-forum.com/u/w_w)\
**Replies:** 3\
**Last updated:** [January 21, 2009, 10:33pm UTC](https://www.ruby-forum.com/t/failed-to-set-initial-freq/158296 "2009-01-21T22:33:43Z")

</div>

Greetings, I got the TVRX because I need a board to RX AM from 100 to 600 MHZ. I know it is for TV but I thought it could do AM as well. However I can’t seem to set the intial freq for the board. Using the sam…

---

## [Uploading csv](https://www.ruby-forum.com/t/uploading-csv/156587)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 3\
**Last updated:** [January 3, 2009, 8:38am UTC](https://www.ruby-forum.com/t/uploading-csv/156587 "2009-01-03T08:38:38Z")

</div>

hi all, in my project i have to upload the csv file.i want to show the data of the file before submitting the form. how to do it…plesae help me its very urgent…

---

## [Rails Logger](https://www.ruby-forum.com/t/rails-logger/154321)

<div class="topic-metadata">

**Author:** [@mariek](https://www.ruby-forum.com/u/mariek)\
**Replies:** 3\
**Last updated:** [November 28, 2008, 10:35am UTC](https://www.ruby-forum.com/t/rails-logger/154321 "2008-11-28T10:35:07Z")

</div>

how to make default rails logger accessible in my custom modules, because as I see now its available only for ActiveRecord and some other Rails modules.

---

## [In\_place\_editing won't update, keeps saving](https://www.ruby-forum.com/t/in-place-editing-wont-update-keeps-saving/150249)

<div class="topic-metadata">

**Author:** [@CompUser](https://www.ruby-forum.com/u/CompUser)\
**Replies:** 3\
**Last updated:** [October 7, 2008, 10:27am UTC](https://www.ruby-forum.com/t/in-place-editing-wont-update-keeps-saving/150249 "2008-10-07T10:27:35Z")

</div>

Hey lads, I’m stuck!! implementing in\_place\_editing is simple, according to many tutorials. but i can’t find out what i’m doing wrong. I can edit the text, but when I hit the “Ok” key, the “Saving…” part comes up and …

---

## [Where to learn rdoc?](https://www.ruby-forum.com/t/where-to-learn-rdoc/147751)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [September 27, 2008, 6:58pm UTC](https://www.ruby-forum.com/t/where-to-learn-rdoc/147751 "2008-09-27T18:58:27Z")

</div>

I know this is a noob question but I decided ot start documenting all of my libraries. I can’t find a tutorial or anything on how to properly do this. Can anyone point me in the right direction? Thanks!

---

## [Array#push](https://www.ruby-forum.com/t/array-push/147285)

<div class="topic-metadata">

**Author:** [@rgreen](https://www.ruby-forum.com/u/rgreen)\
**Replies:** 3\
**Last updated:** [August 30, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/array-push/147285 "2008-08-30T16:35:20Z")

</div>

Given the foloowing code: class Person attr\_accessor :first\_name, :middle\_name, :last\_name def whole\_name n = first\_name + " " n \<\< "#{middle\_name} " if middle\_name n \<\< last\_name return n.size end end m = Pers…

---

## [Installed Rails, problem with 1st Application](https://www.ruby-forum.com/t/installed-rails-problem-with-1st-application/135531)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 3\
**Last updated:** [April 23, 2008, 7:16am UTC](https://www.ruby-forum.com/t/installed-rails-problem-with-1st-application/135531 "2008-04-23T07:16:05Z")

</div>

so i installed ruby+gems then fetched rails and now i want to start with an apllication but i dont quite get it: “”" Make your application Create your application skeleton and start the server: rails path/to/your/n…

---

## [File\_fied\_tag on safari](https://www.ruby-forum.com/t/file-fied-tag-on-safari/131906)

<div class="topic-metadata">

**Author:** [@arpit\_jain](https://www.ruby-forum.com/u/arpit_jain)\
**Replies:** 3\
**Last updated:** [April 15, 2008, 9:24pm UTC](https://www.ruby-forum.com/t/file-fied-tag-on-safari/131906 "2008-04-15T21:24:50Z")

</div>

Hi I am using file\_field\_tag helper to upload the files. It is working fine on mozilla and ie but it really screwed me up in safari. When i see the log file, i found that its binary data is being passed, not the fi…

---

## [Bus widths and data rates](https://www.ruby-forum.com/t/bus-widths-and-data-rates/127580)

<div class="topic-metadata">

**Author:** [@TomasOMaille](https://www.ruby-forum.com/u/TomasOMaille)\
**Replies:** 3\
**Last updated:** [January 30, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/bus-widths-and-data-rates/127580 "2008-01-30T18:10:10Z")

</div>

Hello, I have been trying to understand the tx and rx data paths through the AD9862 and the FPGA (standard configuration). RX side: The two ADCs of the AD9862 push data onto two 12 bit buses After the FPGA MUX …

---

## [Ruby 1.9.0 and the debugger](https://www.ruby-forum.com/t/ruby-1-9-0-and-the-debugger/126986)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-0-and-the-debugger/126986 "2008-01-25T16:50:53Z")

</div>

I’ve built Ruby 1.9 and all is well with that. With respects to using the debugger, the README says “use rb\_debug”. Now does that mean require rb\_debug in an irb session or am I to recompile Ruby to include support fo…

---

## [Issue with FOR loop?](https://www.ruby-forum.com/t/issue-with-for-loop/125958)

<div class="topic-metadata">

**Author:** [@venu](https://www.ruby-forum.com/u/venu)\
**Replies:** 3\
**Last updated:** [January 14, 2008, 8:06am UTC](https://www.ruby-forum.com/t/issue-with-for-loop/125958 "2008-01-14T08:06:35Z")

</div>

My view rhtml contains the following \<% for contactaddress in @contact\_address %\> \<%= text\_field “contactaddress”, “addr\_line1”, “size” =\> 50 %\>\</ \<%end%\> In the above code @contactact\_address contains several contac…

---

## [Form fields](https://www.ruby-forum.com/t/form-fields/118442)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 3\
**Last updated:** [October 27, 2007, 7:51am UTC](https://www.ruby-forum.com/t/form-fields/118442 "2007-10-27T07:51:15Z")

</div>

Hi, Background: I have customer’s details in the customers table (for example email, address…) Whenthat customer proceeds to checkout (which is controlled by the cart\_controller not the customer-controller), the che…

---

## [NoMethodError in Store#add\_to\_cart](https://www.ruby-forum.com/t/nomethoderror-in-store-add-to-cart/114878)

<div class="topic-metadata">

**Author:** [@crispy](https://www.ruby-forum.com/u/crispy)\
**Replies:** 0\
**Last updated:** [September 18, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-store-add-to-cart/114878 "2007-09-18T14:07:54Z")

</div>

Hello - I am new to not only Ruby but programing in general. I have been given this book “Agile Web D. with Rails” and told that it will tell me everything I need to know. I am completely lost. I have managed to ge…

---

## [Form and popup in RoR](https://www.ruby-forum.com/t/form-and-popup-in-ror/110977)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [August 1, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/form-and-popup-in-ror/110977 "2007-08-01T20:21:07Z")

</div>

I have this form helper that I am using that updates a div within the form upon completion. The action of the form runs a method that check the validaty of a membership number. If it is a good number the number is add…

---

## [FPGA Gain?](https://www.ruby-forum.com/t/fpga-gain/109048)

<div class="topic-metadata">

**Author:** [@ericrchr](https://www.ruby-forum.com/u/ericrchr)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 12:11am UTC](https://www.ruby-forum.com/t/fpga-gain/109048 "2007-07-12T00:11:53Z")

</div>

Hello, The LFRX daughterboard on the USRP has 20 dB of gain. I seem to remember that 10 dB of that gain is from the FPGA. I assume that this gain is after the ADC? If so, is it really useful? I relate digital gain…

---

## [How to render a .builder template](https://www.ruby-forum.com/t/how-to-render-a-builder-template/108811)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 3\
**Last updated:** [July 10, 2007, 12:14pm UTC](https://www.ruby-forum.com/t/how-to-render-a-builder-template/108811 "2007-07-10T12:14:10Z")

</div>

Hi, How can I get rails to render a .builder template from within a respond\_to block? thanks Mark

---

## [Time.to\_s](https://www.ruby-forum.com/t/time-to-s/108268)

<div class="topic-metadata">

**Author:** [@jonas](https://www.ruby-forum.com/u/jonas)\
**Replies:** 3\
**Last updated:** [July 1, 2007, 12:42pm UTC](https://www.ruby-forum.com/t/time-to-s/108268 "2007-07-01T12:42:09Z")

</div>

I’m overriding Time.to\_s to use a custom date format. The method get’s an argument, nothing in the documentation says that it should. How do I find out what the argument does? Where can I find the sourcecode for the o…

---

## [Mechanize newbie](https://www.ruby-forum.com/t/mechanize-newbie/106774)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 3\
**Last updated:** [June 14, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/mechanize-newbie/106774 "2007-06-14T21:57:48Z")

</div>

Okay, Ruby in general newbie, but I did the whole shovell project for RoR, so I felt I was getting somewhere… I am fooling around trying to make a spider (scraper?) to pull content off the Forum I read all the time so…

---

## [Uploading pictures to database or put them in the file syste](https://www.ruby-forum.com/t/uploading-pictures-to-database-or-put-them-in-the-file-syste/106794)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 3\
**Last updated:** [June 14, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/uploading-pictures-to-database-or-put-them-in-the-file-syste/106794 "2007-06-14T20:50:35Z")

</div>

Hello, guys I want your ideas whether uploading pictures to database or uploading to the file system on the web server is the best way to implement? Can you give me pros and cons about this issue? Thanks Chamnap

---

## [Another beginner question](https://www.ruby-forum.com/t/another-beginner-question/105978)

<div class="topic-metadata">

**Author:** [@micahphone](https://www.ruby-forum.com/u/micahphone)\
**Replies:** 3\
**Last updated:** [June 5, 2007, 8:37am UTC](https://www.ruby-forum.com/t/another-beginner-question/105978 "2007-06-05T08:37:27Z")

</div>

Sorry if my “newbie” questions are excessive. I promise that if/when I start getting on my feet with Ruby programming I will contribute back to the learning process 10-fold. That’s how I role. Simple question: I was …

---

## [Trouble with a two-steps resource creation](https://www.ruby-forum.com/t/trouble-with-a-two-steps-resource-creation/103478)

<div class="topic-metadata">

**Author:** [@claxo](https://www.ruby-forum.com/u/claxo)\
**Replies:** 3\
**Last updated:** [May 7, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/trouble-with-a-two-steps-resource-creation/103478 "2007-05-07T13:45:59Z")

</div>

Hello, I’m having some troubles figuring how a REST two-step creation process for a resource could take place. The resource is also nested. I have Projects that may have Contributions. So here is the routes: map.re…

---

## [Determining width of viewing window](https://www.ruby-forum.com/t/determining-width-of-viewing-window/91842)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/determining-width-of-viewing-window/91842 "2007-04-12T23:40:18Z")

</div>

Does Rails provide a means for determining the width of the viewing area? What I’d like to do is to be able to say something like, ‘style=“width: 100%-140px”’. Thanks. ... doug

---

## [Easiest way to order by field in joined table](https://www.ruby-forum.com/t/easiest-way-to-order-by-field-in-joined-table/91548)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 3\
**Last updated:** [April 10, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/easiest-way-to-order-by-field-in-joined-table/91548 "2007-04-10T21:02:04Z")

</div>

hey there - given a simple table like this: orders.id orders.client\_id orders.supplier\_id orders.date\_ordered I create and index view that has in it something like this: \<%= @orders.id %\> \<%= @orders.client\_name %\>…

---

## [Nesting Array loops](https://www.ruby-forum.com/t/nesting-array-loops/91442)

<div class="topic-metadata">

**Author:** [@Rubic](https://www.ruby-forum.com/u/Rubic)\
**Replies:** 3\
**Last updated:** [April 9, 2007, 9:51am UTC](https://www.ruby-forum.com/t/nesting-array-loops/91442 "2007-04-09T09:51:11Z")

</div>

I new to Ruby and I have lost touch with whatever little programming I did know a few years back. Sorry if this is a lame question. How does one nest arrays? I want to check every element of the array and compare it a…

---

## [DL::PtrData#to\_a dumps core](https://www.ruby-forum.com/t/dl-ptrdata-to-a-dumps-core/88464)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 3\
**Last updated:** [March 17, 2007, 7:07am UTC](https://www.ruby-forum.com/t/dl-ptrdata-to-a-dumps-core/88464 "2007-03-17T07:07:32Z")

</div>

e$B$3$s$P$s$O!"e(Bsheepman e$B$G$9!#e(B DL::PtrData e$B$,0J2\<$N$h$&$K$9$k$He(B core e$B$rEG$-$^$9!#e(B PtrData e$B%/%i%9$O%\]%$%s%?!\<$N%i%C%Q!\<$G$9$+$i!"07$$\<!Bh$G$Oe(B core e$B$rEG$$$F$7$^$&$N$O;EJ}$,$J$$$H;W$&$N$G$9$…

---

## [Using one model in multiple associations to another model](https://www.ruby-forum.com/t/using-one-model-in-multiple-associations-to-another-model/83894)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 3\
**Last updated:** [January 30, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/using-one-model-in-multiple-associations-to-another-model/83894 "2007-01-30T17:29:53Z")

</div>

Looking for some guidance on how to accomplish the following… Assume a ticket management system being developed, with a main Ticket model. A Ticket has: a caller an assigned resource a closer a last-updater an es…

---

## [A loop within another loop](https://www.ruby-forum.com/t/a-loop-within-another-loop/81720)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/a-loop-within-another-loop/81720 "2007-01-19T16:31:39Z")

</div>

Hi. Hopefully you will see the code and see what I’m trying to do, and see the problem. The loop seems messy, but my method to help with eye strain is to match up the do-end’s down an imaginary column… ie: array.each …

---

## [Where does song.name come from?](https://www.ruby-forum.com/t/where-does-song-name-come-from/80519)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 3\
**Last updated:** [December 28, 2006, 3:01pm UTC](https://www.ruby-forum.com/t/where-does-song-name-come-from/80519 "2006-12-28T15:01:59Z")

</div>

Hi all, On page 49 of Pickaxe 2 are some scripts: class Songlist def with\_title(title) @songs.find{|song| title==song.name} end end I just wonder where the method “name” comes from and what its purpose is here. I…

---

## [?\<number\> added to my url's](https://www.ruby-forum.com/t/number-added-to-my-urls/77211)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 25, 2006, 4:12am UTC](https://www.ruby-forum.com/t/number-added-to-my-urls/77211 "2006-11-25T04:12:10Z")

</div>

Hi All, I have a rails application up and running. It’s working great. The one thing that bothers me is that when I embed urls in my pages, a lot of them are suffixed by ?, where number seems to be a timestamp. E.g.:…

---

## [Accentuated characters with find function](https://www.ruby-forum.com/t/accentuated-characters-with-find-function/72658)

<div class="topic-metadata">

**Author:** [@maxime](https://www.ruby-forum.com/u/maxime)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 3:55am UTC](https://www.ruby-forum.com/t/accentuated-characters-with-find-function/72658 "2006-10-23T03:55:58Z")

</div>

Hello, I have a small problem with accentuated characters. I have setup everything for unicode and no problem so far (I can input chinese characters and it is displayed correctly) The only problem appear if I do a fi…

---

## [Validate a form NOT connected to a model](https://www.ruby-forum.com/t/validate-a-form-not-connected-to-a-model/61685)

<div class="topic-metadata">

**Author:** [@Ben\_Wyrosdick](https://www.ruby-forum.com/u/Ben_Wyrosdick)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 1:15am UTC](https://www.ruby-forum.com/t/validate-a-form-not-connected-to-a-model/61685 "2006-10-23T01:15:41Z")

</div>

Is there any way to validate a form that isn’t connected to a model. I have a form that connects to a controller action and I want to validate the inputs on the form like I would with the validates\_ATTRIBUTE\_of prope…

---

## [ROR Dev's needed/Hot Start Up-Steve Case's cmpny from AOL](https://www.ruby-forum.com/t/ror-devs-needed-hot-start-up-steve-cases-cmpny-from-aol/71142)

<div class="topic-metadata">

**Author:** [@J.KSLloyd](https://www.ruby-forum.com/u/J.KSLloyd)\
**Replies:** 3\
**Last updated:** [October 6, 2006, 10:54am UTC](https://www.ruby-forum.com/t/ror-devs-needed-hot-start-up-steve-cases-cmpny-from-aol/71142 "2006-10-06T10:54:52Z")

</div>

Good morning all, Revolution Health Group, a division of Revolution and one of Washington D.C.'s fastest growing companies is seeking several Ruby Developers to join our exciting team. We will accept candidates that …

---

## [Where to put db-less objects?](https://www.ruby-forum.com/t/where-to-put-db-less-objects/69217)

<div class="topic-metadata">

**Author:** [@harp](https://www.ruby-forum.com/u/harp)\
**Replies:** 3\
**Last updated:** [September 19, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/where-to-put-db-less-objects/69217 "2006-09-19T17:41:09Z")

</div>

Hi, thanks in adavance for any help/insights. i have just finished creating a Magazine model class, that is it’s own little object, not backed by a db. altogether i have 20 magazines or so, and they won’t change thro…

---

## [Altro problemino](https://www.ruby-forum.com/t/altro-problemino/65344)

<div class="topic-metadata">

**Author:** [@stanley](https://www.ruby-forum.com/u/stanley)\
**Replies:** 3\
**Last updated:** [August 18, 2006, 11:28am UTC](https://www.ruby-forum.com/t/altro-problemino/65344 "2006-08-18T11:28:59Z")

</div>

Sapete per caso se c’Ã¨ un metodo per cercare in un DataBase usando le espressioni regolari ? CioÃ¨ cercare un libro con il titolo che comincia per, oppure conprendente… utilizzando il metodo find\_all\_by\_title() Graz…

---

## [Calculate method is gone once I use 'find'?](https://www.ruby-forum.com/t/calculate-method-is-gone-once-i-use-find/65095)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 3\
**Last updated:** [August 16, 2006, 4:21am UTC](https://www.ruby-forum.com/t/calculate-method-is-gone-once-i-use-find/65095 "2006-08-16T04:21:54Z")

</div>

Could someone please explain why this works: current\_user.accounts.sum(:balance) But not this: current\_user.accounts.find\_all\_by\_active(true).sum(:balance) For the latter Rails tells me sum is an undefined method. It…

[Previous page](https://www.ruby-forum.com/top.md?page=1790&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1792&per_page=50)
