# Top

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

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

---

## [HELP Installing older versions of rails on OSX?](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 15, 2014, 11:39pm UTC](https://www.ruby-forum.com/t/help-installing-older-versions-of-rails-on-osx/230976 "2014-07-15T23:39:35Z")

</div>

I am attempting to recreate an old install of a machine that failed recently. I originally setup the machine using the guide found on Hivelogic (Dan Benjamin). Which would have reinstated all of my old environments (R…

---

## [Any possible change in gr.fft\_vcc from earlier versions?!](https://www.ruby-forum.com/t/any-possible-change-in-gr-fft-vcc-from-earlier-versions/234923)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [May 25, 2013, 8:12pm UTC](https://www.ruby-forum.com/t/any-possible-change-in-gr-fft-vcc-from-earlier-versions/234923 "2013-05-25T20:12:21Z")

</div>

Hi list, I have ported some code from Gnuradio-3.2.2 version to most recent UHD-based 3.6.4 version and I was trying to check the functionality of my ported code by comparing the output of its every block versus the …

---

## [Question about OpenBTS](https://www.ruby-forum.com/t/question-about-openbts/220239)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 6, 2012, 7:51am UTC](https://www.ruby-forum.com/t/question-about-openbts/220239 "2012-06-06T07:51:23Z")

</div>

Hello, I want to set up the OpenBTS, and I want to know which board is better, USRP1 or USRP2? Or any other suggestion? Thank you. Best regards, Pan, Luyuan

---

## [How to create 'numbered symbols' in iterator?](https://www.ruby-forum.com/t/how-to-create-numbered-symbols-in-iterator/220115)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 29, 2012, 1:52pm UTC](https://www.ruby-forum.com/t/how-to-create-numbered-symbols-in-iterator/220115 "2012-05-29T13:52:05Z")

</div>

I had this { key0: OpenSSL::Digest::SHA256.new.digest("1 #{key}"), key1: OpenSSL::Digest::SHA256.new.digest("2 #{key}"), key2: OpenSSL::Digest::SHA256.new.digest("3 #{key}"), key3: OpenSSL::Digest::SHA256.…

---

## [Ruby gems for Single Sign On](https://www.ruby-forum.com/t/ruby-gems-for-single-sign-on/216227)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 30, 2012, 2:35pm UTC](https://www.ruby-forum.com/t/ruby-gems-for-single-sign-on/216227 "2012-01-30T14:35:16Z")

</div>

Hi All, anybody knows useful rubygems/rails plugins for implementing Single Sign on?

---

## [Background jobs , comparison esp for sending emails](https://www.ruby-forum.com/t/background-jobs-comparison-esp-for-sending-emails/200409)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 13, 2010, 9:06am UTC](https://www.ruby-forum.com/t/background-jobs-comparison-esp-for-sending-emails/200409 "2010-12-13T09:06:55Z")

</div>

hi, im new to backgroundjobs etc. a quick look revealed a lot of options. is there any kind of comparsion out there? im looking into this coz i have a lot ‘notification emails’ triggered by observers which i kinda wa…

---

## [Authlogic + Rails3 - undefined method \`Login' for nil:NilClass](https://www.ruby-forum.com/t/authlogic-rails3-undefined-method-login-for-nil-nilclass/197844)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 21, 2010, 1:34pm UTC](https://www.ruby-forum.com/t/authlogic-rails3-undefined-method-login-for-nil-nilclass/197844 "2010-10-21T13:34:50Z")

</div>

Im new to Rails, and decided to start of with Rails3. After a lot of searching ive managed to get a little bit of Authlogic working. I’m able to register a user, login & logout. Now, I would like to add more features,…

---

## [Ruby watir on Win2008R2](https://www.ruby-forum.com/t/ruby-watir-on-win2008r2/192747)

<div class="topic-metadata">

**Author:** [@debuke](https://www.ruby-forum.com/u/debuke)\
**Replies:** 4\
**Last updated:** [August 5, 2010, 7:20pm UTC](https://www.ruby-forum.com/t/ruby-watir-on-win2008r2/192747 "2010-08-05T19:20:26Z")

</div>

is this possible? i’m running in to LoadErrors and i’ve done all of the things that are suppose to get around this problem…

---

## [Kind of object](https://www.ruby-forum.com/t/kind-of-object/191300)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 5:01pm UTC](https://www.ruby-forum.com/t/kind-of-object/191300 "2010-07-09T17:01:57Z")

</div>

Hello All, I want to know that is there anything in ruby by which i can know that which kind of object is this…? Something like is\_object? :slight\_smile: I mean… lets suppose i have two objects of Model ABC and Model …

---

## [Can't install gems with native extensions](https://www.ruby-forum.com/t/cant-install-gems-with-native-extensions/185015)

<div class="topic-metadata">

**Author:** [@nvi](https://www.ruby-forum.com/u/nvi)\
**Replies:** 4\
**Last updated:** [April 20, 2010, 2:15am UTC](https://www.ruby-forum.com/t/cant-install-gems-with-native-extensions/185015 "2010-04-20T02:15:40Z")

</div>

âž¤ gem install rdiscount Building native extensions. This could take a while… ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb WARNING: JRuby does not…

---

## [Undefined method \`attr\_accessor' for #&lt;CustomersControl](https://www.ruby-forum.com/t/undefined-method-attr-accessor-for-lt-customerscontrol/175184)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 4\
**Last updated:** [September 9, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/undefined-method-attr-accessor-for-lt-customerscontrol/175184 "2009-09-09T13:08:32Z")

</div>

pleas help

---

## [Appending an array to a frozen array](https://www.ruby-forum.com/t/appending-an-array-to-a-frozen-array/163838)

<div class="topic-metadata">

**Author:** [@kofboss](https://www.ruby-forum.com/u/kofboss)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/appending-an-array-to-a-frozen-array/163838 "2009-03-25T17:56:33Z")

</div>

Morning all, @dependencies.freeze @dependencies += \[“blah”, “blah”\] does not error out due to modifying a frozen array (1.8.7 p72). Is this expected behaviour? Up until now I’ve considered freezing an array as makin…

---

## [Marshal.dump fails on extended OpenStruct](https://www.ruby-forum.com/t/marshal-dump-fails-on-extended-openstruct/160568)

<div class="topic-metadata">

**Author:** [@synergism](https://www.ruby-forum.com/u/synergism)\
**Replies:** 4\
**Last updated:** [February 17, 2009, 9:58pm UTC](https://www.ruby-forum.com/t/marshal-dump-fails-on-extended-openstruct/160568 "2009-02-17T21:58:00Z")

</div>

If I subclass OpenStruct and extend the subclass, I cannot Marshal.dump it. This is apparently because ostruct.rb has its own custom marshal\_dump / marshal\_load that only cares about what’s in @table: def marshal\_du…

---

## [Ayuda iniciando rails](https://www.ruby-forum.com/t/ayuda-iniciando-rails/157420)

<div class="topic-metadata">

**Author:** [@Yoandy\_Rodriguez\_M](https://www.ruby-forum.com/u/Yoandy_Rodriguez_M)\
**Replies:** 4\
**Last updated:** [January 11, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/ayuda-iniciando-rails/157420 "2009-01-11T14:10:11Z")

</div>

Hola a todos: Estoy comenzando en el mundo de Rails, mis antecedentes son fundamentalmente JSP+Struts y toda esa onda Java. El hecho es que me he puesto a hacer una aplicaciÃ³n sencilla que utiliza dos modelos relaci…

---

## [Hpricot scraping returns nil](https://www.ruby-forum.com/t/hpricot-scraping-returns-nil/153769)

<div class="topic-metadata">

**Author:** [@bbt](https://www.ruby-forum.com/u/bbt)\
**Replies:** 4\
**Last updated:** [November 21, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/hpricot-scraping-returns-nil/153769 "2008-11-21T12:38:37Z")

</div>

Good evening First I’ll mention I have used the search function and found some useful topics, but I still don’t really find a solution due to a lack of Ruby and Hpricot/Xpath knowlegde. The problem is the following: …

---

## [Question about Connection: close and proxy\_pass](https://www.ruby-forum.com/t/question-about-connection-close-and-proxy-pass/147674)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 4\
**Last updated:** [September 5, 2008, 5:44am UTC](https://www.ruby-forum.com/t/question-about-connection-close-and-proxy-pass/147674 "2008-09-05T05:44:37Z")

</div>

Hi, We’re using nginx to proxy between a piece of software that doesn’t understand our SSL certificate. The diagram looks like this client → port:443 → nginx → port:8181 → WANDisco What we are seeing is nginx is forw…

---

## [POST'ing a file with link\_to](https://www.ruby-forum.com/t/posting-a-file-with-link-to/146773)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 4\
**Last updated:** [August 25, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/posting-a-file-with-link-to/146773 "2008-08-25T13:49:18Z")

</div>

Dear all, For a site I need a demo functionality. Long story short, I need people to be able to click a link which POST’s a file (which I, in this instance, provide). So far I’ve got: \<%= link\_to(“Example”, new\_reso…

---

## [Sum Method in Active Record](https://www.ruby-forum.com/t/sum-method-in-active-record/146603)

<div class="topic-metadata">

**Author:** [@chinnakaruppan](https://www.ruby-forum.com/u/chinnakaruppan)\
**Replies:** 4\
**Last updated:** [August 23, 2008, 4:03pm UTC](https://www.ruby-forum.com/t/sum-method-in-active-record/146603 "2008-08-23T16:03:17Z")

</div>

Hi, How can I use the sum method in the Active Record in my normal class.I have one helper class…I saw a webcast in which the guy was using the method in rails in his class by just including the module that contained …

---

## [Where to post code relevant to a newsgroup question](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [July 1, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/where-to-post-code-relevant-to-a-newsgroup-question/141656 "2008-07-01T16:35:34Z")

</div>

Hi, Nobody likes to see a post with a bunch of embedded source code. It’s preferable to post the code somewhere and merely include a link to the code in the post. I used to have a personal web pages for that purpose…

---

## [Tengo un problemilla con composed\_of en Rails 2.0](https://www.ruby-forum.com/t/tengo-un-problemilla-con-composed-of-en-rails-2-0/139643)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 4\
**Last updated:** [June 5, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/tengo-un-problemilla-con-composed-of-en-rails-2-0/139643 "2008-06-05T19:28:30Z")

</div>

Estoy trabajando con una composiciÃ³n en Rails y ya me ha surgido el primer problema: En el archivo estadio.rb: class Estadio attr\_reader :nombre, :aforo def initialize(nombre, aforo) @nombre = nombre @aforo…

---

## [PaginaciÃ³n en plantillas RXML](https://www.ruby-forum.com/t/paginacia-n-en-plantillas-rxml/129680)

<div class="topic-metadata">

**Author:** [@damaris](https://www.ruby-forum.com/u/damaris)\
**Replies:** 4\
**Last updated:** [February 26, 2008, 10:23pm UTC](https://www.ruby-forum.com/t/paginacia-n-en-plantillas-rxml/129680 "2008-02-26T22:23:49Z")

</div>

Hola a todos, utilizo el plugin “Will\_paginate” para obtener los resultados de la base de datos paginados. Mi problema es que los links de paginaciÃ³n son muy fÃ¡ciles de obtener para las plantillas rhtml. Sin embarg…

---

## [Validates\_file\_format\_of only when is there an image](https://www.ruby-forum.com/t/validates-file-format-of-only-when-is-there-an-image/124290)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 4\
**Last updated:** [December 28, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/validates-file-format-of-only-when-is-there-an-image/124290 "2007-12-28T21:04:02Z")

</div>

i have a model with this: file\_column :image validates\_file\_format\_of :image, :in =\> \[“gif”, “png”, “jpg”\] If inthe form the user not insert the image i receive an error. If i remove: validates\_file\_format\_of :image…

---

## [Virtual Domains on 0.6](https://www.ruby-forum.com/t/virtual-domains-on-0-6/91866)

<div class="topic-metadata">

**Author:** [@Dan\_Fried](https://www.ruby-forum.com/u/Dan_Fried)\
**Replies:** 4\
**Last updated:** [April 20, 2007, 7:33pm UTC](https://www.ruby-forum.com/t/virtual-domains-on-0-6/91866 "2007-04-20T19:33:38Z")

</div>

Hi, I’m new to radiant, and I’m trying to migrate several sites over to a radiant installation. In order to do this, I need to use the virtual domains plugin, which seems to be having some trouble with 0.6. I don’t q…

---

## [Apache + Mongrel Cluster Caching (cross server)](https://www.ruby-forum.com/t/apache-mongrel-cluster-caching-cross-server/89652)

<div class="topic-metadata">

**Author:** [@justin](https://www.ruby-forum.com/u/justin)\
**Replies:** 4\
**Last updated:** [March 28, 2007, 3:32am UTC](https://www.ruby-forum.com/t/apache-mongrel-cluster-caching-cross-server/89652 "2007-03-28T03:32:43Z")

</div>

Has anyone here successfully setup a system to take advantage of rails page/action caching when using a mongrel cluster that spans multiple servers? If so, could you shed some light on how you handled expiring cache a…

---

## [\[ANN\] New Mongrel 0.3.13 Documentation: HOWTO Do Everything](https://www.ruby-forum.com/t/ann-new-mongrel-0-3-13-documentation-howto-do-everything/60392)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 4\
**Last updated:** [May 13, 2006, 4:31am UTC](https://www.ruby-forum.com/t/ann-new-mongrel-0-3-13-documentation-howto-do-everything/60392 "2006-05-13T04:31:53Z")

</div>

Just a quick note for a few new features/fixes available on the Mongrel pre-release and a new document that covers nearly all the big features and configurations for Mongrel. First, the document is http://mongrel.ruby…

---

## [Command line rubygems and require](https://www.ruby-forum.com/t/command-line-rubygems-and-require/60095)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 4\
**Last updated:** [May 10, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/command-line-rubygems-and-require/60095 "2006-05-10T15:40:40Z")

</div>

given the file requires\_foo.rb require ‘foo’ class ReqFoo end if foo is a gem, then i can run it by going: ruby -rubygems requires\_foo.rb why can’t i have a file requires\_foo2.rb class ReqFoo end and go: ruby -…

---

## [Inheritance via Though Associations?](https://www.ruby-forum.com/t/inheritance-via-though-associations/57314)

<div class="topic-metadata">

**Author:** [@Bruce\_DSArcus](https://www.ruby-forum.com/u/Bruce_DSArcus)\
**Replies:** 4\
**Last updated:** [April 9, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/inheritance-via-though-associations/57314 "2006-04-09T19:34:40Z")

</div>

I posted something about this a week ago wihtout response, but have made some progress since. However, I’m still not getting exactly what I want. OK, three core tables: create\_table :reference\_items do |t| t.column…

---

## [How to do a find with conditions that contain an OR](https://www.ruby-forum.com/t/how-to-do-a-find-with-conditions-that-contain-an-or/53596)

<div class="topic-metadata">

**Author:** [@xiheng\_xu](https://www.ruby-forum.com/u/xiheng_xu)\
**Replies:** 4\
**Last updated:** [February 13, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/how-to-do-a-find-with-conditions-that-contain-an-or/53596 "2006-02-13T16:33:00Z")

</div>

Hi, I’m trying to do a find with a condition that has an OR on the same column. Say I only want to use find() but not find\_by\_sql(). I reduced my problems into the following: values = \[\] … # filling up values from …

---

## [Regexp question for doing "and" searches](https://www.ruby-forum.com/t/regexp-question-for-doing-and-searches/100809)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 4\
**Last updated:** [February 3, 2006, 11:18pm UTC](https://www.ruby-forum.com/t/regexp-question-for-doing-and-searches/100809 "2006-02-03T23:18:43Z")

</div>

Just can’t quite figure this one out. Given a search phrase like “one two three”, I want to search a list of text strings for onex that contain ALL of those words, but not necessarily in that order. The hard part for…

---

## [Stop processing if found](https://www.ruby-forum.com/t/stop-processing-if-found/244215)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [March 8, 2016, 8:27am UTC](https://www.ruby-forum.com/t/stop-processing-if-found/244215 "2016-03-08T08:27:29Z")

</div>

Hello experts. I am trying to scan through a text file and look for a matching VIN, if its found I don’t want to continue processing. So far the code below works however how do I stop processing the rest of the code i…

---

## [Can't cache javascript file from proxy](https://www.ruby-forum.com/t/cant-cache-javascript-file-from-proxy/242919)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 8, 2015, 1:36pm UTC](https://www.ruby-forum.com/t/cant-cache-javascript-file-from-proxy/242919 "2015-08-08T13:36:28Z")

</div>

Hi, I have a problem with cache javascript file from a proxy glassfish4.0 Server. My nginx.conf is this: user nginx nginx; error\_log /var/log/nginx/error.log warn; pid …

---

## [Checksum error installing from 'port install gnuradio +all'](https://www.ruby-forum.com/t/checksum-error-installing-from-port-install-gnuradio-all/229979)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 25, 2014, 7:18pm UTC](https://www.ruby-forum.com/t/checksum-error-installing-from-port-install-gnuradio-all/229979 "2014-05-25T19:18:03Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [PEM\_read\_bio\_X509 - Installing Cert](https://www.ruby-forum.com/t/pem-read-bio-x509-installing-cert/238783)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 29, 2014, 12:19am UTC](https://www.ruby-forum.com/t/pem-read-bio-x509-installing-cert/238783 "2014-01-29T00:19:57Z")

</div>

I am running into a strange problem. If I cat domain.crt \>\> bundle.crt ssl\_certificate bundle.crt; ssl\_certificate\_key domain.key; and I try to start nginx I get the following error message. nginx: \[emerg\] PEM\_read\_…

---

## [Feedback esercizio per imparare Ruby](https://www.ruby-forum.com/t/feedback-esercizio-per-imparare-ruby/224517)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 20, 2012, 6:21pm UTC](https://www.ruby-forum.com/t/feedback-esercizio-per-imparare-ruby/224517 "2012-11-20T18:21:11Z")

</div>

Ciao ragazzi, sto leggendo un po’ di qua, un po’ di la per imparare il linguaggio e volevo mettermi alla prova con un vero esercizio. Volevo creare un programmino che mi aiutasse a trovare la parola da indovinare per …

---

## [Rails 3 - Email feature without smtp](https://www.ruby-forum.com/t/rails-3-email-feature-without-smtp/222300)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/rails-3-email-feature-without-smtp/222300 "2012-08-27T14:00:54Z")

</div>

Hi All, I am new to Rails & I had the rails 3 setup on my windows box for running a small application which used to send emails on completion of certain tasks. Snippet of code for sending mails, worked using the bel…

---

## [Fwd: Undelivered Mail Returned to Sender](https://www.ruby-forum.com/t/fwd-undelivered-mail-returned-to-sender/213915)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 29, 2011, 9:23am UTC](https://www.ruby-forum.com/t/fwd-undelivered-mail-returned-to-sender/213915 "2011-12-29T09:23:06Z")

</div>

Hi, from time to time I get these kinds of reply from the mailing list. Are there other “victims” as well? Cheers robert ---------- Forwarded message ---------- From: Mail Delivery S. removed\_email\_address@domain.i…

---

## [Rails 3.1 select multiple with serialized data](https://www.ruby-forum.com/t/rails-3-1-select-multiple-with-serialized-data/210834)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 18, 2011, 4:30pm UTC](https://www.ruby-forum.com/t/rails-3-1-select-multiple-with-serialized-data/210834 "2011-08-18T16:30:56Z")

</div>

In my Users model I have serialize :roles Letting it default to yml I enter roles as a text array. e.g., u.roles = \[“member”,“scorer”\] It displays as an array @user.roles.type returns Array All is fine except if …

---

## [Can't put shared example group in its own file](https://www.ruby-forum.com/t/cant-put-shared-example-group-in-its-own-file/205083)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 3, 2011, 5:42pm UTC](https://www.ruby-forum.com/t/cant-put-shared-example-group-in-its-own-file/205083 "2011-04-03T17:42:27Z")

</div>

Any ideas? All I’d like to do is have two specs in different files use the same shared example group. I saw a similar thread about autotest, but I am not using that. \[Sorry for the double post on Google G.; didn’t rea…

---

## [CGI (read multipart form): Accept-Charset encoding error (CGI::InvalidEncoding)](https://www.ruby-forum.com/t/cgi-read-multipart-form-accept-charset-encoding-error-cgi-invalidencoding/183846)

<div class="topic-metadata">

**Author:** [@Stefan\_Fischer](https://www.ruby-forum.com/u/Stefan_Fischer)\
**Replies:** 2\
**Last updated:** [February 23, 2010, 9:20am UTC](https://www.ruby-forum.com/t/cgi-read-multipart-form-accept-charset-encoding-error-cgi-invalidencoding/183846 "2010-02-23T09:20:41Z")

</div>

Hello, I’m working on a parser for race-simulation logs, which read data from a multipart-form. It works fine under 1.8.x, but running on 1.9.1 it stops with: "/usr/lib/ruby/ 1.9.1/cgi/core.rb:498:in \`read\_multipart’…

---

## [RequÃªte lente et ajax](https://www.ruby-forum.com/t/requa-te-lente-et-ajax/175908)

<div class="topic-metadata">

**Author:** [@olfhen](https://www.ruby-forum.com/u/olfhen)\
**Replies:** 2\
**Last updated:** [September 23, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/requa-te-lente-et-ajax/175908 "2009-09-23T14:31:21Z")

</div>

Bonjour, Dans mon appli, j’ai un controller qui effectue une action assez lente (plus de 5 minutes). J’ai optimisé ma requête par tous les côtés, mais malgré tout, cela reste très très lent. Afin que la requête ne s…

---

## [Uploadprogress\_module - ngx\_http\_reportuploads\_handler](https://www.ruby-forum.com/t/uploadprogress-module-ngx-http-reportuploads-handler/166545)

<div class="topic-metadata">

**Author:** [@pixel75](https://www.ruby-forum.com/u/pixel75)\
**Replies:** 2\
**Last updated:** [April 27, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/uploadprogress-module-ngx-http-reportuploads-handler/166545 "2009-04-27T20:56:20Z")

</div>

Hi how are you all? I have an issue trying to install the upload progress module for nginx. When I run “make” after “./compile –add-module=path/to/nginx\_uploadprogress\_module”, I got this error: ... cc1: warnings bei…

---

## [Can only render or redirect once per action - redirect y render](https://www.ruby-forum.com/t/can-only-render-or-redirect-once-per-action-redirect-y-render/164835)

<div class="topic-metadata">

**Author:** [@Valentin\_P](https://www.ruby-forum.com/u/Valentin_P)\
**Replies:** 2\
**Last updated:** [April 6, 2009, 2:17pm UTC](https://www.ruby-forum.com/t/can-only-render-or-redirect-once-per-action-redirect-y-render/164835 "2009-04-06T14:17:17Z")

</div>

Buenas tardes. Hoy es un dÃ­a de esos en lo que no ves una soluciÃ³n o tienes pocas luces. Tengo lo siguiente: Controlador ubicaciones def show @ubicacion = Ubicacion.find(params\[:id\], :include =\> :equipos) case @u…

---

## [Question about G\_CHILD\_ADD/G\_CHILD\_REMOVE](https://www.ruby-forum.com/t/question-about-g-child-add-g-child-remove/164003)

<div class="topic-metadata">

**Author:** [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Replies:** 2\
**Last updated:** [March 27, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/question-about-g-child-add-g-child-remove/164003 "2009-03-27T15:00:09Z")

</div>

Am I right in understanding that if you have code like \[GFile.new(‘a’), GFile.new(‘b’).each do |file| file.read\_async{ |contents| p contents } end will be fine even though #read\_async is using code like G\_CHILD\_ADD(…

---

## [CouchDB (etait : Re: Re: Mission 1 an Dev RoR)](https://www.ruby-forum.com/t/couchdb-etait-re-re-mission-1-an-dev-ror/159013)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 2\
**Last updated:** [January 30, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/couchdb-etait-re-re-mission-1-an-dev-ror/159013 "2009-01-30T14:13:37Z")

</div>

Le 30 janvier 2009 12:34, Thibaut a écrit : Ah et aussi une petite prévision: quand on migrera des applis ActiveRecord vers CouchDB dans 3 ans, on se dira bien les mêmes choses. Mais c’est trop torrible! Le relation…

---

## ["obj.is\_one\_of? {Class1, Class2, ...}" as similar to "obj.is\_a?(Class1) or obj.is\_a?(Class2)"](https://www.ruby-forum.com/t/obj-is-one-of-class1-class2-as-similar-to-obj-is-a-class1-or-obj-is-a-class2/157934)

<div class="topic-metadata">

**Author:** [@jmfreitas](https://www.ruby-forum.com/u/jmfreitas)\
**Replies:** 2\
**Last updated:** [January 16, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/obj-is-one-of-class1-class2-as-similar-to-obj-is-a-class1-or-obj-is-a-class2/157934 "2009-01-16T18:40:20Z")

</div>

I need to check if a given object is an instance of a range of Classes, and I was wondering if I could do it by passing in is\_a? an hash of classes, instead of calling is\_a? for each class I have to compare… As I sta…

---

## [Gtk::DrawingArea and Icons](https://www.ruby-forum.com/t/gtk-drawingarea-and-icons/153040)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [November 11, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/gtk-drawingarea-and-icons/153040 "2008-11-11T17:22:09Z")

</div>

Hi, is it possible to put up images/icons within a Gtk::DrawingArea? I.e. if i have the image of a little cat, can this be displayed on it? Right now I only saw examples with custom elements, things like cairo\_contex…

---

## [Layouts and content\_for](https://www.ruby-forum.com/t/layouts-and-content-for/148818)

<div class="topic-metadata">

**Author:** [@lostwarrior](https://www.ruby-forum.com/u/lostwarrior)\
**Replies:** 2\
**Last updated:** [September 17, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/layouts-and-content-for/148818 "2008-09-17T13:14:57Z")

</div>

when i studied the tutorial about layouts & content\_for from railscast.I need a clarification as per their tutorial. url:#8 Layouts and content\_for - RailsCasts \<!- projects/index.rhtml → \<% content\_for :head do %\> \<…

---

## ["Send a trackback" field](https://www.ruby-forum.com/t/send-a-trackback-field/73252)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 2\
**Last updated:** [October 23, 2006, 12:20pm UTC](https://www.ruby-forum.com/t/send-a-trackback-field/73252 "2006-10-23T12:20:45Z")

</div>

Hello, as trac is still down and I want to keep tracks of those things, I just post on the mailing list. We had someone asking for a “send a trackback to” field in the post interface, and it’s true typo lacks such a …

---

## [NameError (uninitialized constant UnknownAction)](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-unknownaction/64769)

<div class="topic-metadata">

**Author:** [@gr0k](https://www.ruby-forum.com/u/gr0k)\
**Replies:** 2\
**Last updated:** [February 10, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-unknownaction/64769 "2006-02-10T23:58:14Z")

</div>

Hi, I’m having a strange problem that only seems to be happening on our production server. I never get this error locally but get it quite often on the server. The other odd thing is it doesn’t seem to be resulting …

---

## [Senior Ruby Developer wanted](https://www.ruby-forum.com/t/senior-ruby-developer-wanted/245034)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 22, 2016, 10:45am UTC](https://www.ruby-forum.com/t/senior-ruby-developer-wanted/245034 "2016-08-22T10:45:00Z")

</div>

Are you ready to burst into digital insurance market? Germany\`s digital insurance expert, a cutting-edge startup is bringing the market up to the new level, by following the words of Albert Einstein “If you can’t expl…

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

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