# Top

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

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

---

## ["Widgets" on a web site - what's the best way to do it?](https://www.ruby-forum.com/t/widgets-on-a-web-site-whats-the-best-way-to-do-it/144877)

<div class="topic-metadata">

**Author:** [@Hubert\_SSSSSSSSSpic](https://www.ruby-forum.com/u/Hubert_SSSSSSSSSpic)\
**Replies:** 5\
**Last updated:** [August 4, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/widgets-on-a-web-site-whats-the-best-way-to-do-it/144877 "2008-08-04T13:00:03Z")

</div>

Hi all, I am having general question on how do you solve problem of rendering interactive (or not) “widgets” on your web sites - areas that user interact with and provide special behavior. For example, one might want…

---

## [Uh... fixtures?](https://www.ruby-forum.com/t/uh-fixtures/129389)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 5\
**Last updated:** [February 18, 2008, 4:37am UTC](https://www.ruby-forum.com/t/uh-fixtures/129389 "2008-02-18T04:37:07Z")

</div>

RSpec-ers: I’m aware this is quite the FAQ. I have probably asked it myself, but I just can’t Google up anything but others asking it. I grabbed the source to Beast, to use as a Rails project uninfluenced by me, or …

---

## [Monitoring postgres transaction](https://www.ruby-forum.com/t/monitoring-postgres-transaction/127225)

<div class="topic-metadata">

**Author:** [@glacius](https://www.ruby-forum.com/u/glacius)\
**Replies:** 5\
**Last updated:** [January 27, 2008, 6:13pm UTC](https://www.ruby-forum.com/t/monitoring-postgres-transaction/127225 "2008-01-27T18:13:52Z")

</div>

Hi I would like to monitor postgres transactions in a realtime fashion, is there a library I can use to help me facilitate this functionality

---

## [Intermediate Form Calculation](https://www.ruby-forum.com/t/intermediate-form-calculation/84089)

<div class="topic-metadata">

**Author:** [@khmckgrp](https://www.ruby-forum.com/u/khmckgrp)\
**Replies:** 5\
**Last updated:** [January 21, 2008, 4:46am UTC](https://www.ruby-forum.com/t/intermediate-form-calculation/84089 "2008-01-21T04:46:55Z")

</div>

I have a form that includes some filtering criteria (select customers based on age, sex, status, etc). I want to add a ‘calculate’ button on the form which will go off and calculate, then display, how many customers w…

---

## [Binmode and ASCII-8BIT](https://www.ruby-forum.com/t/binmode-and-ascii-8bit/125474)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 3:56am UTC](https://www.ruby-forum.com/t/binmode-and-ascii-8bit/125474 "2008-01-10T03:56:06Z")

</div>

e$B@\>;3OB9-$G$9!#e(B http://dontstopmusic.no-ip.org/diary/20080106.html#p02 e$B$r8+$F$A$g$C$HD4$Y$F$\_$?$N$G$9$,!"e(B binmode e$B$Ge(B external\_encoding e$B$,e(B ASCII-8BIT e$B$K$J$ke(B external\_encoding e$B$,e(B ASCI…

---

## [Problem about read .txt file](https://www.ruby-forum.com/t/problem-about-read-txt-file/121271)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 5\
**Last updated:** [November 26, 2007, 11:44am UTC](https://www.ruby-forum.com/t/problem-about-read-txt-file/121271 "2007-11-26T11:44:23Z")

</div>

I have read text by this code message = "" file = File.new(fileDirectory , "r") while line = file.gets message = message+line end file.close puts message @textbox1.set\_value(message) fileDirect…

---

## [++ Help](https://www.ruby-forum.com/t/help/114220)

<div class="topic-metadata">

**Author:** [@lmcdougall](https://www.ruby-forum.com/u/lmcdougall)\
**Replies:** 5\
**Last updated:** [September 11, 2007, 12:48am UTC](https://www.ruby-forum.com/t/help/114220 "2007-09-11T00:48:57Z")

</div>

I am learning Ruby. This is my problem. d=0 if some == 1…90 a=1 b=4 d++ end I get a syntax error. syntax error, unexpected kEND if I take the d++ then it is ok. how should I use the ++ or +=? Thanks

---

## [Ruby-MySql error](https://www.ruby-forum.com/t/ruby-mysql-error/108910)

<div class="topic-metadata">

**Author:** [@swanand\_deodhar](https://www.ruby-forum.com/u/swanand_deodhar)\
**Replies:** 5\
**Last updated:** [July 10, 2007, 7:18am UTC](https://www.ruby-forum.com/t/ruby-mysql-error/108910 "2007-07-10T07:18:35Z")

</div>

Hi! I was doing some really really simple stuff with Ruby DBI… new\_conn = DBI.connect("DBI:Mysql:test:localhost", "root", “pwd”) new\_conn.tables.each do |table| new\_conn.columns(table).each do |columninfo| pri…

---

## [Question - Numbers & Variables](https://www.ruby-forum.com/t/question-numbers-variables/91024)

<div class="topic-metadata">

**Author:** [@Merrie](https://www.ruby-forum.com/u/Merrie)\
**Replies:** 5\
**Last updated:** [April 4, 2007, 4:06pm UTC](https://www.ruby-forum.com/t/question-numbers-variables/91024 "2007-04-04T16:06:14Z")

</div>

Im currently working through the book ‘Learn to Program’ by Chris P. and I am stuck on one of the exercises. I feel like Im close to the answer but just cannot quite get it. I appreciate the help. Below is the program…

---

## [Accessing correct ID](https://www.ruby-forum.com/t/accessing-correct-id/76068)

<div class="topic-metadata">

**Author:** [@evamedia](https://www.ruby-forum.com/u/evamedia)\
**Replies:** 5\
**Last updated:** [November 16, 2006, 10:55am UTC](https://www.ruby-forum.com/t/accessing-correct-id/76068 "2006-11-16T10:55:13Z")

</div>

Been playing with RoR for a few weeks, got quite far, but having a stupid moment, and a morning of googling isn’t getting me anywhere in my controller, amongst others I have @car\_owners = CarOwner.find(:all, :joins =\> …

---

## [How can I dynamiclly generate models?](https://www.ruby-forum.com/t/how-can-i-dynamiclly-generate-models/96112)

<div class="topic-metadata">

**Author:** [@cafebabe](https://www.ruby-forum.com/u/cafebabe)\
**Replies:** 5\
**Last updated:** [June 28, 2006, 5:31am UTC](https://www.ruby-forum.com/t/how-can-i-dynamiclly-generate-models/96112 "2006-06-28T05:31:46Z")

</div>

I am trying to write a plugin, ‘acts\_as\_commentable’, for my models - Image, Book, Music and so on, I do not want to use polymorphic association, so very model should have its own comment class. Here is my code acts\_…

---

## [Acts\_as\_taggable : plugin vs gem](https://www.ruby-forum.com/t/acts-as-taggable-plugin-vs-gem/53605)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 5\
**Last updated:** [February 12, 2006, 10:38pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-plugin-vs-gem/53605 "2006-02-12T22:38:06Z")

</div>

Googling for acts\_as\_taggable is a little confusing: gem, plugin?! What are the differences? Which one to choose? Where is the best doc? Alain

---

## [Denver Area Meetup?](https://www.ruby-forum.com/t/denver-area-meetup/240379)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 24, 2014, 4:51am UTC](https://www.ruby-forum.com/t/denver-area-meetup/240379 "2014-04-24T04:51:39Z")

</div>

Is anyone doing a GnuRadio / SDR meetup in the Denver Area? If not, is anyone in the area interested? First beer is on me. :slight\_smile: –Eric

---

## [String concatenation + vs \<\<](https://www.ruby-forum.com/t/string-concatenation-vs/239829)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [March 16, 2014, 4:33pm UTC](https://www.ruby-forum.com/t/string-concatenation-vs/239829 "2014-03-16T16:33:33Z")

</div>

So I have the following: flash\[:success\] = 'Your payment has completed. Please contact ' + @order.seller.name + ' (mobile: ' + @order.seller.mobile\_number + ', email: ' …

---

## [How can i block these requests](https://www.ruby-forum.com/t/how-can-i-block-these-requests/224072)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 30, 2012, 6:20am UTC](https://www.ruby-forum.com/t/how-can-i-block-these-requests/224072 "2012-10-30T06:20:54Z")

</div>

I am getting following access.log: and are significant in number RequestMethod=- RequestURI=- HTTPStatus=400 BodyBytesSent=0 RequestTime=0.000 ResponseTime=- HTTPReferrer=“-” UserAgent=“-” X-Forwarded-For=- HTTPSta…

---

## [Do RTL based devices need some sort of calibration?](https://www.ruby-forum.com/t/do-rtl-based-devices-need-some-sort-of-calibration/221846)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 2, 2012, 5:44pm UTC](https://www.ruby-forum.com/t/do-rtl-based-devices-need-some-sort-of-calibration/221846 "2012-08-02T17:44:46Z")

</div>

Hi all, I’ve been using a FCD for a couple of weeks now and I decided to get a go with a rtl-sdr compatible dongle. I bought one from osmocom and I’m having trouble to get useful data out of it. Based on the USB IDs,…

---

## [Interesting strangeness with I18n.t](https://www.ruby-forum.com/t/interesting-strangeness-with-i18n-t/216250)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 31, 2012, 2:22am UTC](https://www.ruby-forum.com/t/interesting-strangeness-with-i18n-t/216250 "2012-01-31T02:22:45Z")

</div>

Hi all, I have a locale en.yml file like this: https://gist.github.com/1707858 If you launch a rails console and ask for: irb(main):003:0\> I18n.t(“country.ES”) =\> “Spain” Cool. Expected response, but what if you do: …

---

## [Showing uploads using jquery.media.js](https://www.ruby-forum.com/t/showing-uploads-using-jquery-media-js/215524)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 7, 2012, 1:10am UTC](https://www.ruby-forum.com/t/showing-uploads-using-jquery-media-js/215524 "2012-01-07T01:10:15Z")

</div>

Hi guys, Pardon for my newness to Rails and javascript jargon and things, I’m having a problem displaying uploads using jquery.media.js. jQuery(document).ready(function() { var path = ‘/uploads/\<%= @myfile.filename %\>…

---

## [Help Needed urgently](https://www.ruby-forum.com/t/help-needed-urgently/214331)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 8, 2011, 2:05am UTC](https://www.ruby-forum.com/t/help-needed-urgently/214331 "2011-12-08T02:05:06Z")

</div>

I am able to implement manual memory management in Ruby.I can allocate and deallocate the object by myself but The Garbage collector is not marking nor allocating the object, but its creating the object. Does it causi…

---

## [\[Ruby 1.9 - Bug #5152\]\[Open\] TestDateNew#test civil が GC.stress = true 下で Failure](https://www.ruby-forum.com/t/ruby-1-9-bug-5152-open-testdatenew-test-civil-gc-stress-true-failure/210244)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 7, 2011, 10:07am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-5152-open-testdatenew-test-civil-gc-stress-true-failure/210244 "2011-08-07T10:07:18Z")

</div>

Issue #5152 has been reported by Tomoyuki C… Bug #5152: TestDateNew#test\_civil が GC.stress = true 下で Failure Author: Tomoyuki C. Status: Open Priority: Normal Assignee: tadayoshi funaba Category: ext Target vers…

---

## [USRP transient peak from lock, unlock, set decim/freq](https://www.ruby-forum.com/t/usrp-transient-peak-from-lock-unlock-set-decim-freq/209347)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 19, 2011, 2:52pm UTC](https://www.ruby-forum.com/t/usrp-transient-peak-from-lock-unlock-set-decim-freq/209347 "2011-07-19T14:52:30Z")

</div>

I am getting some kind of very strong transient peak when using lock unlock and changing usrp decimation rate and frequency and in the beginning. Is this a normal behaviour? So each time I reconfigure my system I hav…

---

## [OT: file attribute serialization in Windows](https://www.ruby-forum.com/t/ot-file-attribute-serialization-in-windows/196381)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 3\
**Last updated:** [October 12, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/ot-file-attribute-serialization-in-windows/196381 "2010-10-12T17:06:38Z")

</div>

I am writing a backup program (not necessarily in Ruby) and I need to back up ALL of a file’s attributes. For Windows: R Read-only files H Hidden files A Files ready for archiving S System files I Not content inde…

---

## [\*array $B$G0\[\>o=\*N;(B](https://www.ruby-forum.com/t/array-b-g0-o-n-b/192771)

<div class="topic-metadata">

**Author:** [@SSSBS.EDSSB\_SSBMxDL](https://www.ruby-forum.com/u/SSSBS.EDSSB_SSBMxDL)\
**Replies:** 3\
**Last updated:** [August 5, 2010, 1:37pm UTC](https://www.ruby-forum.com/t/array-b-g0-o-n-b/192771 "2010-08-05T13:37:51Z")

</div>

e$B\>.EDMxDL$H?=$7$^$9!#e(B ruby 1.9.1 e$B$G%"%!\<%H$7$^$9!#e(B $ ruby -e ‘x=\[1\];\[2,\*x\];x’ e$B$?$V$s!"%P%0$8$c$J$$$+$H!#e(B T.Oda

---

## [Occasional truncated responses with nginx+passenger](https://www.ruby-forum.com/t/occasional-truncated-responses-with-nginx-passenger/192234)

<div class="topic-metadata">

**Author:** [@Jonathan\_del\_Stroth](https://www.ruby-forum.com/u/Jonathan_del_Stroth)\
**Replies:** 3\
**Last updated:** [July 26, 2010, 7:47pm UTC](https://www.ruby-forum.com/t/occasional-truncated-responses-with-nginx-passenger/192234 "2010-07-26T19:47:13Z")

</div>

Heya, I’m having problems with our nginx setup (nginx 0.7.67 -\> passenger 2.2.15 -\> rails 2.3.6, all running on Solaris 5.11). Most requests are fine, but occasionally - maybe every 1 in 50 - I get a truncated respo…

---

## [Mappe colorate](https://www.ruby-forum.com/t/mappe-colorate/191718)

<div class="topic-metadata">

**Author:** [@1w4n](https://www.ruby-forum.com/u/1w4n)\
**Replies:** 3\
**Last updated:** [July 17, 2010, 10:42am UTC](https://www.ruby-forum.com/t/mappe-colorate/191718 "2010-07-17T10:42:21Z")

</div>

Mi rendo conto che l’argomento e’ un po’ off topic ma non so piÃ¹ dove sbattere la testa: ho necessita’ di generare delle immagini di mappe con zone colorate in base a dei valori letti da una base dati o calcolati, qu…

---

## [Question about hier block](https://www.ruby-forum.com/t/question-about-hier-block/185830)

<div class="topic-metadata">

**Author:** [@caboto](https://www.ruby-forum.com/u/caboto)\
**Replies:** 3\
**Last updated:** [March 29, 2010, 10:53am UTC](https://www.ruby-forum.com/t/question-about-hier-block/185830 "2010-03-29T10:53:12Z")

</div>

Hi I’m trying to make a very simple hier block. ( see the code below). When I execute my top block i get no error, but the data seems to never enter the hier block ( the print-line prints : “()”). What am I doing w…

---

## [Draft of 1.9.2 release schedule](https://www.ruby-forum.com/t/draft-of-1-9-2-release-schedule/185161)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 3\
**Last updated:** [March 19, 2010, 6:23am UTC](https://www.ruby-forum.com/t/draft-of-1-9-2-release-schedule/185161 "2010-03-19T06:23:47Z")

</div>

Yugui e$B$5$s!"e(B e$B1sF#$G$9!#e(B e$B$$$$2C8:!"e(B1.9.2 e$B$r%j%j!\<%9$7$^$7$g$&!\*e(B e$B\>!\<j$K:n$C$?%j%j!\<%9%9%1%8%e!\<%k0F$G$9!#e(B 3 e$B7nKve(B: e$B;EMM%U%j!\<%:e(B 4 e$B7nKve(B: e$B%3!\<%I%U%j!\<%:e(B 5 e$B7nKve(B:…

---

## [\[Feature #2574\] merging net/https](https://www.ruby-forum.com/t/feature-2574-merging-net-https/181245)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 3\
**Last updated:** [January 8, 2010, 1:27pm UTC](https://www.ruby-forum.com/t/feature-2574-merging-net-https/181245 "2010-01-08T13:27:47Z")

</div>

Feature #2574: merging net/https http://redmine.ruby-lang.org/issues/show/2574 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: lib e$B8=:e(B net/https e$B$O$\[$H$s$IH4$13L$G!"$\[$…

---

## [How to check if operation returns an error](https://www.ruby-forum.com/t/how-to-check-if-operation-returns-an-error/179911)

<div class="topic-metadata">

**Author:** [@lordcrap](https://www.ruby-forum.com/u/lordcrap)\
**Replies:** 3\
**Last updated:** [December 11, 2009, 2:37pm UTC](https://www.ruby-forum.com/t/how-to-check-if-operation-returns-an-error/179911 "2009-12-11T14:37:00Z")

</div>

Hi all, I started learning ruby two weeks ago and I’m loving it. I’m coding some date/time program to practice at the moment and I hit a wall. I need a way to ask ruby whether or not a certain operation will return an…

---

## [Conviene usare i CSS Framework?](https://www.ruby-forum.com/t/conviene-usare-i-css-framework/178967)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 3\
**Last updated:** [November 14, 2009, 11:56am UTC](https://www.ruby-forum.com/t/conviene-usare-i-css-framework/178967 "2009-11-14T11:56:06Z")

</div>

Ciao a tutti, ho scoperto da poco l’esistenza dei CSS Framework, parlo di Blueprint, 960 Grid, … Mi chiedevo quanto questi sono usati dagli sviluppatori Rails, e se vale veramente la pena impararli ed usarli, e se e’…

---

## [How change :foreign\_key on :through](https://www.ruby-forum.com/t/how-change-foreign-key-on-through/172749)

<div class="topic-metadata">

**Author:** [@hiphapis](https://www.ruby-forum.com/u/hiphapis)\
**Replies:** 3\
**Last updated:** [July 30, 2009, 7:16am UTC](https://www.ruby-forum.com/t/how-change-foreign-key-on-through/172749 "2009-07-30T07:16:54Z")

</div>

Hi Guys. (I’m Asian. so my eng is very poor. sorry!) i want to change :foreign\_key on has\_many :through code is has\_many :following\_members, :class\_name =\> “Follow”, :dependent =\> :destroy has\_many :followings, :fo…

---

## [I cannot install gem](https://www.ruby-forum.com/t/i-cannot-install-gem/166875)

<div class="topic-metadata">

**Author:** [@9tailsfox](https://www.ruby-forum.com/u/9tailsfox)\
**Replies:** 3\
**Last updated:** [April 30, 2009, 12:49pm UTC](https://www.ruby-forum.com/t/i-cannot-install-gem/166875 "2009-04-30T12:49:26Z")

</div>

Hello dudes!!! I cannot install any gems. Running gem begins with “Bulk updating gem source indes for: http://gems.rubyforge.org” and ends with Error: while executing gem (Timeout::Error) execution expired Is it fir…

---

## [You called render with invalid options : {:text=\>"howdy"}, nil](https://www.ruby-forum.com/t/you-called-render-with-invalid-options-text-howdy-nil/162940)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 24, 2009, 1:55pm UTC](https://www.ruby-forum.com/t/you-called-render-with-invalid-options-text-howdy-nil/162940 "2009-03-24T13:55:02Z")

</div>

I just “upgraded” to Rails 2.2.2. In environment, I’ve set: RAILS\_GEM\_VERSION = ‘2.2.2’ unless defined? RAILS\_GEM\_VERSION In development.rb and production.rb I’ve commented out: #config.action\_view.cache\_template\_ext…

---

## [2 forms in one page,how to arrange the code and do it restful?](https://www.ruby-forum.com/t/2-forms-in-one-page-how-to-arrange-the-code-and-do-it-restful/154941)

<div class="topic-metadata">

**Author:** [@SSSBMpKSSzE5SSB](https://www.ruby-forum.com/u/SSSBMpKSSzE5SSB)\
**Replies:** 3\
**Last updated:** [December 8, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/2-forms-in-one-page-how-to-arrange-the-code-and-do-it-restful/154941 "2008-12-08T20:37:54Z")

</div>

Backgroup: Customer has many old documents(just some scanning pictures) and want to store them into computer,we need to input the doc and relate them to the existing authors in DB. Key works: document;author UI of d…

---

## [Gzip component with mongrel server](https://www.ruby-forum.com/t/gzip-component-with-mongrel-server/153604)

<div class="topic-metadata">

**Author:** [@ankitparekh](https://www.ruby-forum.com/u/ankitparekh)\
**Replies:** 3\
**Last updated:** [November 19, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/gzip-component-with-mongrel-server/153604 "2008-11-19T12:27:10Z")

</div>

I want to enable gzip component on my site and i m using mongrel server can you please tell me how to do it thanks

---

## [Question concerning ruby file access](https://www.ruby-forum.com/t/question-concerning-ruby-file-access/152088)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 3\
**Last updated:** [October 30, 2008, 2:40am UTC](https://www.ruby-forum.com/t/question-concerning-ruby-file-access/152088 "2008-10-30T02:40:54Z")

</div>

Question concerning ruby file access from a novice: I have seen following code fragment from http://www.rubycentral.com/pickaxe/tut\_io.html File.open(“testfile”, “r”) do |aFile| … process the file end Advantage of …

---

## [List of a Model attributes](https://www.ruby-forum.com/t/list-of-a-model-attributes/151935)

<div class="topic-metadata">

**Author:** [@fhb418](https://www.ruby-forum.com/u/fhb418)\
**Replies:** 3\
**Last updated:** [October 28, 2008, 10:51am UTC](https://www.ruby-forum.com/t/list-of-a-model-attributes/151935 "2008-10-28T10:51:55Z")

</div>

Hi, I am just starting on Ruby and I would like to know if there is any place in the code where I can get a Model attributes list ? Of course I could look into the migration file or look at the DB tables, but is ther…

---

## [Rasil e msaccess](https://www.ruby-forum.com/t/rasil-e-msaccess/149832)

<div class="topic-metadata">

**Author:** [@miclab](https://www.ruby-forum.com/u/miclab)\
**Replies:** 3\
**Last updated:** [October 1, 2008, 10:13am UTC](https://www.ruby-forum.com/t/rasil-e-msaccess/149832 "2008-10-01T10:13:31Z")

</div>

Qualcuno se si puÃ² accoppiare rails (activerecord) e msaccess? Ho trovato qualcosa qua ma preferirei avere la conferma da qualcuno della lista. Ciao Michele.

---

## [Sql view](https://www.ruby-forum.com/t/sql-view/147574)

<div class="topic-metadata">

**Author:** [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 1:03pm UTC](https://www.ruby-forum.com/t/sql-view/147574 "2008-09-09T13:03:01Z")

</div>

Ciao a tutti, (se e) come vengono gestire le viste (sql view) in ror ? Ad esempio nel mio caso ho una relazione 1-\* tra customers e trips e dovrei elencare tutti i viaggi di tutti i clienti e poi esportarli in excel:…

---

## [Problem With Migrations](https://www.ruby-forum.com/t/problem-with-migrations/145715)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 3\
**Last updated:** [August 13, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/problem-with-migrations/145715 "2008-08-13T17:46:12Z")

</div>

Hi, I’m following an example of a Rails Book (Practical JRuby on Rails Projects, by Ola B.) and I’m stuck with a weird exception. I have these 3 migration files, but when I run them (with rake db:migrate) I see the fo…

---

## [\[OT\] - Passare da Ruby a Java... una discussione interessante](https://www.ruby-forum.com/t/ot-passare-da-ruby-a-java-una-discussione-interessante/142264)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 3\
**Last updated:** [July 5, 2008, 3:16pm UTC](https://www.ruby-forum.com/t/ot-passare-da-ruby-a-java-una-discussione-interessante/142264 "2008-07-05T15:16:49Z")

</div>

Un pochino OT, ma per me interessante, visto che c’è pure un italiano che ha iniziato il tutto :wink: Quihttp://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/953103b95bf12172?hl=en\[1\] vi è una discussio…

---

## [Resumen de la Rails Conference](https://www.ruby-forum.com/t/resumen-de-la-rails-conference/139084)

<div class="topic-metadata">

**Author:** [@fesplugas](https://www.ruby-forum.com/u/fesplugas)\
**Replies:** 3\
**Last updated:** [June 5, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/resumen-de-la-rails-conference/139084 "2008-06-05T15:05:11Z")

</div>

Esta vez no hay resumen como lo hubo la otra vez de la Euruko, así que invito a los que estan por allì que comenten un poco como esta siendo la conferencia, novedades, links a los keynotes.

---

## [Railscamp : important](https://www.ruby-forum.com/t/railscamp-important/137749)

<div class="topic-metadata">

**Author:** [@Jean-Baptiste\_E](https://www.ruby-forum.com/u/Jean-Baptiste_E)\
**Replies:** 3\
**Last updated:** [May 17, 2008, 7:02am UTC](https://www.ruby-forum.com/t/railscamp-important/137749 "2008-05-17T07:02:53Z")

</div>

Bonjour à tous, Pour ceux qui souhaitent participer à l’atelier refactoring lors du railscamp samedi : Sachez que nous analyserons et refactoriserons le réseau social opensource LovdByLess. Comme le temps imparti n’…

---

## [Rspec version to use with git](https://www.ruby-forum.com/t/rspec-version-to-use-with-git/137151)

<div class="topic-metadata">

**Author:** [@Mark\_HSWilkinson](https://www.ruby-forum.com/u/Mark_HSWilkinson)\
**Replies:** 3\
**Last updated:** [May 10, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/rspec-version-to-use-with-git/137151 "2008-05-10T14:55:14Z")

</div>

I want to start using RSpec in an existing project that uses git for SCM, and I was planning on using git submodules to pull in known-stable releases of the rspec and rspec\_on\_rails plugins. The current repositories o…

---

## [MRFM (Magnetic Resonance Force Microsocopy) and GNU Radio](https://www.ruby-forum.com/t/mrfm-magnetic-resonance-force-microsocopy-and-gnu-radio/136527)

<div class="topic-metadata">

**Author:** [@Jonathan\_P\_Jacky](https://www.ruby-forum.com/u/Jonathan_P_Jacky)\
**Replies:** 3\
**Last updated:** [May 3, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/mrfm-magnetic-resonance-force-microsocopy-and-gnu-radio/136527 "2008-05-03T20:18:28Z")

</div>

The UW Quantum System Engineering Laboratory has written code for Magnetic Resonance Force Microscopy (MRFM). The code is available from http://staff.washington.edu/~jon/gr-mrfm/ Some of the code might be useful to o…

---

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

<div class="topic-metadata">

**Author:** [@Col\_W](https://www.ruby-forum.com/u/Col_W)\
**Replies:** 3\
**Last updated:** [April 2, 2008, 11:57am UTC](https://www.ruby-forum.com/t/activerecord-lifecycle/133335 "2008-04-02T11:57:07Z")

</div>

Can someone point me a where the active record lifecycle. It’s discussed in the docs on the callbacks, but it’s never actually defined there. I just want to know what happens when.

---

## [Radio\_button](https://www.ruby-forum.com/t/radio-button/132940)

<div class="topic-metadata">

**Author:** [@vylycyn](https://www.ruby-forum.com/u/vylycyn)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/radio-button/132940 "2008-03-26T14:18:50Z")

</div>

Buenas. uds como recuperan el valor de un radio\_button del modelo/db? yo tengo asi y siempre la vista me muestra desseleccionado. \<%= radio\_button("preinscrito", "prioridad", 1) %\> Alta \<%= radio\_button("preinscr…

---

## [Time.now](https://www.ruby-forum.com/t/time-now/118296)

<div class="topic-metadata">

**Author:** [@Casimir](https://www.ruby-forum.com/u/Casimir)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/time-now/118296 "2007-10-25T13:45:52Z")

</div>

What units does it output - with .to\_f or .to\_i? Doesn’t seem to be milliseconds. I could be wrong. Ruby-doc dogged me. Google said Jack Ruby was writing letters to his brother Earl and suggested japanese. :smiley: I…

---

## [Help getting multiple submit buttons working in Internet Exp](https://www.ruby-forum.com/t/help-getting-multiple-submit-buttons-working-in-internet-exp/114477)

<div class="topic-metadata">

**Author:** [@anthonyrudgick](https://www.ruby-forum.com/u/anthonyrudgick)\
**Replies:** 3\
**Last updated:** [September 13, 2007, 4:23am UTC](https://www.ruby-forum.com/t/help-getting-multiple-submit-buttons-working-in-internet-exp/114477 "2007-09-13T04:23:49Z")

</div>

Hi, I using multiple submit buttons with a form and need to determine which button was used for the form submission back in the controller. This works fine in Firefox, but I can;t seem to get it to work with Internet …

---

## [Assigning roles and menu items at signup](https://www.ruby-forum.com/t/assigning-roles-and-menu-items-at-signup/114175)

<div class="topic-metadata">

**Author:** [@sunny\_beach](https://www.ruby-forum.com/u/sunny_beach)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 6:58pm UTC](https://www.ruby-forum.com/t/assigning-roles-and-menu-items-at-signup/114175 "2007-09-12T18:58:32Z")

</div>

My problem is similar to the thread from the rails forum: Creating Two Models in One Form http://railsforum.com/viewtopic.php?id=717 I am using acts\_as\_authenticated and role\_requirement and a model called “menu” al…

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

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