# Top

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

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

---

## [How to perform search on multiple models and controllers](https://www.ruby-forum.com/t/how-to-perform-search-on-multiple-models-and-controllers/110945)

<div class="topic-metadata">

**Author:** [@myowntribe](https://www.ruby-forum.com/u/myowntribe)\
**Replies:** 1\
**Last updated:** [August 1, 2007, 10:37am UTC](https://www.ruby-forum.com/t/how-to-perform-search-on-multiple-models-and-controllers/110945 "2007-08-01T10:37:42Z")

</div>

Hi I am using acts\_as\_ferret and it works great on inidvidual models. Like I can search seperately for fileds indexed in BasicProfile model and fields indexed in WorkProfile model. I would like to know if it is possi…

---

## [\[Rails\] Setting hostname](https://www.ruby-forum.com/t/rails-setting-hostname/110217)

<div class="topic-metadata">

**Author:** [@CSSSSdric\_DELTHEIL](https://www.ruby-forum.com/u/CSSSSdric_DELTHEIL)\
**Replies:** 1\
**Last updated:** [July 24, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/rails-setting-hostname/110217 "2007-07-24T12:04:56Z")

</div>

Bonjour à tous, Je cherche à savoir quel est le setting qui permet de spécifier le hostname (eg. monsite.com) d’une application Rails ? Cet hostname est par ailleurs utilisé par ActionController lors des appels à Act…

---

## [Actionmailer](https://www.ruby-forum.com/t/actionmailer/108534)

<div class="topic-metadata">

**Author:** [@giovanno\_zangrolli](https://www.ruby-forum.com/u/giovanno_zangrolli)\
**Replies:** 1\
**Last updated:** [July 4, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/actionmailer/108534 "2007-07-04T20:31:48Z")

</div>

Ciao a tutti, non riesco a far funzionare l’ActionMailer. Aggiungo le righe in environment.rb, poi apro una shell e digito ruby script/generate mailer Agende. Mi dice che ActionMailer Ã¨ una costante non inizializzat…

---

## [About how to test RFX900 with USRP](https://www.ruby-forum.com/t/about-how-to-test-rfx900-with-usrp/107783)

<div class="topic-metadata">

**Author:** [@CHENSZHIFENG](https://www.ruby-forum.com/u/CHENSZHIFENG)\
**Replies:** 1\
**Last updated:** [June 26, 2007, 7:42am UTC](https://www.ruby-forum.com/t/about-how-to-test-rfx900-with-usrp/107783 "2007-06-26T07:42:37Z")

</div>

Hi, I am a beginner in USRP for GNU Radio. I just buy two sets of USRP with RFX900 for our project. There is no any documents together with the package. That is fine for play USRP monther board. I have test the USRP …

---

## [Please help me for gems](https://www.ruby-forum.com/t/please-help-me-for-gems/91287)

<div class="topic-metadata">

**Author:** [@prot](https://www.ruby-forum.com/u/prot)\
**Replies:** 1\
**Last updated:** [June 24, 2007, 11:02am UTC](https://www.ruby-forum.com/t/please-help-me-for-gems/91287 "2007-06-24T11:02:57Z")

</div>

can we run gems without installing i mean can we run gem from folder where we dump gems???

---

## [SOAP Client -getting data from SOAP::Mapping::Object?](https://www.ruby-forum.com/t/soap-client-getting-data-from-soap-object/104839)

<div class="topic-metadata">

**Author:** [@masonbrown](https://www.ruby-forum.com/u/masonbrown)\
**Replies:** 1\
**Last updated:** [May 23, 2007, 5:27am UTC](https://www.ruby-forum.com/t/soap-client-getting-data-from-soap-object/104839 "2007-05-23T05:27:01Z")

</div>

I’ve been staring at this for too long, and at this point my mind can’t think clearly enough to continue without help… I’ve never worked with SOAP before, so forgive me if I’m overlooking something simple. I’m using…

---

## [Problema al subir archivo pequeÃ±o](https://www.ruby-forum.com/t/problema-al-subir-archivo-pequea-o/89356)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 1\
**Last updated:** [March 19, 2007, 9:09pm UTC](https://www.ruby-forum.com/t/problema-al-subir-archivo-pequea-o/89356 "2007-03-19T21:09:49Z")

</div>

Saludos amigos, el problema que tengo es al intentar subir un archivo pequeÃ±o, que por naturaleza es convertido en StringIO, los 3 metodos singleton: content\_type, original\_filename y local\_path se agregan correctame…

---

## [Error while trying to use Socket#accept\_nonblock](https://www.ruby-forum.com/t/error-while-trying-to-use-socket-accept-nonblock/84862)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 1\
**Last updated:** [February 8, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/error-while-trying-to-use-socket-accept-nonblock/84862 "2007-02-08T23:35:23Z")

</div>

Pretty much sample code included with ri docs: #Server In one script, start this first require ‘socket’ include Socket::Constants socket = Socket.new(AF\_INET, SOCK\_STREAM, 0) sockaddr = Socket.sockaddr\_in(2200, ‘loc…

---

## [Non theme images cause rails error](https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930)

<div class="topic-metadata">

**Author:** [@heromuto](https://www.ruby-forum.com/u/heromuto)\
**Replies:** 1\
**Last updated:** [September 17, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930 "2006-09-17T12:07:39Z")

</div>

Hello My typo blog is not showing images from my /files/ folder basicly anything that is not part of my theme is returning a rails error. The log files says: NameError (uninitialized constant FilesController): /vend…

---

## [=?iso-8859-1?q?G=E9n=E9ration?= de formulaire de recherche](https://www.ruby-forum.com/t/iso-8859-1-q-g-e9n-e9ration-de-formulaire-de-recherche/67058)

<div class="topic-metadata">

**Author:** [@Bruno\_Bonfils](https://www.ruby-forum.com/u/Bruno_Bonfils)\
**Replies:** 1\
**Last updated:** [August 31, 2006, 11:29am UTC](https://www.ruby-forum.com/t/iso-8859-1-q-g-e9n-e9ration-de-formulaire-de-recherche/67058 "2006-08-31T11:29:22Z")

</div>

Bonjour à tous, actuellement en phase finale pour mon application, je suis à la recherche d’un moyen générique pour créer des formulaires de recherche. Pour être plus précis, imaginons les models suivants : users gr…

---

## [\[PATCH\] to Globalize::Currency](https://www.ruby-forum.com/t/patch-to-globalize-currency/96941)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 1\
**Last updated:** [July 3, 2006, 6:30pm UTC](https://www.ruby-forum.com/t/patch-to-globalize-currency/96941 "2006-07-03T18:30:07Z")

</div>

Thanks Roland, got it ! parsing is correct, I get my @cents as it should be… unfortunatly when saving @product.save I get an error from Globalize::currency (not linked to your patch… I also got it wo the patc…

---

## [RE: Re: Re: How to build a server](https://www.ruby-forum.com/t/re-re-re-how-to-build-a-server/61005)

<div class="topic-metadata">

**Author:** [@Ross\_D](https://www.ruby-forum.com/u/Ross_D)\
**Replies:** 1\
**Last updated:** [May 19, 2006, 6:54am UTC](https://www.ruby-forum.com/t/re-re-re-how-to-build-a-server/61005 "2006-05-19T06:54:22Z")

</div>

So I need to have a static IP. I will talk to my ISP about this. I am almost certain my cable connection is using a dynamic IP. Then I suppose I register this IP with a name server so that my domains point to this IP…

---

## [Where to validate?](https://www.ruby-forum.com/t/where-to-validate/81973)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [March 15, 2006, 1:06am UTC](https://www.ruby-forum.com/t/where-to-validate/81973 "2006-03-15T01:06:34Z")

</div>

class PgmUpdate \< ActiveRecord::Base has\_many :pgm\_visits … class PgmVisit \< ActiveRecord::Base belongs\_to :pgm\_update … I am trying to make sure that none of the visits in PgmUpdate overlap start and end dates. S…

---

## [Multiple instances of the same app](https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 1\
**Last updated:** [March 13, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731 "2006-03-13T21:23:28Z")

</div>

I’ve got the same basic app that I’d like to run on a couple domains. It’s very simple and the functionality would stay the same, but templates would be different. I was wondering if there’s a way I can just run one …

---

## [Newbie question about mkmf and dir\_config](https://www.ruby-forum.com/t/newbie-question-about-mkmf-and-dir-config/79993)

<div class="topic-metadata">

**Author:** [@Ralph\_Kon](https://www.ruby-forum.com/u/Ralph_Kon)\
**Replies:** 1\
**Last updated:** [March 13, 2006, 3:20pm UTC](https://www.ruby-forum.com/t/newbie-question-about-mkmf-and-dir-config/79993 "2006-03-13T15:20:36Z")

</div>

Please help a beginner! I’m trying to write my first c-extension, and I don’t understand the dir\_config command. I need to include 2 .h headers and a library for some equipment. Does the ‘name’ in dir\_config(‘name’) …

---

## [Sending email body text based on form content](https://www.ruby-forum.com/t/sending-email-body-text-based-on-form-content/53019)

<div class="topic-metadata">

**Author:** [@jpfeifer](https://www.ruby-forum.com/u/jpfeifer)\
**Replies:** 1\
**Last updated:** [January 23, 2006, 3:06am UTC](https://www.ruby-forum.com/t/sending-email-body-text-based-on-form-content/53019 "2006-01-23T03:06:35Z")

</div>

As a noob to Rails and web development in general, I think I still need a broader understanding of how Views, Controllers, and Models pass information and variables to each other. I’m creating a site that allows for e…

---

## [Session problem](https://www.ruby-forum.com/t/session-problem/139056)

<div class="topic-metadata">

**Author:** [@Blaede](https://www.ruby-forum.com/u/Blaede)\
**Replies:** 6\
**Last updated:** [May 30, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/session-problem/139056 "2008-05-30T20:36:10Z")

</div>

Hello everyone, I am just starting a project for school in RoR and I am a complete n00b ^^ Here’s my problem : I need to get the user’s login stored in the session but for some reason I cannot. Here’s my login meth…

---

## [Redirection](https://www.ruby-forum.com/t/redirection/135237)

<div class="topic-metadata">

**Author:** [@Marcello\_P](https://www.ruby-forum.com/u/Marcello_P)\
**Replies:** 6\
**Last updated:** [April 19, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/redirection/135237 "2008-04-19T17:59:55Z")

</div>

Hello, I have two domains pointing to my webserver: www.domain1.com and www.domain2.com I need to redirect call that come from domain2 to www.domain2.com/fd/ What is the best or even possible way to do this ? A rewr…

---

## [FlexImage "Unitialized Constant" Error](https://www.ruby-forum.com/t/fleximage-unitialized-constant-error/78739)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 6\
**Last updated:** [December 11, 2006, 1:58am UTC](https://www.ruby-forum.com/t/fleximage-unitialized-constant-error/78739 "2006-12-11T01:58:39Z")

</div>

I just installed the FlexImage plugin into my project, and immediately I got the “uninitialized constant FlexImage” error. This happened after I switched one of my models to inherit from FlexImage instead of ActiveCon…

---

## [Pluralization question](https://www.ruby-forum.com/t/pluralization-question/181481)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 5\
**Last updated:** [January 12, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/pluralization-question/181481 "2010-01-12T18:05:22Z")

</div>

Is there a way to pluralize the have/has section of a sentence easily?

---

## [Transmitter code](https://www.ruby-forum.com/t/transmitter-code/175240)

<div class="topic-metadata">

**Author:** [@harshal\_jadhav](https://www.ruby-forum.com/u/harshal_jadhav)\
**Replies:** 5\
**Last updated:** [September 18, 2009, 12:07am UTC](https://www.ruby-forum.com/t/transmitter-code/175240 "2009-09-18T00:07:45Z")

</div>

Dear Eric, I am searching for a code that allows both the antennas of USRP transmit simultaneously. I want to use both the daughter boards of a USRP board as transmitter. Regards, Harshal

---

## [Pagination problem](https://www.ruby-forum.com/t/pagination-problem/175161)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 5\
**Last updated:** [September 9, 2009, 8:53am UTC](https://www.ruby-forum.com/t/pagination-problem/175161 "2009-09-09T08:53:24Z")

</div>

Hi all, In my controller def index @customers = Customer.find(:all) @size = @customers.size @total\_pages = (@customers.size / $PER\_PAGE.to\_f).ceil end In index.html.erb Displays a customer list with pagination(E…

---

## [Regex help](https://www.ruby-forum.com/t/regex-help/170494)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 5\
**Last updated:** [June 18, 2009, 12:34pm UTC](https://www.ruby-forum.com/t/regex-help/170494 "2009-06-18T12:34:42Z")

</div>

Is there any regualar expressions,which Should not allow blank space as the first character for my Department Name field. any helps on this… Thanks

---

## [ActionMailer Views Confusion](https://www.ruby-forum.com/t/actionmailer-views-confusion/169960)

<div class="topic-metadata">

**Author:** [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Replies:** 5\
**Last updated:** [June 12, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/actionmailer-views-confusion/169960 "2009-06-12T20:12:41Z")

</div>

I have an ActionMailer, which has a corresponding controller (shown below). The form to create the email gets invoked from another form, a list of names and email addresses from another Model. I would like to return t…

---

## [Check box issue](https://www.ruby-forum.com/t/check-box-issue/159288)

<div class="topic-metadata">

**Author:** [@bobby04](https://www.ruby-forum.com/u/bobby04)\
**Replies:** 5\
**Last updated:** [February 3, 2009, 7:45am UTC](https://www.ruby-forum.com/t/check-box-issue/159288 "2009-02-03T07:45:57Z")

</div>

Code: html \<%= check\_box “other\_facility”, “others” %\> Other Facilities \<%= observe\_field(:other\_facility\_others, :update =\> :other\_facility, :url =\> { :action =\> :others}) %\> I have used this code… i’m getting the …

---

## [Open-uri bug](https://www.ruby-forum.com/t/open-uri-bug/130256)

<div class="topic-metadata">

**Author:** [@steveybaby](https://www.ruby-forum.com/u/steveybaby)\
**Replies:** 5\
**Last updated:** [February 27, 2008, 5:52am UTC](https://www.ruby-forum.com/t/open-uri-bug/130256 "2008-02-27T05:52:44Z")

</div>

Hello all, I’m using open-uri combined with hpricot to make a basic web crawler that scrapes for different links that I need. It seems to be working perfectly, but I have encountered the following bug when this type o…

---

## [Upgrading rails](https://www.ruby-forum.com/t/upgrading-rails/122035)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 5\
**Last updated:** [December 30, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/upgrading-rails/122035 "2007-12-30T22:16:35Z")

</div>

Hi folks. I seem to be having trouble upgrading to the latest (stable) rails release. I am running on Windows XP sp2 and use Komodo. I am trying to go to rails-1.2.6 In the command line today (3DEC07), I did gem i…

---

## [Lightweight atom server](https://www.ruby-forum.com/t/lightweight-atom-server/119480)

<div class="topic-metadata">

**Author:** [@song](https://www.ruby-forum.com/u/song)\
**Replies:** 5\
**Last updated:** [November 7, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/lightweight-atom-server/119480 "2007-11-07T16:11:29Z")

</div>

Hi! I’m searching for a lightweight atom server written in Ruby, which can be used for development and is easy to install (if possible, without database). I’ve read one statement of the coder of the gem atom-tools, t…

---

## [Testing Issue](https://www.ruby-forum.com/t/testing-issue/109955)

<div class="topic-metadata">

**Author:** [@visaolive](https://www.ruby-forum.com/u/visaolive)\
**Replies:** 5\
**Last updated:** [July 20, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/testing-issue/109955 "2007-07-20T21:26:01Z")

</div>

I have a weird (at least for me) problem. $rake test Units: 50 tests, 155 assertions, 0 failures, 0 errors Functionals: 51 tests, 122 assertions, 0 failures, 0 errors Integration: 1 tests, 19 assertions, 0 failures, …

---

## [Application wide partial](https://www.ruby-forum.com/t/application-wide-partial/104501)

<div class="topic-metadata">

**Author:** [@freewolf](https://www.ruby-forum.com/u/freewolf)\
**Replies:** 5\
**Last updated:** [May 18, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/application-wide-partial/104501 "2007-05-18T22:40:24Z")

</div>

I am having trouble find the answer that i need around partials for what I need. In my app I am displaying tabular data over many different controllers. And I am displaying pagination links across the bottom of all of…

---

## [Newbie Ajaxy Question](https://www.ruby-forum.com/t/newbie-ajaxy-question/58561)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 5\
**Last updated:** [September 27, 2006, 8:19pm UTC](https://www.ruby-forum.com/t/newbie-ajaxy-question/58561 "2006-09-27T20:19:51Z")

</div>

Hi all, I’ve been trying to figure this out by myself and while I feel I’ve made some progress, I feel kind of stuck. Let me see if I can explain what I’m trying to do. I have a very simple form with a text box and…

---

## [Fetching an URL using cookies](https://www.ruby-forum.com/t/fetching-an-url-using-cookies/68398)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 5\
**Last updated:** [September 12, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/fetching-an-url-using-cookies/68398 "2006-09-12T18:39:28Z")

</div>

I’m trying to fetch an url which needs several cookies to be set in order to properly return a result. I’ve found a page in the website from which I can get the session cookies (instead of posting cookies set by mysel…

---

## [Development, test and production - what for?](https://www.ruby-forum.com/t/development-test-and-production-what-for/65908)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 5\
**Last updated:** [August 22, 2006, 12:45pm UTC](https://www.ruby-forum.com/t/development-test-and-production-what-for/65908 "2006-08-22T12:45:57Z")

</div>

Could some one explain why there is three different possible databases â??Â development, test and production? What’s the difference? How do you switch between them?

---

## [Soap and Http-access problem](https://www.ruby-forum.com/t/soap-and-http-access-problem/101386)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 5\
**Last updated:** [August 8, 2006, 9:44am UTC](https://www.ruby-forum.com/t/soap-and-http-access-problem/101386 "2006-08-08T09:44:05Z")

</div>

Hi, I’m working on an application where some of the business logic is accessible with SOAP. I’ve used SOAP4R to generate everything and it works splendid (I use http-access2 since we require https). Anyway, a week ag…

---

## [\[JOBS\] (Snr. / Lead) Ruby Developers – you’re invited to join an fantastic VC backed Cloud business!](https://www.ruby-forum.com/t/jobs-snr-lead-ruby-developers-you-re-invited-to-join-an-fantastic-vc-backed-cloud-business/228281)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 17, 2013, 5:17pm UTC](https://www.ruby-forum.com/t/jobs-snr-lead-ruby-developers-you-re-invited-to-join-an-fantastic-vc-backed-cloud-business/228281 "2013-04-17T17:17:16Z")

</div>

(Snr. / Lead) Ruby Developers youre invited to join an fantastic VC backed Cloud business based in Shoreditch, London to work on a unique and exciting, new platform! Think creating the eBay of cloud and youll be som…

---

## [Has many through](https://www.ruby-forum.com/t/has-many-through/224476)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 13, 2012, 3:35pm UTC](https://www.ruby-forum.com/t/has-many-through/224476 "2012-11-13T15:35:21Z")

</div>

Hi all. I have models: has\_many :bookings has\_many :projects, :through =\> :bookings has\_many :bookings has\_many :weeks, :through =\> :bookings belongs\_to :project belongs\_to :week Now I want to get all corespondin…

---

## [IE-Watir-webDriver](https://www.ruby-forum.com/t/ie-watir-webdriver/222500)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 31, 2012, 2:10pm UTC](https://www.ruby-forum.com/t/ie-watir-webdriver/222500 "2012-08-31T14:10:21Z")

</div>

When I do: profile = Selenium::WebDriver::IE::Profile.new It says: NameError: uninitialized conatant Selenium::Webdriver::IE::Profile

---

## [Gateway](https://www.ruby-forum.com/t/gateway/221468)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 17, 2012, 2:26pm UTC](https://www.ruby-forum.com/t/gateway/221468 "2012-07-17T14:26:16Z")

</div>

All, I notice that since a few days there seems to be a quite high number of torn threads, i.e. threads which are not presented as a single thread in GMail reader. It seems that messages in between are missing which…

---

## [Period(.) is used in cokie name](https://www.ruby-forum.com/t/period-is-used-in-cokie-name/218169)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 23, 2012, 2:41pm UTC](https://www.ruby-forum.com/t/period-is-used-in-cokie-name/218169 "2012-03-23T14:41:58Z")

</div>

Hello One of my clients use period(.) as cookie name start. (ex Set-Cookie: .blabla=abcd) Is it possible to use period(.) in a cookie name? If possible, how can I use $cookie\_COOKIE variable ? Best Regards

---

## [Has\_many 'Paperclip' output?](https://www.ruby-forum.com/t/has-many-paperclip-output/215380)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 3, 2012, 5:23pm UTC](https://www.ruby-forum.com/t/has-many-paperclip-output/215380 "2012-01-03T17:23:40Z")

</div>

\#gem ‘rails’, ‘3.0.9’ #gem “paperclip”, “~\> 2.0” rails console contract = Contract.first =\> #\<Contract id: 1, . . . files = contract.contract\_files =\> \[#\<ContractFile id: 1, contract\_id: 1, . . . files.first.data…

---

## [Sqlite manager](https://www.ruby-forum.com/t/sqlite-manager/210109)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 31, 2011, 12:50am UTC](https://www.ruby-forum.com/t/sqlite-manager/210109 "2011-07-31T00:50:51Z")

</div>

Me pueden recomendar algn manager para Sqlite, free de ser posible? Gracias

---

## [Listen to streaming radio with ruby?](https://www.ruby-forum.com/t/listen-to-streaming-radio-with-ruby/191112)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 3\
**Last updated:** [July 13, 2010, 1:32pm UTC](https://www.ruby-forum.com/t/listen-to-streaming-radio-with-ruby/191112 "2010-07-13T13:32:44Z")

</div>

Does anyone have any information they can share with me on reading an audio stream with ruby? I am teaching myself ruby and they say to find a project and build it, so here i am. I listen to a lot of online radio and…

---

## [Web server](https://www.ruby-forum.com/t/web-server/190553)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 3\
**Last updated:** [June 22, 2010, 11:54pm UTC](https://www.ruby-forum.com/t/web-server/190553 "2010-06-22T23:54:03Z")

</div>

Just have a small question especially I’m new to RoR and web programming. When we say that the application runs on a web server. Does that mean for example when I run my application at: http://localhost:3000, the web …

---

## [Can the .read method execute any files?](https://www.ruby-forum.com/t/can-the-read-method-execute-any-files/185916)

<div class="topic-metadata">

**Author:** [@GoodGets](https://www.ruby-forum.com/u/GoodGets)\
**Replies:** 3\
**Last updated:** [March 30, 2010, 2:16am UTC](https://www.ruby-forum.com/t/can-the-read-method-execute-any-files/185916 "2010-03-30T02:16:50Z")

</div>

I need to read (and parse) a user uploaded file. I check it’s MIME types, as well to see if includes proper headers by reading the file, but I was wondering can something like params\[:uploaded\_file\].read trigger any …

---

## [Question on threads](https://www.ruby-forum.com/t/question-on-threads/184824)

<div class="topic-metadata">

**Author:** [@Jean\_G](https://www.ruby-forum.com/u/Jean_G)\
**Replies:** 3\
**Last updated:** [March 10, 2010, 9:24am UTC](https://www.ruby-forum.com/t/question-on-threads/184824 "2010-03-10T09:24:45Z")

</div>

Hello, count = 0 threads = \[\] 10.times do |i| threads\[i\] = Thread.new do sleep(rand(0.1)) Thread.current\[“mycount”\] = count count += 1 end end threads.each {|t| t.join; print t\[“mycount”\], ", " } For the code …

---

## [Trollop 1.15 released](https://www.ruby-forum.com/t/trollop-1-15-released/176457)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 3\
**Last updated:** [February 28, 2010, 5:06am UTC](https://www.ruby-forum.com/t/trollop-1-15-released/176457 "2010-02-28T05:06:25Z")

</div>

Dear Rubyists, I have released Trollop 1.15. This release is dedicated to my fellow wrinkled, old-fashioned, out-moded throwbacks who still use the commandline instead of clicking on their webapp. Trollop is a comm…

---

## [Belongs\_to and has\_many](https://www.ruby-forum.com/t/belongs-to-and-has-many/183349)

<div class="topic-metadata">

**Author:** [@charanya](https://www.ruby-forum.com/u/charanya)\
**Replies:** 3\
**Last updated:** [February 12, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/belongs-to-and-has-many/183349 "2010-02-12T15:36:35Z")

</div>

Hi all I have a model called,article which belongs\_to user so in article.rb belongs\_to :user and in user.rb has\_many :posts, :dependent =\> :nullify, :class\_name =\> ‘Article’ so now @user.posts is giving the posts o…

---

## [Generating rails app in previous version after rails 3.0 ins](https://www.ruby-forum.com/t/generating-rails-app-in-previous-version-after-rails-3-0-ins/183235)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 3\
**Last updated:** [February 10, 2010, 3:32pm UTC](https://www.ruby-forum.com/t/generating-rails-app-in-previous-version-after-rails-3-0-ins/183235 "2010-02-10T15:32:32Z")

</div>

Hello Anybody knows how to generate a rails application in a previous version, after the installation of Rails 3.0.0.beta gem. This would work before, rails 2.3.5 my\_app but fails now with … /usr/local/lib/site\_rub…

---

## [Getting Started w Ruby on MacOSX -- ri/RDoc error](https://www.ruby-forum.com/t/getting-started-w-ruby-on-macosx-ri-rdoc-error/180936)

<div class="topic-metadata">

**Author:** [@MSNorton](https://www.ruby-forum.com/u/MSNorton)\
**Replies:** 3\
**Last updated:** [January 14, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/getting-started-w-ruby-on-macosx-ri-rdoc-error/180936 "2010-01-14T22:19:41Z")

</div>

Hello, I’ve done some poking around and haven’t yet found a satisfactory answer to this problem and it’s starting to be troublesome. My development machine run MacOSX and I’ve installed Ruby 1.9.1 via the MacPorts op…

---

## [Horizontal partitioning of database to scale the ROR application](https://www.ruby-forum.com/t/horizontal-partitioning-of-database-to-scale-the-ror-application/181258)

<div class="topic-metadata">

**Author:** [@Ankit\_Varshney](https://www.ruby-forum.com/u/Ankit_Varshney)\
**Replies:** 3\
**Last updated:** [January 8, 2010, 4:29pm UTC](https://www.ruby-forum.com/t/horizontal-partitioning-of-database-to-scale-the-ror-application/181258 "2010-01-08T16:29:49Z")

</div>

I want to do horizontal partitioning of database to scale my application. Is there any way to do that Ruby on Rails application.

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

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