# Top

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

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

---

## [Hosting Companies](https://www.ruby-forum.com/t/hosting-companies/90359)

<div class="topic-metadata">

**Author:** [@Ruben\_DSOrduz](https://www.ruby-forum.com/u/Ruben_DSOrduz)\
**Replies:** 7\
**Last updated:** [March 29, 2007, 5:46am UTC](https://www.ruby-forum.com/t/hosting-companies/90359 "2007-03-29T05:46:11Z")

</div>

Hello folks, I recently signed a customer and they were terrified to know that their Rails app was going to be hosted on the hosting co whom with I do most biz (don’t wish to mention who they are). Now…I’ve heard Sli…

---

## [Give "gem install" options for "ruby extconf.rb"](https://www.ruby-forum.com/t/give-gem-install-options-for-ruby-extconf-rb/215879)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 18, 2012, 3:16pm UTC](https://www.ruby-forum.com/t/give-gem-install-options-for-ruby-extconf-rb/215879 "2012-01-18T15:16:33Z")

</div>

Hi! I’d like to install ruby-netcdf, but my netcdf-installation is in a non-standard directory. Is there any possibility to call gem install ruby-netcdf with additional options so that the extconf.rb is called with …

---

## [Rakefile and simplecov](https://www.ruby-forum.com/t/rakefile-and-simplecov/205904)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 18, 2011, 8:53pm UTC](https://www.ruby-forum.com/t/rakefile-and-simplecov/205904 "2011-04-18T20:53:12Z")

</div>

Content preview: Hi, I’ve a Rakefile generated by jeweler. It uses rcov default but that doesn’t properly work with 1.9 (I’m using 1.9.2), so I’d like to enable simplecov for my tests. I’ve used simplecov successful…

---

## [Trier un tableau (ruby)](https://www.ruby-forum.com/t/trier-un-tableau-ruby/154142)

<div class="topic-metadata">

**Author:** [@pierreva](https://www.ruby-forum.com/u/pierreva)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 1:03am UTC](https://www.ruby-forum.com/t/trier-un-tableau-ruby/154142 "2008-11-26T01:03:57Z")

</div>

Bonjour, J’aimerais pouvoir trier un tableau en précisant deux paramètres, comme par exemple MySql le fait avec ORDER BY parametre1, parametre2 C’est utile quand on a le risque que le parametre1 soit souvent le même …

---

## [Chop and chop!](https://www.ruby-forum.com/t/chop-and-chop/125372)

<div class="topic-metadata">

**Author:** [@johnsmith](https://www.ruby-forum.com/u/johnsmith)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/chop-and-chop/125372 "2008-01-08T17:56:06Z")

</div>

hi, i know for 99% of you this is a very basic question but i was wondering what the difference between chop and chop! commands are. thanks

---

## [Comparing Arrays](https://www.ruby-forum.com/t/comparing-arrays/186722)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 8\
**Last updated:** [May 16, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/comparing-arrays/186722 "2010-05-16T17:24:56Z")

</div>

Hello everyone, another easy question from a beginner: How do you create a method to compare two arrays so that if they share at least 1 common element it returns true? For example: a = %w(m w f) b = %w(m w) c = %w…

---

## [Specting controller post](https://www.ruby-forum.com/t/specting-controller-post/182756)

<div class="topic-metadata">

**Author:** [@Stephen\_S.stone](https://www.ruby-forum.com/u/Stephen_S.stone)\
**Replies:** 8\
**Last updated:** [February 2, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/specting-controller-post/182756 "2010-02-02T15:33:13Z")

</div>

rspec-users mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/rspec-users

---

## [Restricting user access to certain admin tabs](https://www.ruby-forum.com/t/restricting-user-access-to-certain-admin-tabs/118352)

<div class="topic-metadata">

**Author:** [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Replies:** 8\
**Last updated:** [October 27, 2007, 3:00am UTC](https://www.ruby-forum.com/t/restricting-user-access-to-certain-admin-tabs/118352 "2007-10-27T03:00:56Z")

</div>

Hey guys, Is there a quick and dirty way I can make a certain user type (say developer) have access to certain tabs in the admin? We have some custom extensions we made that we’d like to give a customer access to but…

---

## [Imagenes + relaciones + LOCURA!](https://www.ruby-forum.com/t/imagenes-relaciones-locura/82726)

<div class="topic-metadata">

**Author:** [@detox](https://www.ruby-forum.com/u/detox)\
**Replies:** 8\
**Last updated:** [January 23, 2007, 12:42am UTC](https://www.ruby-forum.com/t/imagenes-relaciones-locura/82726 "2007-01-23T00:42:25Z")

</div>

Hola!!! tengo una pequeÃ±a duda… tengo dos tablas en la base de datos, Imagenes y Productos, y producto tiene muchas imagenes e imagenes pertenece a productos, estoy usando ACT\_AS\_ATTACHMENT y no tengo niun problema p…

---

## [Using RMagick to extract IPTC data from JPEG file](https://www.ruby-forum.com/t/using-rmagick-to-extract-iptc-data-from-jpeg-file/71259)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy](https://www.ruby-forum.com/u/JSSSSrSSSSmy)\
**Replies:** 8\
**Last updated:** [February 22, 2006, 7:20pm UTC](https://www.ruby-forum.com/t/using-rmagick-to-extract-iptc-data-from-jpeg-file/71259 "2006-02-22T19:20:43Z")

</div>

Hi all, I’m relatively new to Ruby and RMagick. I want to extract IPTC information from JPEG files. Elements that I’ve already found are : From RMagick, iptc\_profile : RMagick 1.15.0: class Image (attribute methods) …

---

## [Retrieving value from @params](https://www.ruby-forum.com/t/retrieving-value-from-params/48525)

<div class="topic-metadata">

**Author:** [@shaun](https://www.ruby-forum.com/u/shaun)\
**Replies:** 8\
**Last updated:** [November 21, 2005, 11:03pm UTC](https://www.ruby-forum.com/t/retrieving-value-from-params/48525 "2005-11-21T23:03:15Z")

</div>

I’m recieving the error “You have a nil object when you didn’t expect it! The error occured while evaluating nil.each\_hash”, when trying to access a value from params. I’m trying to get the value with @c = @params\[‘…

---

## [Rewrite or return for simple redirection](https://www.ruby-forum.com/t/rewrite-or-return-for-simple-redirection/233178)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [November 24, 2014, 3:40pm UTC](https://www.ruby-forum.com/t/rewrite-or-return-for-simple-redirection/233178 "2014-11-24T15:40:02Z")

</div>

I am trying to understand which option would result in more efficient HTTP redirection. I am trying to redirect ^/address page to ^/contact page. Option 1: rewrite ^/address /contact permanent; Option 2: location ~…

---

## [Awesome Ruby](https://www.ruby-forum.com/t/awesome-ruby/230794)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 11, 2014, 7:05pm UTC](https://www.ruby-forum.com/t/awesome-ruby/230794 "2014-07-11T19:05:30Z")

</div>

Hi Rubysts! Inspired by other collections such as: awesome-php, awesome-python and frontend-dev-bookmarks. I started a similar list of awesome Ruby libraries, tools, frameworks and software. The goal is to build a we…

---

## [All workers in 'D' state using sendfile](https://www.ruby-forum.com/t/all-workers-in-d-state-using-sendfile/219701)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 29, 2012, 6:51am UTC](https://www.ruby-forum.com/t/all-workers-in-d-state-using-sendfile/219701 "2012-05-29T06:51:09Z")

</div>

Hello, I have tried to summarize this as much as possible but it’s still a lot of text. I apologize but wanted to make sure that I provide enough information to explain the issue properly. I’m hoping that somebody …

---

## [\[newbie\] error-Rahmen um selectboxes fehlen teilweise](https://www.ruby-forum.com/t/newbie-error-rahmen-um-selectboxes-fehlen-teilweise/116764)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 6\
**Last updated:** [January 30, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/newbie-error-rahmen-um-selectboxes-fehlen-teilweise/116764 "2008-01-30T17:31:07Z")

</div>

Hallo, ich bin noch ein wenig neu in der Liste und in Ruby on Rails, stehe aber gerade vor einem Problem, wo ich nicht weiter weiß: Ich habe zwei vers. Masken, mitdenen vers. Model-Obejekte angelegt werden sollen. F…

---

## [Ask About Framework-Nginx](https://www.ruby-forum.com/t/ask-about-framework-nginx/124274)

<div class="topic-metadata">

**Author:** [@dika](https://www.ruby-forum.com/u/dika)\
**Replies:** 6\
**Last updated:** [January 9, 2008, 12:43pm UTC](https://www.ruby-forum.com/t/ask-about-framework-nginx/124274 "2008-01-09T12:43:56Z")

</div>

Dear All, Im a System Admin from Indonesia. I have a little trouble with Engine-X (nginx). My server can recognize PHP & FCGI well, but a trouble appear when I use a FuseBox frame work in my server. I assume that th…

---

## [Reporting control/status responses for inband signaling?](https://www.ruby-forum.com/t/reporting-control-status-responses-for-inband-signaling/107732)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 6\
**Last updated:** [June 28, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/reporting-control-status-responses-for-inband-signaling/107732 "2007-06-28T19:43:10Z")

</div>

This is a perfect question for Eric, but unfortunately he is on vacation. So I’m hoping that maybe Brian or someone can answer who was involved in the initial design of the inband USB packets :slight\_smile: The way w…

---

## [HTTP/2 roadmap](https://www.ruby-forum.com/t/http-2-roadmap/244254)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [March 12, 2016, 2:10pm UTC](https://www.ruby-forum.com/t/http-2-roadmap/244254 "2016-03-12T14:10:02Z")

</div>

Hi, What’s the best place to find details on planned features for HTTP/2 support? I’ve only been looking at HTTP/2 for a few days, so forgive me if this is already covered. It seems pretty obvious to me that it pro…

---

## [Gzip does not work if Content-Type contain semicolon?](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [October 2, 2013, 5:39pm UTC](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353 "2013-10-02T17:39:35Z")

</div>

Hi, I have some serious troubles getting gzip to compress text/html and text/plain content. I’ve put a nginx as revproxy to Jenkins. Jenkins return headers like “Content-Type: text/plain;charset=UTF-8” and “Content-T…

---

## [The "chunkin" module: Experimental chunked input support for Nginx](https://www.ruby-forum.com/t/the-chunkin-module-experimental-chunked-input-support-for-nginx/178997)

<div class="topic-metadata">

**Author:** [@agentzh](https://www.ruby-forum.com/u/agentzh)\
**Replies:** 4\
**Last updated:** [November 17, 2009, 4:35am UTC](https://www.ruby-forum.com/t/the-chunkin-module-experimental-chunked-input-support-for-nginx/178997 "2009-11-17T04:35:37Z")

</div>

Hi, folks! Pushed by those cutting-edge users on the list, I’ve quickly worked out “chunkin” module which adds HTTP 1.1 chunked input support for Nginx without the need to patching the core: http://github.com/agentzh…

---

## [Problema raro con find y active record](https://www.ruby-forum.com/t/problema-raro-con-find-y-active-record/175575)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 4\
**Last updated:** [September 17, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/problema-raro-con-find-y-active-record/175575 "2009-09-17T18:38:08Z")

</div>

Hola, puede parecer una tonteria pero llevo tiempo dandole vueltas y no encuentro donde esta el error, es facil de explicar: tengo con controller que un metodo tiene las siguientes instrucciones: … … persona = Perso…

---

## [Comments Extension](https://www.ruby-forum.com/t/comments-extension/151308)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 4\
**Last updated:** [April 13, 2009, 2:55am UTC](https://www.ruby-forum.com/t/comments-extension/151308 "2009-04-13T02:55:44Z")

</div>

I’m just starting to use the comments extension and I followed the instructions that ere there in messages here and there and it works fine. (I’m going to compile it for Summer Reboot soon). There is just one thing th…

---

## [Error installing libxml](https://www.ruby-forum.com/t/error-installing-libxml/133163)

<div class="topic-metadata">

**Author:** [@mihai](https://www.ruby-forum.com/u/mihai)\
**Replies:** 4\
**Last updated:** [March 29, 2008, 12:11am UTC](https://www.ruby-forum.com/t/error-installing-libxml/133163 "2008-03-29T00:11:10Z")

</div>

i have this error: gem install libxml-ruby Building native extensions. This could take a while… ERROR: Error installing libxml-ruby: ERROR: Failed to build gem native extension. c:/ruby/bin/ruby.exe extconf.rb ins…

---

## [Syntax Float equality within epsilon](https://www.ruby-forum.com/t/syntax-float-equality-within-epsilon/120969)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 4\
**Last updated:** [November 23, 2007, 11:31am UTC](https://www.ruby-forum.com/t/syntax-float-equality-within-epsilon/120969 "2007-11-23T11:31:57Z")

</div>

i need to test float numbers within an epsilon, then i’ve extended the Float clas like that : class Float def ===( aFloat, eps = 1.0e-10) begin clazz = aFloat.class.to\_s raise “Argument “#{aFloat}” must be a Float …

---

## [Financial Information exchange (FIX) protocol and ruby](https://www.ruby-forum.com/t/financial-information-exchange-fix-protocol-and-ruby/104153)

<div class="topic-metadata">

**Author:** [@dima](https://www.ruby-forum.com/u/dima)\
**Replies:** 4\
**Last updated:** [May 16, 2007, 8:46am UTC](https://www.ruby-forum.com/t/financial-information-exchange-fix-protocol-and-ruby/104153 "2007-05-16T08:46:35Z")

</div>

Does anybody have worked with quickfix or any other Financial Information exchange (FIX) protocol library or engine using ruby? I am especially interested in engine that can be used on Linux and/or Windows operating s…

---

## [Ohloh.net](https://www.ruby-forum.com/t/ohloh-net/73029)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 4\
**Last updated:** [October 20, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/ohloh-net/73029 "2006-10-20T22:45:16Z")

</div>

http://www.ohloh.net/wiki/articles/php\_eats\_rails It’s an interesting article which I am posting here not to yank people’s chains and I think the graphs tell a story that the author can’t see - that Rails is still in …

---

## [Precondition Failed](https://www.ruby-forum.com/t/precondition-failed/64661)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:15pm UTC](https://www.ruby-forum.com/t/precondition-failed/64661 "2006-08-15T14:15:18Z")

</div>

Ok, this is beginning to irk me. On random occasions, when I’m creating a new page in Radiant, and I try to save the page, it will give me a white error page the says “Precondition Failed” at the top. What causes th…

---

## [Ruby Time - Sports Time](https://www.ruby-forum.com/t/ruby-time-sports-time/198610)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 4, 2010, 1:30pm UTC](https://www.ruby-forum.com/t/ruby-time-sports-time/198610 "2010-11-04T13:30:20Z")

</div>

Hi I am reading the time classes for Ruby. However I can’t figure out what time method would be best for sports times. I am referring to this link http://www.ruby.ch/ProgrammingRuby/htmlC/ref\_c\_time.html I want the ti…

---

## [Guard vs autotest (sinatra)](https://www.ruby-forum.com/t/guard-vs-autotest-sinatra/232843)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 31, 2014, 1:12am UTC](https://www.ruby-forum.com/t/guard-vs-autotest-sinatra/232843 "2014-10-31T01:12:34Z")

</div>

Hello, Which way to watch for file changes and launch rspec is faster, guard or autotest? My toolchain is vim + tmuxinator (tmux configuration utility). Once I launch ‘tmuxinator’ I have a vanilla window (browsing/ru…

---

## [\[ruby-trunk - Bug #8928\]\[Open\] instance variable defined?, instance variable get, instance\_variable\_](https://www.ruby-forum.com/t/ruby-trunk-bug-8928-open-instance-variable-defined-instance-variable-get-instance-variable/246253)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 5, 2014, 3:52pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8928-open-instance-variable-defined-instance-variable-get-instance-variable/246253 "2014-02-05T15:52:15Z")

</div>

Issue #8928 has been reported by kachick (Kenichi K.). Bug #8928: instance\_variable\_defined?, instance\_variable\_get, instance\_variable\_set へ インスタンス変数名として @, :@ を渡した時の挙動が、2.0以降で異なる。 Author: kachick (Kenichi K.) Stat…

---

## [VR::ComboCol/VR::CellRendererCombo and attaching to signals (or any other cellrenderers)](https://www.ruby-forum.com/t/vr-combocol-vr-cellrenderercombo-and-attaching-to-signals-or-any-other-cellrenderers/245390)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [May 26, 2013, 7:48pm UTC](https://www.ruby-forum.com/t/vr-combocol-vr-cellrenderercombo-and-attaching-to-signals-or-any-other-cellrenderers/245390 "2013-05-26T19:48:32Z")

</div>

Hi there I’m coding an app with visualruby and I love it, but sometimes the lack of documentation and knowledge/skills (on my side) gets me stuck. :slight\_smile: What I can’t seem to get past now is to attach some cod…

---

## [Dir.mkdir appending question mark after directory name](https://www.ruby-forum.com/t/dir-mkdir-appending-question-mark-after-directory-name/222465)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 29, 2012, 11:41am UTC](https://www.ruby-forum.com/t/dir-mkdir-appending-question-mark-after-directory-name/222465 "2012-08-29T11:41:14Z")

</div>

Hi all I´m starting to laern Ruby, but i´ve encountered this strange problem. This is my code: pname = gets pname.chomp Dir.mkdir(pname) If I enter test for pname, the resulting folder is named “test?”. What am I …

---

## [Cmake error if cppunit not installed](https://www.ruby-forum.com/t/cmake-error-if-cppunit-not-installed/221419)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [July 20, 2012, 1:31am UTC](https://www.ruby-forum.com/t/cmake-error-if-cppunit-not-installed/221419 "2012-07-20T01:31:16Z")

</div>

Greetings, Trying to run cmake on a Linux Mint 13 installation that doesn’t have cppunit leads to what looks like an unintentional error message: – Configuring gr-filter support… – Dependency ENABLE\_GRUEL = ON – …

---

## [Rspec error: \`inherited': You cannot have more than one Rails::Application (RuntimeError)](https://www.ruby-forum.com/t/rspec-error-inherited-you-cannot-have-more-than-one-rails-application-runtimeerror/211402)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 3, 2011, 4:29am UTC](https://www.ruby-forum.com/t/rspec-error-inherited-you-cannot-have-more-than-one-rails-application-runtimeerror/211402 "2011-09-03T04:29:57Z")

</div>

Some background: I set up my first rails app for testing with rspec, and everything worked fine: I could run tests, etc. Then I created a second rails app to play around with (and a third, fourth). But I can’t get te…

---

## [Help on rails 3.0.9 jquery ajax render html](https://www.ruby-forum.com/t/help-on-rails-3-0-9-jquery-ajax-render-html/209336)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 13, 2011, 12:12am UTC](https://www.ruby-forum.com/t/help-on-rails-3-0-9-jquery-ajax-render-html/209336 "2011-07-13T00:12:12Z")

</div>

HI I have a .js.erb file, like: (1) $(’#ajax-content’).html(" here to beigin “) (2) $(’#ajax-content’).append(” \<%= escape\_javascript( render :partial =\> ‘ajaxnewmsg’, :locals =\> { :privatemsg =\> @privatemsg } …

---

## [Cumulative sum using mysql/rails](https://www.ruby-forum.com/t/cumulative-sum-using-mysql-rails/186474)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [April 7, 2010, 5:19pm UTC](https://www.ruby-forum.com/t/cumulative-sum-using-mysql-rails/186474 "2010-04-07T17:19:31Z")

</div>

I’m having an issue generating a cumulative sum by month in rails. This is what I have: @results = Student.connection.select\_all(“SELECT x1.MonthNo , x1.MonthName , x1.Added , SUM(x2.Added) AS RunningTotal FROM …

---

## [Overriding model associations](https://www.ruby-forum.com/t/overriding-model-associations/116690)

<div class="topic-metadata">

**Author:** [@Sean\_Schofield](https://www.ruby-forum.com/u/Sean_Schofield)\
**Replies:** 3\
**Last updated:** [October 9, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/overriding-model-associations/116690 "2007-10-09T16:31:23Z")

</div>

I seem to recall reading that engines will not allow you to override your plugin models in the main application. Is that true? If so, is there a simple hack that would allow me to override an association? I have the…

---

## [Can you call multiple functions with onclick](https://www.ruby-forum.com/t/can-you-call-multiple-functions-with-onclick/84170)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 1:29am UTC](https://www.ruby-forum.com/t/can-you-call-multiple-functions-with-onclick/84170 "2007-02-02T01:29:37Z")

</div>

I have a radio button that I would like to call two functions with an onclick: one is a js function the other a remote function Can this be done and what is the correct syntax? js function call \<%= radio\_button\_tag ‘s…

---

## [Calculate the number of months difference between two dates](https://www.ruby-forum.com/t/calculate-the-number-of-months-difference-between-two-dates/190647)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 1\
**Last updated:** [June 24, 2010, 3:19pm UTC](https://www.ruby-forum.com/t/calculate-the-number-of-months-difference-between-two-dates/190647 "2010-06-24T15:19:03Z")

</div>

Please share if there any such easy methods in rails. I have dates like date1 = Date.today date2 = Date.today - 3.months (Example can be anything) Now how to get month difference as 3 (date1 - date2) Thanks fo…

---

## [Link\_to with span](https://www.ruby-forum.com/t/link-to-with-span/173926)

<div class="topic-metadata">

**Author:** [@pmckinstry](https://www.ruby-forum.com/u/pmckinstry)\
**Replies:** 1\
**Last updated:** [August 18, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/link-to-with-span/173926 "2009-08-18T16:40:23Z")

</div>

Hi there, I want to create a link with a ‘span’ inside such as Home I’m trying to do it so that it highlights the current navigation, using something I found online I have this. def section\_link(name,options) if op…

---

## [@@CONST versus CONST in class](https://www.ruby-forum.com/t/const-versus-const-in-class/251709)

<div class="topic-metadata">

**Author:** [@laurent06](https://www.ruby-forum.com/u/laurent06)\
**Replies:** 2\
**Last updated:** [January 23, 2019, 12:30am UTC](https://www.ruby-forum.com/t/const-versus-const-in-class/251709 "2019-01-23T00:30:25Z")

</div>

Hi, I always wonder what the difference is, and what is good practice to define a class (or module) constant: class X;MYCONT=1;end class X;@@MYCONT=1;end Thanks

---

## [Compile ruby files (.rb) to .class files which are compatible with older Java versions](https://www.ruby-forum.com/t/compile-ruby-files-rb-to-class-files-which-are-compatible-with-older-java-versions/239521)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 4, 2014, 7:54am UTC](https://www.ruby-forum.com/t/compile-ruby-files-rb-to-class-files-which-are-compatible-with-older-java-versions/239521 "2014-03-04T07:54:51Z")

</div>

In JRuby wiki page (JRubyCompiler · jruby/jruby Wiki · GitHub) is described how to compile ruby files (.rb) to .class files Is there any possibility to specify some flags in order to to generate class files which are …

---

## [Deploying from Windows: ruby 1.8 vs 1.9](https://www.ruby-forum.com/t/deploying-from-windows-ruby-1-8-vs-1-9/206972)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 20, 2013, 2:50pm UTC](https://www.ruby-forum.com/t/deploying-from-windows-ruby-1-8-vs-1-9/206972 "2013-02-20T14:50:07Z")

</div>

i once deployed one of my first rails apps from a Windows machine to a linux and found because of binary differences, there were obscure errors all over the place. I then switched to a mac. i’ve typed so much on macbo…

---

## [Meta tags via helper - assistance needed](https://www.ruby-forum.com/t/meta-tags-via-helper-assistance-needed/212923)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 18, 2011, 2:44pm UTC](https://www.ruby-forum.com/t/meta-tags-via-helper-assistance-needed/212923 "2011-10-18T14:44:16Z")

</div>

I am trying to generate meta tags based on the page. The meta\_block call in somepage.html.erb sets :meta\_block and it is correctly yielded in application.html.erb (except that only the last line is output). But when o…

---

## [God - start command exited with non-zero code = 1](https://www.ruby-forum.com/t/god-start-command-exited-with-non-zero-code-1/138067)

<div class="topic-metadata">

**Author:** [@arfon](https://www.ruby-forum.com/u/arfon)\
**Replies:** 2\
**Last updated:** [May 20, 2008, 10:41am UTC](https://www.ruby-forum.com/t/god-start-command-exited-with-non-zero-code-1/138067 "2008-05-20T10:41:02Z")

</div>

Hi, I’m trying to use god to monitor my mongrels. When they are running everything looks OK but when a mongrel process dies and god tries to restart it I get the following error: command exited with non-zero code = 1 …

---

## [Multiple file uploads?](https://www.ruby-forum.com/t/multiple-file-uploads/244775)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [June 20, 2016, 12:30am UTC](https://www.ruby-forum.com/t/multiple-file-uploads/244775 "2016-06-20T00:30:52Z")

</div>

Hi all, This is my first post, so I’ll start by just saying hello, as I imagine I will be spending a lot of time on this forum in the future. Any way, to my problem… I am trying to build the functionality to upload m…

---

## [Narrowband Tunnel.py Error](https://www.ruby-forum.com/t/narrowband-tunnel-py-error/231171)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 27, 2014, 5:03pm UTC](https://www.ruby-forum.com/t/narrowband-tunnel-py-error/231171 "2014-07-27T17:03:16Z")

</div>

I am currently running GNU Radio 3.7.4 and I am getting an error running the stock narrowband tunnel.py script. This is what I am getting: \[root@cobra narrowband\]# ./tunnel.py -f 146.0M -a addr=“10.2.8.104” linux; GNU…

---

## [Re: Class variables and deleting objects](https://www.ruby-forum.com/t/re-class-variables-and-deleting-objects/239327)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [February 23, 2014, 4:21pm UTC](https://www.ruby-forum.com/t/re-class-variables-and-deleting-objects/239327 "2014-02-23T16:21:50Z")

</div>

Paul R. wrote: I don’t see how the garbage collector would help. No? That’s exactly what it’s for. How would it know which objects were ‘dead’ and could be removed? There are many techniques, and it’s such a gen…

---

## [UHD Python API?](https://www.ruby-forum.com/t/uhd-python-api/212839)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [October 15, 2011, 12:12am UTC](https://www.ruby-forum.com/t/uhd-python-api/212839 "2011-10-15T00:12:16Z")

</div>

I’m not clear on this… if it’s in the UHD C++ API, does that automatically mean it’s available in the Python API through SWIG? The C++ API is fairly well documented but I haven’t found a good Python API reference. Th…

---

## [Sqlite 3 install error on Heroku, Rails 3.1](https://www.ruby-forum.com/t/sqlite-3-install-error-on-heroku-rails-3-1/210466)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 14, 2011, 1:06am UTC](https://www.ruby-forum.com/t/sqlite-3-install-error-on-heroku-rails-3-1/210466 "2011-08-14T01:06:42Z")

</div>

Hello Rails people. I tried to push a Rails 3.1 app ( created using cedar stack) to Heroku and I encountered the following error Installing sqlite3 (1.3.4) with native extensions Unfortunately, a fatal error has occu…

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

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