# Top

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

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

---

## [Controllo codice fiscale](https://www.ruby-forum.com/t/controllo-codice-fiscale/97481)

<div class="topic-metadata">

**Author:** [@stefsava](https://www.ruby-forum.com/u/stefsava)\
**Replies:** 3\
**Last updated:** [July 7, 2006, 12:52pm UTC](https://www.ruby-forum.com/t/controllo-codice-fiscale/97481 "2006-07-07T12:52:54Z")

</div>

Sono un niubbo in ruby, che ne pensate della routine che ho scritto ? Rispecchia lo spirito del linguaggio? def check\_codice\_fiscale codice return false if codice.size != 16 pari = “ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567…

---

## [I think we can add a new section called 'ssl'](https://www.ruby-forum.com/t/i-think-we-can-add-a-new-section-called-ssl/244734)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 6, 2016, 3:20pm UTC](https://www.ruby-forum.com/t/i-think-we-can-add-a-new-section-called-ssl/244734 "2016-06-06T15:20:45Z")

</div>

Hello, When the nginx-1.11.0 released,‘ssl\_certficate’ and ‘ssl\_certificate\_key’ options can be use several times to load different kinds of certificates.But,if you use the module ‘nginx-ct’ to enable ‘Certificate T…

---

## [Import block](https://www.ruby-forum.com/t/import-block/232651)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 20, 2014, 5:51pm UTC](https://www.ruby-forum.com/t/import-block/232651 "2014-10-20T17:51:14Z")

</div>

Hi, I am a new user of GNURadio and I am interested in use the Import block, to import the PSK.PY file, according to a tutorial that I am reading. The problem is that file doesn’ t exists in the file sytem of my GNU…

---

## [Printing from c++ code](https://www.ruby-forum.com/t/printing-from-c-code/177289)

<div class="topic-metadata">

**Author:** [@ntk](https://www.ruby-forum.com/u/ntk)\
**Replies:** 2\
**Last updated:** [October 19, 2009, 2:39am UTC](https://www.ruby-forum.com/t/printing-from-c-code/177289 "2009-10-19T02:39:41Z")

</div>

I am unable to print from C++ code in gnuradio. I have tried various combinations of included libraries and different types of print statements in my C++ code. However, nothing that I have tried yet (see some attem…

---

## [Dudas sobre scaffold en Rails 2.1.0](https://www.ruby-forum.com/t/dudas-sobre-scaffold-en-rails-2-1-0/143081)

<div class="topic-metadata">

**Author:** [@cmlopez](https://www.ruby-forum.com/u/cmlopez)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 2:17pm UTC](https://www.ruby-forum.com/t/dudas-sobre-scaffold-en-rails-2-1-0/143081 "2008-07-17T14:17:23Z")

</div>

Saludos a toda la lista, antes que nada pido disculpas si pregunto algo obvio, juro que busque mucho y no encontre. Estoy empezando con ror y no puedo darme cuenta como usar scaffold en rails 2.1.0 y me encuentro que …

---

## [Deployment in the land JRuby and Rails](https://www.ruby-forum.com/t/deployment-in-the-land-jruby-and-rails/243841)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 15, 2016, 9:12pm UTC](https://www.ruby-forum.com/t/deployment-in-the-land-jruby-and-rails/243841 "2016-01-15T21:12:45Z")

</div>

I need to fully automate my JRuby in Rails application. The continuous integration server will be Jenkins. I am pretty new to doing the continuous integration side of things, but on this new project there is no one …

---

## [Ruby Developer + Healthcare = Saving Lives @ Grand Rounds in San Francisco](https://www.ruby-forum.com/t/ruby-developer-healthcare-saving-lives-grand-rounds-in-san-francisco/245233)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 2, 2017, 10:58am UTC](https://www.ruby-forum.com/t/ruby-developer-healthcare-saving-lives-grand-rounds-in-san-francisco/245233 "2017-03-02T10:58:05Z")

</div>

We are seeking a Ruby on Rails fullstack developer to build out applications which ultimately help save lives. Come and join the mission. For more details: https://jobs.lever.co/grandrounds/bfa8b5a7-88dd-4063-b924-23…

---

## [Rspec and should have\_many through](https://www.ruby-forum.com/t/rspec-and-should-have-many-through/211804)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 14, 2011, 3:45am UTC](https://www.ruby-forum.com/t/rspec-and-should-have-many-through/211804 "2011-09-14T03:45:26Z")

</div>

Hi, Anyone can help me with rspec shoulda validations please. I can’t get the syntax right for these validations. Please correct me it { should have\_one :tradable, :through =\> :trade\_order} it { should belong\_to :sou…

---

## [Link\_to Tag, Onclick Event](https://www.ruby-forum.com/t/link-to-tag-onclick-event/146245)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 1\
**Last updated:** [August 19, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/link-to-tag-onclick-event/146245 "2008-08-19T12:55:20Z")

</div>

Hi, I want to do like this :- using Link\_to tag. Where - validate() is an java script function in that RHTML file. Is this is possible using link\_to tag? If yes tell me hoe to do that? Thanks & Regards, Tushar

---

## [Substring search?](https://www.ruby-forum.com/t/substring-search/121173)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 1\
**Last updated:** [November 25, 2007, 3:37am UTC](https://www.ruby-forum.com/t/substring-search/121173 "2007-11-25T03:37:41Z")

</div>

Is it possible to use Ferret to do substring searches efficiently? If not, what can I use? Problem: 1 million+ strings need to be matched with 1 million+ substrings. For example: iliketotraveltohawaii travelmagazine …

---

## [Gzip\_disable doesn't disable gzip\_vary](https://www.ruby-forum.com/t/gzip-disable-doesnt-disable-gzip-vary/217467)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 2, 2012, 1:33pm UTC](https://www.ruby-forum.com/t/gzip-disable-doesnt-disable-gzip-vary/217467 "2012-03-02T13:33:55Z")

</div>

I noticed that with this setting: gzip on; gzip\_vary on; gzip\_disable “msie6”; Header “Vary: Accept-Encoding” will always be returned even though the user agent is ie6 (and therefore not using gzip): curl -I http:…

---

## [Searching example config for my setup](https://www.ruby-forum.com/t/searching-example-config-for-my-setup/207126)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 19, 2011, 5:35pm UTC](https://www.ruby-forum.com/t/searching-example-config-for-my-setup/207126 "2011-05-19T17:35:44Z")

</div>

I am searching for an example configuration file for nginx for the follow set-up: firewall with prerouting port 80 and 443 to server-x running nginx server-a running apache on port 80 (a.example.org) (192.168.24.6…

---

## [C fast-cgi implementation](https://www.ruby-forum.com/t/c-fast-cgi-implementation/166341)

<div class="topic-metadata">

**Author:** [@Huy\_Phan](https://www.ruby-forum.com/u/Huy_Phan)\
**Replies:** 5\
**Last updated:** [April 25, 2009, 7:40am UTC](https://www.ruby-forum.com/t/c-fast-cgi-implementation/166341 "2009-04-25T07:40:37Z")

</div>

Hi, I’m doing some benchmarks on Nginx against Apache with PHP and C/C++. as far as I know, Nginx is lack of supporting CGI, can you suggest me a way to implement Nginx fast-cgi with C/C++ ? I googled these days but…

---

## [ProblÃ¨me en surchargeant une mÃ©thode](https://www.ruby-forum.com/t/probla-me-en-surchargeant-une-ma-thode/153829)

<div class="topic-metadata">

**Author:** [@olfhen](https://www.ruby-forum.com/u/olfhen)\
**Replies:** 5\
**Last updated:** [November 22, 2008, 7:52am UTC](https://www.ruby-forum.com/t/probla-me-en-surchargeant-une-ma-thode/153829 "2008-11-22T07:52:53Z")

</div>

Bonjour, je débute sous rails et je viens de commencer un projet avec PostgreSQL et des tables avec foreign key. Lorsque j’essaye de peupler mes tables avec rake db:fixtures:load, j’obtiens l’erreur suivante : PGErro…

---

## [0.6.9 sass\_filter Extension](https://www.ruby-forum.com/t/0-6-9-sass-filter-extension/147185)

<div class="topic-metadata">

**Author:** [@cbergy](https://www.ruby-forum.com/u/cbergy)\
**Replies:** 5\
**Last updated:** [August 31, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/0-6-9-sass-filter-extension/147185 "2008-08-31T22:37:15Z")

</div>

In order to use the sass\_filter extension with 0.6.9 master I had to add this file: …/vendor/plugins/haml/lib/haml/util.rb (http://dev.radiantcms.org/browser/trunk/extensions/vendor/plugins/haml/lib/haml/util.rb?rev=7…

---

## [Extending Bluecloth/Redcloth](https://www.ruby-forum.com/t/extending-bluecloth-redcloth/134404)

<div class="topic-metadata">

**Author:** [@spiderware](https://www.ruby-forum.com/u/spiderware)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 8:09am UTC](https://www.ruby-forum.com/t/extending-bluecloth-redcloth/134404 "2008-04-11T08:09:27Z")

</div>

I’d like to extend bleucloth or redcloth to support custom tags, e.g. I want to use markup like this: \[pubmed:18332676\] which shall be extended to: Behav Pharmacol. 2008 Mar;19(2):121-128. Does anyone know, if this…

---

## [Saber si la una tabla esta vacia](https://www.ruby-forum.com/t/saber-si-la-una-tabla-esta-vacia/74041)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:45am UTC](https://www.ruby-forum.com/t/saber-si-la-una-tabla-esta-vacia/74041 "2006-11-07T10:45:36Z")

</div>

Buenas, Cual es la mejor manera para saber si una tabla esta vacía??? Realizo un count con find\_by\_al y luego compruebo con empty? … Cual creéis que podría ser? Gracias. Me parece que me estoy volviendo un poco man…

---

## [Link\_to: link is missing id](https://www.ruby-forum.com/t/link-to-link-is-missing-id/97561)

<div class="topic-metadata">

**Author:** [@deanhiller](https://www.ruby-forum.com/u/deanhiller)\
**Replies:** 5\
**Last updated:** [July 7, 2006, 11:48pm UTC](https://www.ruby-forum.com/t/link-to-link-is-missing-id/97561 "2006-07-07T23:48:29Z")

</div>

I’m using a legacy table, where the unique id is not ‘id’ I have a Model class like the following: class Article \< ActiveRecord::Base set\_primary\_key “ARTICLE\_ID” end however, using a link\_to like the following (mod…

---

## [Sybase ctlib Adapter](https://www.ruby-forum.com/t/sybase-ctlib-adapter/99729)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 5\
**Last updated:** [February 10, 2006, 12:20am UTC](https://www.ruby-forum.com/t/sybase-ctlib-adapter/99729 "2006-02-10T00:20:20Z")

</div>

Hi, I’ve been trying to update Will Sobel’s sybase-ctlib adapter to pass unit tests on Rails 1.0. It’s been a slow, sloggy process for me so far, as I’ve been learning Ruby, Rails, and Sybase administration all in o…

---

## [How I can use extra params in habtm without so many troubles?](https://www.ruby-forum.com/t/how-i-can-use-extra-params-in-habtm-without-so-many-troubles/252284)

<div class="topic-metadata">

**Author:** [@Jack\_V](https://www.ruby-forum.com/u/Jack_V)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 8:42am UTC](https://www.ruby-forum.com/t/how-i-can-use-extra-params-in-habtm-without-so-many-troubles/252284 "2019-04-21T08:42:30Z")

</div>

I have a model Station class Station \< ApplicationRecord validates :name, presence: true has\_many :ways has\_many :routes, through: :ways has\_and\_belongs\_to\_many :tickets def update\_index\_number(route, index\_n…

---

## [How to use cookie based session?](https://www.ruby-forum.com/t/how-to-use-cookie-based-session/134479)

<div class="topic-metadata">

**Author:** [@zukjimote](https://www.ruby-forum.com/u/zukjimote)\
**Replies:** 2\
**Last updated:** [July 14, 2008, 4:59am UTC](https://www.ruby-forum.com/t/how-to-use-cookie-based-session/134479 "2008-07-14T04:59:29Z")

</div>

I just installed Rails 2.0.2. While moving an application made in Rails 1.2 to Rails 2.0.2, I got a problem of session. I was using the variable @session\[\]. How should I change the old fashioned way to the new way, w…

---

## [Using ActionMailer with template files retrieved from sql da](https://www.ruby-forum.com/t/using-actionmailer-with-template-files-retrieved-from-sql-da/62251)

<div class="topic-metadata">

**Author:** [@random52k](https://www.ruby-forum.com/u/random52k)\
**Replies:** 2\
**Last updated:** [June 2, 2006, 1:09am UTC](https://www.ruby-forum.com/t/using-actionmailer-with-template-files-retrieved-from-sql-da/62251 "2006-06-02T01:09:13Z")

</div>

I’m trying to set up a system which allows users to create and modify emails to send out to clients. I’ve got ActionMailer set up to send from a template file stored on the file system, but I’d like to be able to mov…

---

## [Re: gr-cdma](https://www.ruby-forum.com/t/re-gr-cdma/233943)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [January 30, 2015, 12:34pm UTC](https://www.ruby-forum.com/t/re-gr-cdma/233943 "2015-01-30T12:34:48Z")

</div>

The beautiful thing about open source is that all the detail are there for you to see! Looking at the cdma\_parameters.py file, you can see: pulse\_training = numpy.array((1,1,1,1,-1,1,1,-1))+0j pulse\_data =numpy.arr…

---

## [How to do string sort by number in specified lines?](https://www.ruby-forum.com/t/how-to-do-string-sort-by-number-in-specified-lines/238703)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [January 29, 2014, 2:51am UTC](https://www.ruby-forum.com/t/how-to-do-string-sort-by-number-in-specified-lines/238703 "2014-01-29T02:51:42Z")

</div>

========================================== There is a string(“string\_sample”, every line end with “\\n”), name1 bl460ca NoXDisplay (v2012.12) (server1/port1 18709), start Fri 1/24 17:26 name2 shandong NoXDisplay J3\_fff…

---

## [Ssl on different servers](https://www.ruby-forum.com/t/ssl-on-different-servers/236770)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [October 2, 2013, 8:44pm UTC](https://www.ruby-forum.com/t/ssl-on-different-servers/236770 "2013-10-02T20:44:55Z")

</div>

Hi, My domain.com is on ip: x.x.x.x where I have a configuration like: server { server\_name sub.domain.com; location / { proxy\_pass http://y.y.y.y; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header …

---

## [Empty array check](https://www.ruby-forum.com/t/empty-array-check/198160)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [October 28, 2010, 6:33pm UTC](https://www.ruby-forum.com/t/empty-array-check/198160 "2010-10-28T18:33:02Z")

</div>

Which of the two methods below are the most stable? Does it matter? !@articles.empty? @articles.length \> 0 I personally prefer using the ‘empty?’ method.

---

## [Writing to STDOUT after closing controlling terminal](https://www.ruby-forum.com/t/writing-to-stdout-after-closing-controlling-terminal/175830)

<div class="topic-metadata">

**Author:** [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Replies:** 6\
**Last updated:** [September 22, 2009, 2:39am UTC](https://www.ruby-forum.com/t/writing-to-stdout-after-closing-controlling-terminal/175830 "2009-09-22T02:39:47Z")

</div>

Hi, I don’t know if this is a dumb question or not (I hope it isn’t), but it seems to me there’s something wrong here. I’ve been using Ruby for a long time now, and I never noticed this (maybe it wasn’t working like …

---

## [Hello! first post to clr. I'm asking about an attempt at a lazy ruby solution to computing fibonacc](https://www.ruby-forum.com/t/hello-first-post-to-clr-im-asking-about-an-attempt-at-a-lazy-ruby-solution-to-computing-fibonacc/145174)

<div class="topic-metadata">

**Author:** [@tphyahoo](https://www.ruby-forum.com/u/tphyahoo)\
**Replies:** 6\
**Last updated:** [August 7, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/hello-first-post-to-clr-im-asking-about-an-attempt-at-a-lazy-ruby-solution-to-computing-fibonacc/145174 "2008-08-07T23:51:47Z")

</div>

Hi, first post to clr here. I have a guess a haskell bias as that’s the last language I learned, and now I’m learning ruby. I was trying to solve project euler problem 2 as an exercise. This is, sum all the even fibo…

---

## [Nuevo Blog en castellaÃ±o](https://www.ruby-forum.com/t/nuevo-blog-en-castellaa-o/86502)

<div class="topic-metadata">

**Author:** [@luis21\_futur](https://www.ruby-forum.com/u/luis21_futur)\
**Replies:** 6\
**Last updated:** [February 24, 2007, 1:06pm UTC](https://www.ruby-forum.com/t/nuevo-blog-en-castellaa-o/86502 "2007-02-24T13:06:16Z")

</div>

Los invito a visitar regularmente mi blog en http://ror-lab.blogspot.com/ Voy a ir postiando avances, problemas, anÃ©cdotas y demÃ¡s durante el desarrollo de una aplicaciÃ³n que se estima poner en producciÃ³n a media…

---

## [Error installing gr-baz](https://www.ruby-forum.com/t/error-installing-gr-baz/230994)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 17, 2014, 11:59am UTC](https://www.ruby-forum.com/t/error-installing-gr-baz/230994 "2014-07-17T11:59:53Z")

</div>

Yesterday, I built a new Ubuntu 14.04, installed the new GNURadio 3.7.4 and installed gr-op25. This all works, except that the gr-baz Op25 Decoder block, and other blocks, have unresolved baz imports. I ran ./pybombs…

---

## [\[OT\] Offerta di lavoro / freelance RoR / remoto](https://www.ruby-forum.com/t/ot-offerta-di-lavoro-freelance-ror-remoto/230891)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 13, 2014, 12:20pm UTC](https://www.ruby-forum.com/t/ot-offerta-di-lavoro-freelance-ror-remoto/230891 "2014-07-13T12:20:44Z")

</div>

Ciao a tutta la ML, ho deciso di rischiare il pestaggio postando un’offerta di lavoro cercando di rispettare tutti i parametri richiesti per non innescare il flammone :slight\_smile: In short: cerchiamo un freelance …

---

## [Newbie looking for best IDE](https://www.ruby-forum.com/t/newbie-looking-for-best-ide/213971)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [November 17, 2011, 10:41pm UTC](https://www.ruby-forum.com/t/newbie-looking-for-best-ide/213971 "2011-11-17T22:41:12Z")

</div>

I’m just getting started with RoR. I would like to use an IDE. I have used Eclipse for BIRT report writing. So, the Aptana IDE seems like a good choice. But, how does it compare to RubyMine? Thanks, Dave

---

## [Sqlite3 e Mysql - OS X Lion](https://www.ruby-forum.com/t/sqlite3-e-mysql-os-x-lion/210657)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [August 22, 2011, 11:07am UTC](https://www.ruby-forum.com/t/sqlite3-e-mysql-os-x-lion/210657 "2011-08-22T11:07:38Z")

</div>

Salve a tutti, avrei un piccolo problema con l’installazione di sqlite3 e mysql. Se provo ad installare sqlite3 ho il seguente output: host-001:app alex$ sudo gem install sqlite3 Building native extensions. This cou…

---

## [Building gem native extensions](https://www.ruby-forum.com/t/building-gem-native-extensions/188422)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 3\
**Last updated:** [May 12, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/building-gem-native-extensions/188422 "2010-05-12T17:08:35Z")

</div>

Why does some gems have build gem native extensions to get installed by ruby 1.8 or 1.9.1 ?? Does rubygems downloads a source and then they are compiled to be executable? If so, why does Jruby can’t build native C li…

---

## [Support for 8-bit USB samples in GRC](https://www.ruby-forum.com/t/support-for-8-bit-usb-samples-in-grc/159022)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 8\
**Last updated:** [February 1, 2009, 1:19am UTC](https://www.ruby-forum.com/t/support-for-8-bit-usb-samples-in-grc/159022 "2009-02-01T01:19:30Z")

</div>

Josh, et al: Do you have plans to support 8-bit sample settings in the GRC USRP objects? – Marcus L. Principal Investigator, Shirleys Bay Radio Astronomy Consortium

---

## [Load Gdk::Pixbuf from string](https://www.ruby-forum.com/t/load-gdk-pixbuf-from-string/157176)

<div class="topic-metadata">

**Author:** [@Mathieu\_B](https://www.ruby-forum.com/u/Mathieu_B)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/load-gdk-pixbuf-from-string/157176 "2009-01-08T13:41:46Z")

</div>

Hi all, I have a Ruby string containing an image. The format, width, height, bits per sample, rowstride and so on, are not known in advance. If I save my string to a file and create a pixbuf with Gdk::Pixbuf.new(myf…

---

## [Finding the date of an event based on related events](https://www.ruby-forum.com/t/finding-the-date-of-an-event-based-on-related-events/143449)

<div class="topic-metadata">

**Author:** [@Kaldrenon](https://www.ruby-forum.com/u/Kaldrenon)\
**Replies:** 8\
**Last updated:** [July 21, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/finding-the-date-of-an-event-based-on-related-events/143449 "2008-07-21T16:10:54Z")

</div>

Hi all, I’m doing some planning to write a simple utility program for maintaining my schedule. The basic scenario is that, in my job, I have a series of multi-stage procedures to perform, and for each instance of the…

---

## [Attachement\_fu, formatage images selon action ou controller](https://www.ruby-forum.com/t/attachement-fu-formatage-images-selon-action-ou-controller/143496)

<div class="topic-metadata">

**Author:** [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Replies:** 8\
**Last updated:** [July 19, 2008, 5:37pm UTC](https://www.ruby-forum.com/t/attachement-fu-formatage-images-selon-action-ou-controller/143496 "2008-07-19T17:37:30Z")

</div>

Bonjour, Je chercherai Ã savoir comment filtrer selon qq paramÃ¨tres possiblement passables au model les format d’image spÃ©cifiÃ©s dans le/les models conernÃ©s par les upload par attachement\_fu. Cad, ayant prÃ©vu 6…

---

## [Dynamic Content in Gtk::ComboBox list](https://www.ruby-forum.com/t/dynamic-content-in-gtk-combobox-list/84123)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/dynamic-content-in-gtk-combobox-list/84123 "2007-02-02T12:47:21Z")

</div>

Hello all, I’d like to have the contents of my Gtk::ComboBox list updated whenever the popup list is shown. I’m using the simple text-only way of working with the combo box. I’ve tried to listen to every signal I th…

---

## [Dedibox on Rails (ou l'inverse)](https://www.ruby-forum.com/t/dedibox-on-rails-ou-linverse/74502)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 8\
**Last updated:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/dedibox-on-rails-ou-linverse/74502 "2006-11-07T10:55:15Z")

</div>

Ceci intÃ©ressera ceux qui s’interrogent encore sur l’hÃ©bergement RoR (Y a-t-il une vie aprÃ¨s http://localhost:3000 ?) : Je n’ai pas d’actions chez Illiad . J’Ã©tais mÃªme dubitatif au dÃ©but (ayant eu Ã souffrir …

---

## [Net::LDAP 0.0.4 filter warnings](https://www.ruby-forum.com/t/net-ldap-0-0-4-filter-warnings/65255)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 8\
**Last updated:** [August 17, 2006, 8:57pm UTC](https://www.ruby-forum.com/t/net-ldap-0-0-4-filter-warnings/65255 "2006-08-17T20:57:08Z")

</div>

I’m writing some new code and using #!/usr/bin/ruby -w as the bang line in the script. The code looks like: require ‘rubygems’ require ‘net/ldap’ filter = Net::LDAP::Filter.eq( “key”,“value” ) ldap.search (:base =\>…

---

## [Php include() equivalent](https://www.ruby-forum.com/t/php-include-equivalent/102298)

<div class="topic-metadata">

**Author:** [@gilles](https://www.ruby-forum.com/u/gilles)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 1:51am UTC](https://www.ruby-forum.com/t/php-include-equivalent/102298 "2006-08-15T01:51:16Z")

</div>

Is there an equivelent ruby function that is similar or exactly the same as the php include() function? I would like to be able to include a header for my RoR web application that refers to a url. Thanks! -Gilles

---

## [Model Inheritance, Mixins and Database design](https://www.ruby-forum.com/t/model-inheritance-mixins-and-database-design/54446)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 8\
**Last updated:** [March 5, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/model-inheritance-mixins-and-database-design/54446 "2006-03-05T18:03:32Z")

</div>

I’m trying to understand how best to use inheritance and wonder if Rail’s Single Table Inheritance model too restricting. I have a model Companies who provide 1+ Services (HABTM relationship). I assume the best way to…

---

## [Building Ruby 1.8.2 on HP-UX 10.20](https://www.ruby-forum.com/t/building-ruby-1-8-2-on-hp-ux-10-20/48402)

<div class="topic-metadata">

**Author:** [@gerardo.santana](https://www.ruby-forum.com/u/gerardo.santana)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 1:00am UTC](https://www.ruby-forum.com/t/building-ruby-1-8-2-on-hp-ux-10-20/48402 "2005-11-21T01:00:52Z")

</div>

I get the following error: -----------8\<------------- cc -Ae -g -DYYMAXDEPTH=300 -I. -I. -c ./missing/vsnprintf.c cpp: “stdio.h”, line 316: warning 2001: Redefinition of macro clearerr. cpp: “stdio.h”, line 317: w…

---

## [Does Python Regex group symbol ( ?: ) work in Ruby?](https://www.ruby-forum.com/t/does-python-regex-group-symbol-work-in-ruby/236624)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 20, 2013, 9:57am UTC](https://www.ruby-forum.com/t/does-python-regex-group-symbol-work-in-ruby/236624 "2013-09-20T09:57:14Z")

</div>

Hi, I’m starting to learn Ruby and wondering if Python’s Regex group (?:slight\_smile: symbol works in Ruby. From my experiments it seems like it does, but I’d like a conclusive answer. Thanks, Sunny

---

## [Execute Ruby code after Gem is installed](https://www.ruby-forum.com/t/execute-ruby-code-after-gem-is-installed/201368)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 6, 2011, 11:29pm UTC](https://www.ruby-forum.com/t/execute-ruby-code-after-gem-is-installed/201368 "2011-01-06T23:29:56Z")

</div>

Hello All, I’m creating a Ruby gem that utilizes the ruby\_protobuf gem to generate Ruby code using a protocol descriptor file (protocol.proto) in Google Protobuf’s format. Given this, my gem has a dependency for the …

---

## [Cairo translate with mouse dragging](https://www.ruby-forum.com/t/cairo-translate-with-mouse-dragging/136086)

<div class="topic-metadata">

**Author:** [@KONTRAS\_Gergely](https://www.ruby-forum.com/u/KONTRAS_Gergely)\
**Replies:** 4\
**Last updated:** [April 29, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/cairo-translate-with-mouse-dragging/136086 "2008-04-29T16:27:18Z")

</div>

http://pastebin.com/d1a425431 Hi all! I would like to have a DrawingArea + Cairo, which is zoomable and pannable. The Zoomable aspect is done by me, but I do not know how to implement the pannable. Which Gdk::Event…

---

## [wxSizerItem show() method](https://www.ruby-forum.com/t/wxsizeritem-show-method/124389)

<div class="topic-metadata">

**Author:** [@ratkins](https://www.ruby-forum.com/u/ratkins)\
**Replies:** 4\
**Last updated:** [December 28, 2007, 11:43am UTC](https://www.ruby-forum.com/t/wxsizeritem-show-method/124389 "2007-12-28T11:43:48Z")

</div>

It appears from the wx 2.8.7 documentation that a wxSizerItem has a show() method. But when I try to invoke it through wxruby, I get: tasks.rb:56:in do\_btn3': undefined methodshow’ for #SWIG::TYPE\_p\_wxSizerItem:0xb5…

---

## [WEBrick no deja de mostrarme la pantalla de inicio de rails](https://www.ruby-forum.com/t/webrick-no-deja-de-mostrarme-la-pantalla-de-inicio-de-rails/109937)

<div class="topic-metadata">

**Author:** [@rantamplan](https://www.ruby-forum.com/u/rantamplan)\
**Replies:** 4\
**Last updated:** [July 20, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/webrick-no-deja-de-mostrarme-la-pantalla-de-inicio-de-rails/109937 "2007-07-20T14:35:10Z")

</div>

Hola buenas! Resulta que he sustituido el index.html, pero me sigue saliendo la maldita pÃ¡gina de inicio de rails. Alguien sabe como puedo evitarlo? Un saludo.

---

## [Confusion related when deploy to heroku](https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [July 18, 2014, 2:17pm UTC](https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280 "2014-07-18T14:17:38Z")

</div>

I am using Ruby1.9.3 and Rails3.2 version. I am developing sample\_app by using Michael hartl’s book. I get message for Javascript and CSS after using “rails s” like following: When I use code “rails s”, and then I go…

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

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