# Top

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

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

---

## [SWIG, current gr-howto structure and exception specifiers](https://www.ruby-forum.com/t/swig-current-gr-howto-structure-and-exception-specifiers/219683)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [June 6, 2012, 2:39am UTC](https://www.ruby-forum.com/t/swig-current-gr-howto-structure-and-exception-specifiers/219683 "2012-06-06T02:39:55Z")

</div>

In the current state of gr-howto (which is also used in gr\_modtool), the SWIG stuff is done pretty intelligently by using the header files as .i-files, which means there is no need to write a SWIG header for every blo…

---

## [Sun classes accessible?](https://www.ruby-forum.com/t/sun-classes-accessible/212163)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 4, 2011, 11:28pm UTC](https://www.ruby-forum.com/t/sun-classes-accessible/212163 "2011-10-04T23:28:15Z")

</div>

Is the following expected? import “sun.audio.AudioPlayer” =\> Java::SunAudio::AudioPlayer AudioPlayer # works =\> Java::SunAudio::AudioPlayer java.sun.audio.AudioPlayer NameError: cannot load Java class java.su…

---

## [Jquery error please help me out](https://www.ruby-forum.com/t/jquery-error-please-help-me-out/212474)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 4, 2011, 8:24pm UTC](https://www.ruby-forum.com/t/jquery-error-please-help-me-out/212474 "2011-10-04T20:24:11Z")

</div>

Hi guys, Iam new to rails and jquery too… now iam working on rails 3.1 v. in that i need to build one tab bar using jquery $ gem list \*\*\* LOCAL GEMS \*\*\* actionmailer (3.1.0, 3.1.0.rc8) actionpack (3.1.0, 3.1.0.rc8…

---

## [Mkmf & config question](https://www.ruby-forum.com/t/mkmf-config-question/210974)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 23, 2011, 11:50pm UTC](https://www.ruby-forum.com/t/mkmf-config-question/210974 "2011-08-23T23:50:56Z")

</div>

ok so check this out: pry(main)\> require ‘mkmf’ =\> true pry(main)\> CONFIG\[‘sitedir’\] =\> “$(libdir)/ruby/site\_ruby” pry(main)\> CONFIG\[‘libdir’\] =\> “$(exec\_prefix)/lib” pry(main)\> CONFIG\[‘exec\_prefix’\] =\> “$(prefix…

---

## [Nginx as reverse proxy for many domains (many ips in proxypass?)](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-many-domains-many-ips-in-proxypass/206265)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 27, 2011, 2:19am UTC](https://www.ruby-forum.com/t/nginx-as-reverse-proxy-for-many-domains-many-ips-in-proxypass/206265 "2011-04-27T02:19:01Z")

</div>

Hi, I’m trying to set up nginx as a reverse proxy for several apache2 server. Nginx server should act as a cache / proxy for any URL that you send - so some sort of global VirtualHost. There is no problem. But I do…

---

## [Passing ruby parameters to compiled jruby code](https://www.ruby-forum.com/t/passing-ruby-parameters-to-compiled-jruby-code/204960)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 25, 2011, 6:03pm UTC](https://www.ruby-forum.com/t/passing-ruby-parameters-to-compiled-jruby-code/204960 "2011-03-25T18:03:56Z")

</div>

Hello, Hopefully this isn’t a silly question. I wasn’t able to find an answer in the documentation. Suppose I have some jruby code that runs in 1.9 mode, so I run it with Jruby --1.9 program.rb If I compile it with …

---

## [Can't git clone the UHD sources](https://www.ruby-forum.com/t/cant-git-clone-the-uhd-sources/197910)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 22, 2010, 11:13pm UTC](https://www.ruby-forum.com/t/cant-git-clone-the-uhd-sources/197910 "2010-10-22T23:13:19Z")

</div>

Hi everyone! I can’t git clone the UHD sources from the Ettus research git repository . the input is : " git clone git://ettus.sourcerepo.com/ettus/uhd.git " the output is: " Initialized empty Git repository in /hom…

---

## [Nokogiri installation problem on Mac 10.6.0](https://www.ruby-forum.com/t/nokogiri-installation-problem-on-mac-10-6-0/192636)

<div class="topic-metadata">

**Author:** [@pshah](https://www.ruby-forum.com/u/pshah)\
**Replies:** 3\
**Last updated:** [August 3, 2010, 2:21pm UTC](https://www.ruby-forum.com/t/nokogiri-installation-problem-on-mac-10-6-0/192636 "2010-08-03T14:21:17Z")

</div>

Hi, I getting problem when install Nokogiri on mac snow leopard. I get following errors : ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Ver…

---

## [Cache logic in js\_include\_tag and stylesheet\_link\_tag?](https://www.ruby-forum.com/t/cache-logic-in-js-include-tag-and-stylesheet-link-tag/187690)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 3\
**Last updated:** [April 30, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/cache-logic-in-js-include-tag-and-stylesheet-link-tag/187690 "2010-04-30T19:54:48Z")

</div>

So using the magic :cache argument to combine multiple CSS or JS files into one cached file, using stylesheet\_link\_tag or javascript\_include\_tag respectively… I sort of figured that if the arguments to the function ch…

---

## [Jruby and multi-threaded background processing](https://www.ruby-forum.com/t/jruby-and-multi-threaded-background-processing/183113)

<div class="topic-metadata">

**Author:** [@pyr0](https://www.ruby-forum.com/u/pyr0)\
**Replies:** 3\
**Last updated:** [February 9, 2010, 11:43am UTC](https://www.ruby-forum.com/t/jruby-and-multi-threaded-background-processing/183113 "2010-02-09T11:43:47Z")

</div>

Coming from the java world, I am wondering if people are taking advantage of java threads for background processing in the jruby world. What tools are people using? Are people leveraging jms for this type of work? …

---

## [Default\_type should default to nothing (RFC 2616)](https://www.ruby-forum.com/t/default-type-should-default-to-nothing-rfc-2616/166844)

<div class="topic-metadata">

**Author:** [@sbwoodside](https://www.ruby-forum.com/u/sbwoodside)\
**Replies:** 0\
**Last updated:** [April 30, 2009, 4:50am UTC](https://www.ruby-forum.com/t/default-type-should-default-to-nothing-rfc-2616/166844 "2009-04-30T04:50:42Z")

</div>

I am new to nginx but I just noticed that, at least on ubuntu, default\_type application/octet-stream; is the default setting, and the wiki says that if I remove it, the default will go to text/plain. This is not good…

---

## [Silverlight Debug out of the box](https://www.ruby-forum.com/t/silverlight-debug-out-of-the-box/163969)

<div class="topic-metadata">

**Author:** [@Jb\_Evain](https://www.ruby-forum.com/u/Jb_Evain)\
**Replies:** 3\
**Last updated:** [March 26, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/silverlight-debug-out-of-the-box/163969 "2009-03-26T19:21:04Z")

</div>

Hey, Trying to build the «Silverlight Debug» target fails on a fresh checkout. Apparently it’s still trying to use the desktop mscorlib. Anything I missed?

---

## [Simple search form with restful routes?](https://www.ruby-forum.com/t/simple-search-form-with-restful-routes/162235)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 3\
**Last updated:** [March 12, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/simple-search-form-with-restful-routes/162235 "2009-03-12T19:42:57Z")

</div>

What am I doing wrong? I just want to create a simple form where I can enter the ID of a model and it take me to that model. I’m trying to place the form in the application layout, so I can use it from anywhere in m…

---

## [Maximum recursion depth exceeded](https://www.ruby-forum.com/t/maximum-recursion-depth-exceeded/157674)

<div class="topic-metadata">

**Author:** [@feldmaus](https://www.ruby-forum.com/u/feldmaus)\
**Replies:** 3\
**Last updated:** [January 16, 2009, 8:04am UTC](https://www.ruby-forum.com/t/maximum-recursion-depth-exceeded/157674 "2009-01-16T08:04:29Z")

</div>

Hi All, i built gnuradio companion via svn. My current System is openSuse 11.1. For testing i build up a dial tone generator, and got this error: Exception RuntimeError: ‘maximum recursion depth exceeded in subclas…

---

## [Cucumber model expectations fail to find newly created users](https://www.ruby-forum.com/t/cucumber-model-expectations-fail-to-find-newly-created-users/156880)

<div class="topic-metadata">

**Author:** [@hubertlepicki](https://www.ruby-forum.com/u/hubertlepicki)\
**Replies:** 3\
**Last updated:** [January 4, 2009, 9:16pm UTC](https://www.ruby-forum.com/t/cucumber-model-expectations-fail-to-find-newly-created-users/156880 "2009-01-04T21:16:00Z")

</div>

Hi guys, I have strange problem with getting model expectations to work with Cucumber. My setup is that I use Cucumber + Webrat (Selenium backend). Story I test is registering user on site. Cucumber runs story perfect…

---

## [Problem populating a model with external data](https://www.ruby-forum.com/t/problem-populating-a-model-with-external-data/154265)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [November 27, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/problem-populating-a-model-with-external-data/154265 "2008-11-27T16:09:53Z")

</div>

I’m trying to populate a table with the names and attributes of files in public\\data\\csv. The ultimate target is a currently empty Sqlite3 database which yields the following dump: CREATE TABLE “csv\_items” (“id” INTE…

---

## [Sharing the little dialects we write in Cucumber](https://www.ruby-forum.com/t/sharing-the-little-dialects-we-write-in-cucumber/152859)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [November 8, 2008, 3:20pm UTC](https://www.ruby-forum.com/t/sharing-the-little-dialects-we-write-in-cucumber/152859 "2008-11-08T15:20:22Z")

</div>

The common\_webrat.rb steps file that comes with cucumber when you add it to rails really inspired our team. We’ve extended it a fair bit to do various other things to check the content of a page such as \[1\] which enab…

---

## [Block method to yield stdout?](https://www.ruby-forum.com/t/block-method-to-yield-stdout/151375)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 3\
**Last updated:** [October 21, 2008, 4:44am UTC](https://www.ruby-forum.com/t/block-method-to-yield-stdout/151375 "2008-10-21T04:44:24Z")

</div>

All, I’ve written a distribution service that spawns processes using IO.popen in a seperate thread for each job. In my Task class, I would like to create a block method such as ‘Task.monitor(mode=“stdout”)’, which wou…

---

## [Attachment mail, me saca el cÃ³digo ht ml de la vista](https://www.ruby-forum.com/t/attachment-mail-me-saca-el-ca-digo-ht-ml-de-la-vista/148298)

<div class="topic-metadata">

**Author:** [@calabriama](https://www.ruby-forum.com/u/calabriama)\
**Replies:** 3\
**Last updated:** [September 12, 2008, 10:41am UTC](https://www.ruby-forum.com/t/attachment-mail-me-saca-el-ca-digo-ht-ml-de-la-vista/148298 "2008-09-12T10:41:40Z")

</div>

Hola, estoy intentando hacer un attachment en un mail, siguiendo un ejemplo del Agile. El envío lo hace correcto, me hace el attachement, me pinta el html, pero también me saca el código html, y no se muy bien por qué…

---

## [Question around Gzip static and CDN](https://www.ruby-forum.com/t/question-around-gzip-static-and-cdn/146578)

<div class="topic-metadata">

**Author:** [@Rakesh\_Rajan](https://www.ruby-forum.com/u/Rakesh_Rajan)\
**Replies:** 3\
**Last updated:** [August 22, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/question-around-gzip-static-and-cdn/146578 "2008-08-22T21:44:27Z")

</div>

Hi, I have recently moved serving static files from Apache to Nginx ( 0.7.11 ). As a part of build, I gzip JS and CSS files and have complied nginx using --with-http\_gzip\_static\_module . When I access the page using, …

---

## [Immutable, Interned strings?](https://www.ruby-forum.com/t/immutable-interned-strings/146135)

<div class="topic-metadata">

**Author:** [@Mayuresh\_K](https://www.ruby-forum.com/u/Mayuresh_K)\
**Replies:** 3\
**Last updated:** [August 20, 2008, 7:04am UTC](https://www.ruby-forum.com/t/immutable-interned-strings/146135 "2008-08-20T07:04:45Z")

</div>

Hello, I’m learning Ruby via the “The Ruby P.ming Language”. The first chapter has the following statements; Ruby’s hashes can use any object as a key, but Symbol objects are the most commonly used. Symbols are immu…

---

## [Strip\_links(html) in a rake task](https://www.ruby-forum.com/t/strip-links-html-in-a-rake-task/145132)

<div class="topic-metadata">

**Author:** [@pierre](https://www.ruby-forum.com/u/pierre)\
**Replies:** 3\
**Last updated:** [August 6, 2008, 12:42pm UTC](https://www.ruby-forum.com/t/strip-links-html-in-a-rake-task/145132 "2008-08-06T12:42:23Z")

</div>

Hello, I would like to use the helper strip\_links(html) in one of my rake task. Is there anyway I can do that ? I’ve tried to look for solutions on Google with no success. Thank you very much, Pierre

---

## [Boolean circles](https://www.ruby-forum.com/t/boolean-circles/131255)

<div class="topic-metadata">

**Author:** [@Fredrik\_K](https://www.ruby-forum.com/u/Fredrik_K)\
**Replies:** 3\
**Last updated:** [March 7, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/boolean-circles/131255 "2008-03-07T15:22:26Z")

</div>

Hi, This is just kindof a RoR question, but since you all potentially do the same things as I do, I thought I’ll ask here… Im trying to use the boolean type in the database. Migrations is no problem, it even converts…

---

## [Nginx, mongrel\_cluster, multiple virtual hosts pointing to one application but each to a different](https://www.ruby-forum.com/t/nginx-mongrel-cluster-multiple-virtual-hosts-pointing-to-one-application-but-each-to-a-different/129240)

<div class="topic-metadata">

**Author:** [@roller8](https://www.ruby-forum.com/u/roller8)\
**Replies:** 3\
**Last updated:** [February 19, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/nginx-mongrel-cluster-multiple-virtual-hosts-pointing-to-one-application-but-each-to-a-different/129240 "2008-02-19T12:04:09Z")

</div>

Hi all, I have one rails app running on this setup: Centos nginx a mongrel\_cluster Setting up virtual hosts with nginx is easy enough, but I’d like to point different hosts to different controllers. For example, I h…

---

## [How to store a block in a var?](https://www.ruby-forum.com/t/how-to-store-a-block-in-a-var/124685)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 3\
**Last updated:** [January 1, 2008, 7:59am UTC](https://www.ruby-forum.com/t/how-to-store-a-block-in-a-var/124685 "2008-01-01T07:59:42Z")

</div>

Mil perdones, but my brain seems to have gone awol. I have multiple places in a spec where I need to run the same block of code. I would be much happier storing this block in a var as a Proc as opposed to wrapping it …

---

## [One-to-many through scaffolding?](https://www.ruby-forum.com/t/one-to-many-through-scaffolding/122506)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [December 8, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/one-to-many-through-scaffolding/122506 "2007-12-08T14:26:08Z")

</div>

I’m working on my first one-to-many. Through scaffolds I have CRUD interfaces for the “feeds” and “items” tables. I have everything configured for a one-to-many O/R mapping, to my knowledge. Is there a scaffold comm…

---

## [Getting Radiant rolling on a fresh Dapper install with Deprec](https://www.ruby-forum.com/t/getting-radiant-rolling-on-a-fresh-dapper-install-with-deprec/121915)

<div class="topic-metadata">

**Author:** [@andrewneal](https://www.ruby-forum.com/u/andrewneal)\
**Replies:** 3\
**Last updated:** [December 6, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/getting-radiant-rolling-on-a-fresh-dapper-install-with-deprec/121915 "2007-12-06T23:11:33Z")

</div>

Hi folks, Slicehost gets a good press around here, so I’ve decided to try them out for my latest Radiant site. Starting from a fresh Ubuntu Dapper installation, I used deprec to install the Rails stack. I have been a…

---

## [Pregunta sobre backend y arquitectura de una aplicaciÃ³n Rails](https://www.ruby-forum.com/t/pregunta-sobre-backend-y-arquitectura-de-una-aplicacia-n-rails/121325)

<div class="topic-metadata">

**Author:** [@JosSSSS\_CarriSSS\_n](https://www.ruby-forum.com/u/JosSSSS_CarriSSS_n)\
**Replies:** 3\
**Last updated:** [November 27, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/pregunta-sobre-backend-y-arquitectura-de-una-aplicacia-n-rails/121325 "2007-11-27T12:16:45Z")

</div>

Hola amigos de la lista, tengo una inquietud que estoy tratando de resolver, bÃ¡sicamente querÃ­a ver si me podrÃ­an ayudar con alguna URL, Blog, o documentaciÃ³n donde pueda encontrar el deployment de una aplicaciÃ³n…

---

## [Passing data between controller methods](https://www.ruby-forum.com/t/passing-data-between-controller-methods/109905)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 23, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/passing-data-between-controller-methods/109905 "2007-07-23T21:52:23Z")

</div>

Hi All What is the best way to pass data between different controller methods in support of different views? Thanks

---

## [Attachment\_fu Not Resizing](https://www.ruby-forum.com/t/attachment-fu-not-resizing/90397)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 3\
**Last updated:** [May 30, 2007, 9:03am UTC](https://www.ruby-forum.com/t/attachment-fu-not-resizing/90397 "2007-05-30T09:03:22Z")

</div>

Hello, Recently attachment\_fu stopped resizing images for me. I’m puzzled because before today it was resizing them and I don’t know what’s changed. Here’s my code: class Product \< ActiveRecord::Base has\_attachmen…

---

## [Meilleure place pour une regle de validation](https://www.ruby-forum.com/t/meilleure-place-pour-une-regle-de-validation/104961)

<div class="topic-metadata">

**Author:** [@nibbler61](https://www.ruby-forum.com/u/nibbler61)\
**Replies:** 3\
**Last updated:** [May 24, 2007, 11:44am UTC](https://www.ruby-forum.com/t/meilleure-place-pour-une-regle-de-validation/104961 "2007-05-24T11:44:58Z")

</div>

Bonjour Ã tous, c’est riri qui vous parle de roland garros : avant de valider un formulaire, je voudrais verifier qu’un champ est bien supÃ©rieur Ã un autre. C’est possible de mettre ca dans le model avec un valida…

---

## [Newbie question eruby dbi](https://www.ruby-forum.com/t/newbie-question-eruby-dbi/86514)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 3\
**Last updated:** [February 22, 2007, 10:10pm UTC](https://www.ruby-forum.com/t/newbie-question-eruby-dbi/86514 "2007-02-22T22:10:53Z")

</div>

Hi List I’ve spent the last couple days doing tutorials and so far I’m loving Ruby. My main function will be to use eruby on a web site. I’ve been able to get many things working but one I’m stumped on one so I’m hop…

---

## [Error when trying to access model's parent](https://www.ruby-forum.com/t/error-when-trying-to-access-models-parent/85619)

<div class="topic-metadata">

**Author:** [@jake\_s](https://www.ruby-forum.com/u/jake_s)\
**Replies:** 3\
**Last updated:** [February 15, 2007, 12:03am UTC](https://www.ruby-forum.com/t/error-when-trying-to-access-models-parent/85619 "2007-02-15T00:03:38Z")

</div>

I have two database backed models with a one to many relationship. When I try to access one of the parent’s attributes through the child I get the following error: ActiveRecord::StatementInvalid: Mysql::Error: Unknow…

---

## [Asociaciones](https://www.ruby-forum.com/t/asociaciones/83337)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [January 25, 2007, 11:45am UTC](https://www.ruby-forum.com/t/asociaciones/83337 "2007-01-25T11:45:23Z")

</div>

Hola, tengo un problema al que le estoy dando vueltas y más vueltas, con el que cada vez me estoy liando más. No sé si debido a que soy nueva en Ruby ó qué.Tengo una clase de tipo A, otra de tipo B y por último la cla…

---

## [Self Referential HABTM Checkbox Example or Tutorial Needed](https://www.ruby-forum.com/t/self-referential-habtm-checkbox-example-or-tutorial-needed/82750)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [January 20, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/self-referential-habtm-checkbox-example-or-tutorial-needed/82750 "2007-01-20T22:17:10Z")

</div>

My checkboxes currently show up either checked or not checked based on manually entered data using this bit so far… \<% Project.find(:all).each do |project| %\> \<input type=“checkbox” id="\<%= project.id %\>" name=“projec…

---

## [RESTful web service design question](https://www.ruby-forum.com/t/restful-web-service-design-question/76940)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 3\
**Last updated:** [November 22, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/restful-web-service-design-question/76940 "2006-11-22T17:57:09Z")

</div>

I’m working on a Rails app that needs to expose a RESTful web service. I’m curious to know some of the best practices as it relates to RESTful API design. Let’s say I have a set of related objects on the server side. …

---

## [Como manejan ustedes los datos tipo booleano?](https://www.ruby-forum.com/t/como-manejan-ustedes-los-datos-tipo-booleano/75440)

<div class="topic-metadata">

**Author:** [@lamacarena](https://www.ruby-forum.com/u/lamacarena)\
**Replies:** 3\
**Last updated:** [November 12, 2006, 1:18am UTC](https://www.ruby-forum.com/t/como-manejan-ustedes-los-datos-tipo-booleano/75440 "2006-11-12T01:18:58Z")

</div>

como manejan ustedes los datos tipo booleano? yo solia recurria (en mysql) al tipo bit (0,1) con null y \<select id="… \> No Si y asi lo iva hacer en RoR, pero uds siempren me sorprenden con algo o mas comodo o m…

---

## [Does anyone know how to install/use Active Merchant?](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022)

<div class="topic-metadata">

**Author:** [@rekab](https://www.ruby-forum.com/u/rekab)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 10:41am UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022 "2006-10-18T10:41:06Z")

</div>

Does anyone know how to install/use Active Merchant? I can’t find any documentation online. Any help would be most appreciated. Thanks!

---

## [Anyone using Theme Generator](https://www.ruby-forum.com/t/anyone-using-theme-generator/55597)

<div class="topic-metadata">

**Author:** [@rhubarb](https://www.ruby-forum.com/u/rhubarb)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/anyone-using-theme-generator/55597 "2006-03-23T18:43:21Z")

</div>

Im working on a simple private Rails app, but I’m not much of a designer and I’m struggling to get a nice layout. So I was thinking of using this Theme Generator: http://www.mattmccray.com/archives/2005/10/26/full-the…

---

## [Need help to place my gem in proper location](https://www.ruby-forum.com/t/need-help-to-place-my-gem-in-proper-location/51957)

<div class="topic-metadata">

**Author:** [@Mohammad\_K](https://www.ruby-forum.com/u/Mohammad_K)\
**Replies:** 3\
**Last updated:** [January 10, 2006, 4:57am UTC](https://www.ruby-forum.com/t/need-help-to-place-my-gem-in-proper-location/51957 "2006-01-10T04:57:34Z")

</div>

Hello Group, I have place my gem file at: http://rubyforge.org/projects/ruby-agi/ I thought, placeing any gem file in rubyforge would allow to execute gem install I must missing something, otherwise I won’t see thi…

---

## [Pdf::Writer and "Replacement Tags"](https://www.ruby-forum.com/t/pdf-writer-and-replacement-tags/50309)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 3\
**Last updated:** [December 15, 2005, 5:47am UTC](https://www.ruby-forum.com/t/pdf-writer-and-replacement-tags/50309 "2005-12-15T05:47:08Z")

</div>

Having read over the ruby pdf generation (simple reporting) options, I think Pdf::Writer will do just fine… …if the following is possible On page 13 of (the really expansive) ::Writer manual, Replacement Tags are det…

---

## [Custom foreign key field](https://www.ruby-forum.com/t/custom-foreign-key-field/48437)

<div class="topic-metadata">

**Author:** [@straightflush](https://www.ruby-forum.com/u/straightflush)\
**Replies:** 3\
**Last updated:** [November 20, 2005, 8:59pm UTC](https://www.ruby-forum.com/t/custom-foreign-key-field/48437 "2005-11-20T20:59:16Z")

</div>

I have 3 tables, news,activities, threads. threads contains all the replies for news and activities. Therefore threads has a category\_id and postid column to map a reply to a table and initial thread. How do i say …

---

## [Jquery to center: Form with multiple hidden divs -- JS will size to the smallest div](https://www.ruby-forum.com/t/jquery-to-center-form-with-multiple-hidden-divs-js-will-size-to-the-smallest-div/241851)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 6, 2015, 6:44pm UTC](https://www.ruby-forum.com/t/jquery-to-center-form-with-multiple-hidden-divs-js-will-size-to-the-smallest-div/241851 "2015-05-06T18:44:43Z")

</div>

On my site I guess I have about 20 forms, four of which have multiple hidden divs within the forms of varying sizes. For all of my forms the following works, but for those with the multiple divs… it sizes height to th…

---

## [How to get one time the ,](https://www.ruby-forum.com/t/how-to-get-one-time-the/230254)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 6, 2014, 4:37pm UTC](https://www.ruby-forum.com/t/how-to-get-one-time-the/230254 "2014-06-06T16:37:47Z")

</div>

Hello, I have this : def solution(pairs) pairs.each {|key, value| print “#{key} = #{value}” } end when I do solution({a: 1, b: ‘2’}) I see a = 1 b = 2 when I change the pairs to this pairs.each {|key, value| prin…

---

## [Assign content seize by a user in a variable](https://www.ruby-forum.com/t/assign-content-seize-by-a-user-in-a-variable/230144)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 2, 2014, 3:41pm UTC](https://www.ruby-forum.com/t/assign-content-seize-by-a-user-in-a-variable/230144 "2014-06-02T15:41:09Z")

</div>

My question is maybe silly but I have a text\_field\_tag define like this in my code: \<%= text\_field\_tag(“repcarte”, @reperecarte ,:class =\> “input colonnetab”)%\> Using this I thought that when in my application I will…

---

## [Style for accessing instance vars](https://www.ruby-forum.com/t/style-for-accessing-instance-vars/238364)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [January 9, 2014, 1:27pm UTC](https://www.ruby-forum.com/t/style-for-accessing-instance-vars/238364 "2014-01-09T13:27:45Z")

</div>

Hello everybody, Given this simple class: class Person attr\_reader :age, :gender, :sex def initialize(age, gender, location) @age = age @gender = gender @location = location end end What’s the preferred method…

---

## [Serif version 0.3.1 released](https://www.ruby-forum.com/t/serif-version-0-3-1-released/227257)

<div class="topic-metadata">

**Author:** [@tcm614ce](https://www.ruby-forum.com/u/tcm614ce)\
**Replies:** 4\
**Last updated:** [March 12, 2013, 2:14pm UTC](https://www.ruby-forum.com/t/serif-version-0-3-1-released/227257 "2013-03-12T14:14:40Z")

</div>

Serif is a file-based blogging engine with an optional admin interface that aims to provide simplicity and flexibility. Project homepage: GitHub - aprescott/serif: Serif is a static site generator and blogging system p…

---

## [Perceived poor performance](https://www.ruby-forum.com/t/perceived-poor-performance/225525)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 14, 2013, 1:20am UTC](https://www.ruby-forum.com/t/perceived-poor-performance/225525 "2013-01-14T01:20:36Z")

</div>

I don’t know if this actually IS poor performance - it just feels like it. I’m running nginx and php-fpm on a VirtualBox virtual server. No other services are running (other than the standard Ubuntu Precise minor ite…

---

## [Facing problem to start rails server on my windows machine](https://www.ruby-forum.com/t/facing-problem-to-start-rails-server-on-my-windows-machine/223525)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 9, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/facing-problem-to-start-rails-server-on-my-windows-machine/223525 "2012-10-09T15:10:44Z")

</div>

https://lh6.googleusercontent.com/-KqqDlzBorD4/UHLw9UzmO9I/AAAAAAAAABs/-v1fjNy8veE/s1600/2012-10-08\_204820.png Hi, I am samir…a newbee to ROR.I cannot start the local server on my windows 7 machine by “rails server” co…

---

## [Aiuto con Rails](https://www.ruby-forum.com/t/aiuto-con-rails/217842)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 14, 2012, 4:58pm UTC](https://www.ruby-forum.com/t/aiuto-con-rails/217842 "2012-03-14T16:58:21Z")

</div>

Buongiorno a tutti, intanto spero di scrivere nel posto giusto se ho sbagliato mi scuso, premetto che sono nuovo del mondo ruby e del mondo rails, ma sono rimasto affascinato dalla semplice potenza di ruby. Per inizia…

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

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