# Top

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

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

---

## [Tag Offset Counter](https://www.ruby-forum.com/t/tag-offset-counter/242568)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [July 3, 2015, 7:54am UTC](https://www.ruby-forum.com/t/tag-offset-counter/242568 "2015-07-03T07:54:46Z")

</div>

Is there a way to access the counter used to give tag offsets for debug purposes without using tags? I’d like to be able to print item number when I’m not using tags. Rich

---

## [Ngx\_cache\_purge not found](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 4, 2013, 1:34pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345 "2013-10-04T13:34:24Z")

</div>

Hi there, I tried to use ngx\_cache\_purge with the configuration below location ~ /purge(/.\*) { allow 127.0.0.1; deny all; proxy\_cache\_purge one backend$request\_uri; } location ~\* ^.+\\.(css|js)$ { proxy\_pass …

---

## [Fading channel in GNURadio](https://www.ruby-forum.com/t/fading-channel-in-gnuradio/227626)

<div class="topic-metadata">

**Author:** [@Manu\_T\_S](https://www.ruby-forum.com/u/Manu_T_S)\
**Replies:** 2\
**Last updated:** [March 22, 2013, 10:41am UTC](https://www.ruby-forum.com/t/fading-channel-in-gnuradio/227626 "2013-03-22T10:41:15Z")

</div>

I’m trying to make a block for fading channel model using hierarchical block. class channel(gr.hier\_block2): def init(self): gr.hier\_block2.init(self, “channel”, gr.io\_signature(1, 1, gr.sizeof\_float), gr.io\_signat…

---

## [Help me with Method Entry of Gtk](https://www.ruby-forum.com/t/help-me-with-method-entry-of-gtk/226558)

<div class="topic-metadata">

**Author:** [@soyoh](https://www.ruby-forum.com/u/soyoh)\
**Replies:** 2\
**Last updated:** [December 16, 2012, 7:58am UTC](https://www.ruby-forum.com/t/help-me-with-method-entry-of-gtk/226558 "2012-12-16T07:58:51Z")

</div>

I’m a Ruby N. trying to do a App, where user log on, when the users will write their password only show \*, I’ve been used invisible\_char but when compiled it, I shows a error set\_invisible\_char’: wrong number of argum…

---

## [\[ANN\] ruboto-core 0.3.1 released!](https://www.ruby-forum.com/t/ann-ruboto-core-0-3-1-released/210804)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 17, 2011, 10:37pm UTC](https://www.ruby-forum.com/t/ann-ruboto-core-0-3-1-released/210804 "2011-08-17T22:37:17Z")

</div>

The Ruboto team is proud to announce the release of ruboto-core 0.3.1. ruboto-core is a framework for writing full Android apps in Ruby. It includes support libraries and generators for creating projects, classes, tes…

---

## [Question about installation: No UHD Devices Found](https://www.ruby-forum.com/t/question-about-installation-no-uhd-devices-found/209143)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 6, 2011, 9:28pm UTC](https://www.ruby-forum.com/t/question-about-installation-no-uhd-devices-found/209143 "2011-07-06T21:28:33Z")

</div>

Dear all, I am trying to install UHD+GNU Radio in Linux (Ubuntu 10.10) on USRP N200 without DB by following the command: git clone git://code.ettus.com/ettus/uhd.git cd /host mkdir build cd build cmake p { margin…

---

## [\[Ruby 1.9 - Bug #4931\]\[Open\] debug.rbでvarコマンドを実行するとTypeErrorで落ちる](https://www.ruby-forum.com/t/ruby-1-9-bug-4931-open-debug-rb-var-typeerror/208763)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 28, 2011, 1:57pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4931-open-debug-rb-var-typeerror/208763 "2011-06-28T13:57:01Z")

</div>

Issue #4931 has been reported by Kazuki Tsujimoto. Bug #4931: debug.rbでvarコマンドを実行するとTypeErrorで落ちる Author: Kazuki Tsujimoto Status: Open Priority: Normal Assignee: Category: lib Target version: ruby -v: ruby 1.9…

---

## [Installing rspec 2 for Rails 3](https://www.ruby-forum.com/t/installing-rspec-2-for-rails-3/201645)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 12, 2011, 1:33pm UTC](https://www.ruby-forum.com/t/installing-rspec-2-for-rails-3/201645 "2011-01-12T13:33:08Z")

</div>

Hi, I have successfully installed rspec 2 for Rails 3 by visiting the following link In this post it is mentioned taht when i do “rails g rspec:install” then it should install exist lib create lib/tasks/rspec.r…

---

## [Windows Build environment -- Cygwin or MinGW?](https://www.ruby-forum.com/t/windows-build-environment-cygwin-or-mingw/199906)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 1, 2010, 6:24pm UTC](https://www.ruby-forum.com/t/windows-build-environment-cygwin-or-mingw/199906 "2010-12-01T18:24:56Z")

</div>

I’d like to get started building GNURadio for Windows, using the USRP 1, with the goal of writing some custom blocks. Do people prefer Cygwin or MinGW style installations? Off the cuff, Cygwin looks more straightforwa…

---

## [I have a problem with the inheritance of a Gtk::Dialog class](https://www.ruby-forum.com/t/i-have-a-problem-with-the-inheritance-of-a-gtk-dialog-class/175297)

<div class="topic-metadata">

**Author:** [@Martin\_Sarapik](https://www.ruby-forum.com/u/Martin_Sarapik)\
**Replies:** 2\
**Last updated:** [September 11, 2009, 12:53am UTC](https://www.ruby-forum.com/t/i-have-a-problem-with-the-inheritance-of-a-gtk-dialog-class/175297 "2009-09-11T00:53:33Z")

</div>

Hi, I’m trying to call a super method, but for some reason it requires hash instead of a string. All information: http://pastie.org/612549 Martin S

---

## [Tomcat cluster behind nginx: avoiding delays while restarting tomcat](https://www.ruby-forum.com/t/tomcat-cluster-behind-nginx-avoiding-delays-while-restarting-tomcat/168907)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 2\
**Last updated:** [June 10, 2009, 7:50pm UTC](https://www.ruby-forum.com/t/tomcat-cluster-behind-nginx-avoiding-delays-while-restarting-tomcat/168907 "2009-06-10T19:50:52Z")

</div>

We run a tomcat cluster behind nginx with the upstream module. Nginx fits our requirements well for load balancing and failover, except for in one case. When starting or restarting tomcat, our web application takes a…

---

## [The effect of FUSB\_BLOCK\_SIZE and FUSB\_NBLOCKS](https://www.ruby-forum.com/t/the-effect-of-fusb-block-size-and-fusb-nblocks/161948)

<div class="topic-metadata">

**Author:** [@Yong\_JSChang](https://www.ruby-forum.com/u/Yong_JSChang)\
**Replies:** 2\
**Last updated:** [March 4, 2009, 3:40pm UTC](https://www.ruby-forum.com/t/the-effect-of-fusb-block-size-and-fusb-nblocks/161948 "2009-03-04T15:40:22Z")

</div>

Hi all, Now I’m working on measuring Round Trip Time ( FPGA(RXFIFO)-\>USB-\>PC-\>USB-\>FPGA(TXFIFO) ). Since I’m using 128kbps bitrate and 10 samples per symbol, sample rate is 1.28Msps. And I do not give any options a…

---

## [Modifier la classe Date](https://www.ruby-forum.com/t/modifier-la-classe-date/152842)

<div class="topic-metadata">

**Author:** [@ebougerolle](https://www.ruby-forum.com/u/ebougerolle)\
**Replies:** 2\
**Last updated:** [November 9, 2008, 1:00am UTC](https://www.ruby-forum.com/t/modifier-la-classe-date/152842 "2008-11-09T01:00:47Z")

</div>

Salut, Je suis en train de bosser sur une petite appli qui affiche un calendrier, et à cette occasion j’ai eu besoin d’ajouter quelques fonctions à la classe Date. J’ai donc ajouté un fichier date.rb dans config/init…

---

## [Flash internationalisierung](https://www.ruby-forum.com/t/flash-internationalisierung/132795)

<div class="topic-metadata">

**Author:** [@Manuel\_W](https://www.ruby-forum.com/u/Manuel_W)\
**Replies:** 2\
**Last updated:** [March 27, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/flash-internationalisierung/132795 "2008-03-27T13:18:04Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo! Wie geht ihr denn an das Thema flash internationalisierung ran? gibt es da eine Lösung? Ich finde eh, dass diese ganze flash Sache in den Controllern nicht so wi…

---

## [ActiveRecord :conditions syntax errors](https://www.ruby-forum.com/t/activerecord-conditions-syntax-errors/131835)

<div class="topic-metadata">

**Author:** [@jeremy](https://www.ruby-forum.com/u/jeremy)\
**Replies:** 2\
**Last updated:** [March 13, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/activerecord-conditions-syntax-errors/131835 "2008-03-13T18:42:24Z")

</div>

Having trouble when I try to add a second condition to find. I’ve tried search and referencing ActiveRecord::Base, but not seeing a clear answer on my syntax. Working code: def cc\_class\_six @products = Product.find…

---

## [Sentencia Sql](https://www.ruby-forum.com/t/sentencia-sql/128002)

<div class="topic-metadata">

**Author:** [@Santiago\_Y](https://www.ruby-forum.com/u/Santiago_Y)\
**Replies:** 2\
**Last updated:** [February 4, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/sentencia-sql/128002 "2008-02-04T16:52:05Z")

</div>

Hola amigos… quisiera saber si en un controlador podria hace una consulta SQL…?? ya que no se si RoR tiene la opciónes como EXISTS y otros que si las tiene las Sql… O si existe alguna forma de hace netamente en RoR un…

---

## [Radius tag from rails helper?](https://www.ruby-forum.com/t/radius-tag-from-rails-helper/126702)

<div class="topic-metadata">

**Author:** [@Mariano\_Viola](https://www.ruby-forum.com/u/Mariano_Viola)\
**Replies:** 2\
**Last updated:** [January 21, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/radius-tag-from-rails-helper/126702 "2008-01-21T16:33:05Z")

</div>

Hi all, I’ve created an extension that use the rails “paginating find” plugin “Welcome cardboardrocket.com - BlueHost.com” and it work well on the controller side. But at this point can I create a radius tag that wra…

---

## [How to call javascript function in RJS?](https://www.ruby-forum.com/t/how-to-call-javascript-function-in-rjs/110343)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 2\
**Last updated:** [July 25, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/how-to-call-javascript-function-in-rjs/110343 "2007-07-25T16:22:12Z")

</div>

Hi, I have a javascript function in an included javascript file. How can I call a function in this file from within an rjs template? Thanks Scott

---

## [Re: Execute shell command from Rails](https://www.ruby-forum.com/t/re-execute-shell-command-from-rails/83088)

<div class="topic-metadata">

**Author:** [@piet](https://www.ruby-forum.com/u/piet)\
**Replies:** 2\
**Last updated:** [January 23, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/re-execute-shell-command-from-rails/83088 "2007-01-23T18:11:27Z")

</div>

Hi Chuong, I’ve used ‘open3’ http://www.ruby-doc.org/stdlib/libdoc/open3/rdoc/index.html repeatedly with succes. (used open3 because I needed stdout and stderr) Piet. From: removed\_email\_address@domain.invalid \[m…

---

## [Rdoc gem with hoe troubles](https://www.ruby-forum.com/t/rdoc-gem-with-hoe-troubles/81487)

<div class="topic-metadata">

**Author:** [@Paolo\_N](https://www.ruby-forum.com/u/Paolo_N)\
**Replies:** 2\
**Last updated:** [January 9, 2007, 5:53pm UTC](https://www.ruby-forum.com/t/rdoc-gem-with-hoe-troubles/81487 "2007-01-09T17:53:13Z")

</div>

Hi I’m working on a new gem which is pretty much ready to be released. I’m using hoe to manage it but I can’t get the rdoc task to include my README.txt as a doc index and the generated rdocs are not providing the \[s…

---

## [Problem with an AJAX drop-down menu](https://www.ruby-forum.com/t/problem-with-an-ajax-drop-down-menu/87801)

<div class="topic-metadata">

**Author:** [@foxxbat](https://www.ruby-forum.com/u/foxxbat)\
**Replies:** 2\
**Last updated:** [March 27, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/problem-with-an-ajax-drop-down-menu/87801 "2006-03-27T20:09:10Z")

</div>

Hi everyone, I’m currently playing with ruby on rails, and I was trying to build a form with limited AJAX functionalities… So here is my problem : I want to create a form in order to allow visitors to choose a car ma…

---

## [File.new raise an exception?](https://www.ruby-forum.com/t/file-new-raise-an-exception/87326)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Bo](https://www.ruby-forum.com/u/Jean-FranSSSSois_Bo)\
**Replies:** 2\
**Last updated:** [March 26, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/file-new-raise-an-exception/87326 "2006-03-26T18:58:19Z")

</div>

Hello, I’m pretty new to ruby and I’ve written some code to parse apache logs, it works but now I want to store the result in a file. The problem is as follow (using irb) irb(main):001:0\> foo = File.open(“test”) Err…

---

## [Nginx VPS based?](https://www.ruby-forum.com/t/nginx-vps-based/241223)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 19, 2014, 2:53pm UTC](https://www.ruby-forum.com/t/nginx-vps-based/241223 "2014-05-19T14:53:55Z")

</div>

Hello For internal purpose ( students projects ) I need to create several VPS LAMP like but running under nginx It needs PHP, MYSQL + LDAP auth I need to have one VPS per project but running on the same nginx instan…

---

## [GStreamer error](https://www.ruby-forum.com/t/gstreamer-error/246204)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [September 13, 2013, 7:25am UTC](https://www.ruby-forum.com/t/gstreamer-error/246204 "2013-09-13T07:25:12Z")

</div>

Hi guys, I have a problem regarding one of my projects. It’s a decision based story - the audio version. It stopped working and I can’t pinpoint the cause. The code is here: \[1\] The error is this: princ\_audio.rb:34:…

---

## [Enforce https for every page](https://www.ruby-forum.com/t/enforce-https-for-every-page/228320)

<div class="topic-metadata">

**Author:** [@Gianpiero\_Venditti](https://www.ruby-forum.com/u/Gianpiero_Venditti)\
**Replies:** 4\
**Last updated:** [April 23, 2013, 2:17pm UTC](https://www.ruby-forum.com/t/enforce-https-for-every-page/228320 "2013-04-23T14:17:28Z")

</div>

Hello everybody, i’m using ruby 1.8.6 and rails 1.1.6 for my web app. My app is accessible both in http and https but i would like to enforce https only even when the user try to access using http only. I tried a lot …

---

## [JRuby's Google Summer of Code 2013!](https://www.ruby-forum.com/t/jrubys-google-summer-of-code-2013/228100)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 4\
**Last updated:** [April 9, 2013, 10:00pm UTC](https://www.ruby-forum.com/t/jrubys-google-summer-of-code-2013/228100 "2013-04-09T22:00:33Z")

</div>

Hello, friends! I’m pleased to announce that JRuby will be participating in this year’s Google Summer of Code! We’re looking for students and mentors to help work on JRuby (and Ruby) related projects (and get paid doi…

---

## [Reorganization and restructuring on 3.6 (master) and 3.7 (next) branches](https://www.ruby-forum.com/t/reorganization-and-restructuring-on-3-6-master-and-3-7-next-branches/219440)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 3, 2012, 6:11am UTC](https://www.ruby-forum.com/t/reorganization-and-restructuring-on-3-6-master-and-3-7-next-branches/219440 "2012-05-03T06:11:51Z")

</div>

Some of you may have noticed recent check-ins that have added new top-level components (like gr-fft), or duplication of blocks (such as into gr-digital.) I’d like to explain the master plan Tom and I are working from…

---

## [Ruby on Rails Equality](https://www.ruby-forum.com/t/ruby-on-rails-equality/216537)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 7, 2012, 8:38pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-equality/216537 "2012-02-07T20:38:11Z")

</div>

Hi all, Just wondering about equality in rails for access to certain features such as the following. I have a table for games and all users are able to click on the show button to display the actual record. On the sh…

---

## [Beginner issue - databases reference](https://www.ruby-forum.com/t/beginner-issue-databases-reference/212093)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 22, 2011, 9:00am UTC](https://www.ruby-forum.com/t/beginner-issue-databases-reference/212093 "2011-09-22T09:00:06Z")

</div>

Hi, I have teo databases. One is called products, the other categories. Basically, I have products and they are linked to a category. Scheme : products : name:string category:references (?) comments:text categori…

---

## [\[Assigned\]tests of rexml/rss reports many errors and failures without iconv](https://www.ruby-forum.com/t/assigned-tests-of-rexml-rss-reports-many-errors-and-failures-without-iconv/204013)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 3, 2011, 11:26am UTC](https://www.ruby-forum.com/t/assigned-tests-of-rexml-rss-reports-many-errors-and-failures-without-iconv/204013 "2011-03-03T11:26:22Z")

</div>

Issue #3990 has been updated by Yui NARUSE. Status changed from Closed to Assigned なので、時間がないということであれば、巻き戻すということでOK です。お手数ですが、巻き戻してもらえますか？ とりあえずrevertしておきました。 まだ#encodingはEncodingを返すのでOKだと思っているのですが REXML::XMLDec…

---

## [OFDM modulator and pilots](https://www.ruby-forum.com/t/ofdm-modulator-and-pilots/193060)

<div class="topic-metadata">

**Author:** [@Marcin\_Szelest](https://www.ruby-forum.com/u/Marcin_Szelest)\
**Replies:** 4\
**Last updated:** [August 27, 2010, 9:22pm UTC](https://www.ruby-forum.com/t/ofdm-modulator-and-pilots/193060 "2010-08-27T21:22:34Z")

</div>

Hello, I’m trying to add pilots to an OFDM modulation, is it possible with OFDM\_mod block? How I can “boost” energy of pilot in OFDM signal? Regards, Marcin http://szelest.org

---

## [UHD: simple\_usrp and resize buffer](https://www.ruby-forum.com/t/uhd-simple-usrp-and-resize-buffer/190262)

<div class="topic-metadata">

**Author:** [@Damien\_S](https://www.ruby-forum.com/u/Damien_S)\
**Replies:** 4\
**Last updated:** [June 27, 2010, 8:35am UTC](https://www.ruby-forum.com/t/uhd-simple-usrp-and-resize-buffer/190262 "2010-06-27T08:35:24Z")

</div>

Hi all, Since a few days, i’m trying to use UHD with USRP2/WBX under Windows Vista Pro 64 bits. The rx\_timed\_samples example seems to work but it’s impossible to change the recv\_buff\_size and is really problematic s…

---

## [Get browser name and version](https://www.ruby-forum.com/t/get-browser-name-and-version/187883)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 4\
**Last updated:** [May 15, 2010, 10:43pm UTC](https://www.ruby-forum.com/t/get-browser-name-and-version/187883 "2010-05-15T22:43:27Z")

</div>

Hello I want get the browser name and version using ruby. I have tried system command and wmi gem but to no avail. Thanks in advance. MC

---

## [Calculating an array of dates](https://www.ruby-forum.com/t/calculating-an-array-of-dates/171890)

<div class="topic-metadata">

**Author:** [@epasquier](https://www.ruby-forum.com/u/epasquier)\
**Replies:** 4\
**Last updated:** [July 13, 2009, 7:28pm UTC](https://www.ruby-forum.com/t/calculating-an-array-of-dates/171890 "2009-07-13T19:28:20Z")

</div>

I have the following test script. My objective is to have an array of dates between this week’s Thursday and some date in the past that I get out of a call to a database. You can see the output below which is not wh…

---

## [Studying the object model](https://www.ruby-forum.com/t/studying-the-object-model/158874)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 4\
**Last updated:** [January 29, 2009, 6:14am UTC](https://www.ruby-forum.com/t/studying-the-object-model/158874 "2009-01-29T06:14:12Z")

</div>

I’m looking for some study aid. I want to understand Ruby’s object model better. Is there some tool that takes some object as input and shows its inheritance chain, it’s instance and class variables, the singleton cl…

---

## [Changing primary.. Rails/mysql](https://www.ruby-forum.com/t/changing-primary-rails-mysql/155003)

<div class="topic-metadata">

**Author:** [@den1jay](https://www.ruby-forum.com/u/den1jay)\
**Replies:** 4\
**Last updated:** [December 6, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/changing-primary-rails-mysql/155003 "2008-12-06T16:30:56Z")

</div>

I am using Rails 2.0.2 with mysql database Migrate sets the primary key to id. Is it possible to change it to another column? If yes, how? Thanks for your help Cypray.

---

## [Problem with date](https://www.ruby-forum.com/t/problem-with-date/154964)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 4\
**Last updated:** [December 5, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/problem-with-date/154964 "2008-12-05T18:21:07Z")

</div>

Hi, first and foremost sorry for my english. I have a pbroblem trying to built a search by data. My view is a simple text\_field: \<% form\_tag ({:action =\>‘buscadata’},{:class =\> ‘lgn’}) do%\> \<%= stylesheet\_link\_tag…

---

## [Rails API best practices](https://www.ruby-forum.com/t/rails-api-best-practices/150571)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 4\
**Last updated:** [October 10, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/rails-api-best-practices/150571 "2008-10-10T20:43:36Z")

</div>

Hi, Is there a book or screencast or documentation that provides best practices for creating an API for a RoR application? I have to build an API from scratch and I have no idea where to start. – M.

---

## [Is there an elegant way to map column names](https://www.ruby-forum.com/t/is-there-an-elegant-way-to-map-column-names/143395)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 4\
**Last updated:** [July 19, 2008, 3:05am UTC](https://www.ruby-forum.com/t/is-there-an-elegant-way-to-map-column-names/143395 "2008-07-19T03:05:54Z")

</div>

I have been searching high and low but I can’t find an elegant way to map database column names to model names. The idea is simple if I have a column named ‘CUSTOM\_5’ I want this to show up as "favorite\_pet’. So far…

---

## [What is the RDoc on File talking about?](https://www.ruby-forum.com/t/what-is-the-rdoc-on-file-talking-about/133570)

<div class="topic-metadata">

**Author:** [@ole](https://www.ruby-forum.com/u/ole)\
**Replies:** 4\
**Last updated:** [April 1, 2008, 10:05pm UTC](https://www.ruby-forum.com/t/what-is-the-rdoc-on-file-talking-about/133570 "2008-04-01T22:05:29Z")

</div>

This really confused me - why is the RDoc for the file class talking about ftools.rb right at the top? http://www.ruby-doc.org/core/classes/File.html Surely the File class is in the standard library and most people ju…

---

## [Taking the RoR plunge](https://www.ruby-forum.com/t/taking-the-ror-plunge/122535)

<div class="topic-metadata">

**Author:** [@jason\_white](https://www.ruby-forum.com/u/jason_white)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 2:27am UTC](https://www.ruby-forum.com/t/taking-the-ror-plunge/122535 "2007-12-10T02:27:00Z")

</div>

I’ve been programming with .Net for awhile now. Last fall i attended the Lone Star Ruby Conference, and ever since then i have been thinking of devoting all of my efforts to learning Ruby and Ruby on Rails. The big qu…

---

## [Eccezioni generabili da un/a particolare metodo/classe](https://www.ruby-forum.com/t/eccezioni-generabili-da-un-a-particolare-metodo-classe/118778)

<div class="topic-metadata">

**Author:** [@lucapette](https://www.ruby-forum.com/u/lucapette)\
**Replies:** 4\
**Last updated:** [October 30, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/eccezioni-generabili-da-un-a-particolare-metodo-classe/118778 "2007-10-30T23:09:08Z")

</div>

Salve a tutti, Allora, credo di avere un problema semplice… vorrei capire come cercare informazioni su quali sono le eccezioni che un metodo di una classe puÃ² generare. Per esempio, sto imparando a utilizzare la clas…

---

## [How to install gsl in windows OS](https://www.ruby-forum.com/t/how-to-install-gsl-in-windows-os/118056)

<div class="topic-metadata">

**Author:** [@smeitei](https://www.ruby-forum.com/u/smeitei)\
**Replies:** 4\
**Last updated:** [October 23, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/how-to-install-gsl-in-windows-os/118056 "2007-10-23T18:39:53Z")

</div>

Help me in installing “gsl” in windows OS

---

## [A ruby-esque "split" that respects word groups](https://www.ruby-forum.com/t/a-ruby-esque-split-that-respects-word-groups/114628)

<div class="topic-metadata">

**Author:** [@Kenosis](https://www.ruby-forum.com/u/Kenosis)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/a-ruby-esque-split-that-respects-word-groups/114628 "2007-09-25T23:05:44Z")

</div>

Greetings friends, I wondering if anyone here has some Ruby-fu they can share with WRT for following problem. I’ve toyed with this today and don’t like my solution so I thought I’d run it by y’all. In summary, suppo…

---

## [Completely un-understandable behavior in a simple Model](https://www.ruby-forum.com/t/completely-un-understandable-behavior-in-a-simple-model/111918)

<div class="topic-metadata">

**Author:** [@KSRajesh](https://www.ruby-forum.com/u/KSRajesh)\
**Replies:** 4\
**Last updated:** [August 18, 2007, 9:13am UTC](https://www.ruby-forum.com/t/completely-un-understandable-behavior-in-a-simple-model/111918 "2007-08-18T09:13:27Z")

</div>

Hi, I have been working on RoR for about 8 months now. I have 3 websites live and running well on RoR using all sorts of inter-table relationships (has\_many, HABTM, has\_many, :through -= you name it). It is in this b…

---

## [Repairing migrations](https://www.ruby-forum.com/t/repairing-migrations/109881)

<div class="topic-metadata">

**Author:** [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Replies:** 4\
**Last updated:** [August 11, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/repairing-migrations/109881 "2007-08-11T12:00:21Z")

</div>

So occassionally my migrations go…uh… off the rails. One of them fails, and then I start getting errors about fields already existing, etc. Or I make some changes to a database by hand, and then need to bring the migr…

---

## [SQLite3/AR failing to increment PK on habtm table](https://www.ruby-forum.com/t/sqlite3-ar-failing-to-increment-pk-on-habtm-table/105001)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [May 25, 2007, 8:23pm UTC](https://www.ruby-forum.com/t/sqlite3-ar-failing-to-increment-pk-on-habtm-table/105001 "2007-05-25T20:23:30Z")

</div>

SUMMARY Rails is generating SQL for a habtm insert that isn’t properly incrementing the primary key on my habtm table. DETAILS I have a Story model like this: class Story \< ActiveRecord::Base has\_and\_belongs\_to\_man…

---

## [Simple thing in PHP, a braincracker for me in Ruby](https://www.ruby-forum.com/t/simple-thing-in-php-a-braincracker-for-me-in-ruby/104391)

<div class="topic-metadata">

**Author:** [@Reinier\_L](https://www.ruby-forum.com/u/Reinier_L)\
**Replies:** 4\
**Last updated:** [May 17, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/simple-thing-in-php-a-braincracker-for-me-in-ruby/104391 "2007-05-17T20:05:30Z")

</div>

Hi, I have a PHP background, and learning Ruby is great fun. I want to build a mini app that I already have in PHP to Ruby. It’s a personal planner, where I plan days (the days are chopped in three pieces 09:00 12:0…

---

## [Collegamento ruby con database mysql](https://www.ruby-forum.com/t/collegamento-ruby-con-database-mysql/91743)

<div class="topic-metadata">

**Author:** [@guerra](https://www.ruby-forum.com/u/guerra)\
**Replies:** 4\
**Last updated:** [April 14, 2007, 11:09am UTC](https://www.ruby-forum.com/t/collegamento-ruby-con-database-mysql/91743 "2007-04-14T11:09:45Z")

</div>

Ho installato ruby su un pc con windows xp ed ho provato ad installare la gemma mysql per connettermi al database mysql 4.1.11. Il programmino e’ questo: require ‘tk’ require ‘mysql’ #classi class FinestraAvvio de…

---

## [Observer y estado anterior del objeto](https://www.ruby-forum.com/t/observer-y-estado-anterior-del-objeto/86866)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 4\
**Last updated:** [February 27, 2007, 12:23pm UTC](https://www.ruby-forum.com/t/observer-y-estado-anterior-del-objeto/86866 "2007-02-27T12:23:33Z")

</div>

Hola, Estoy utilizando observers para realizar tareas que se repiten en los procesos de actualización. Mi problemilla es que a veces tengo que hacer comparaciones con el estado anterior del objeto, para lo cual siem…

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

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