# Top

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

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

---

## [Detecting underflows with uhd\_usrp\_sink](https://www.ruby-forum.com/t/detecting-underflows-with-uhd-usrp-sink/235235)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 8, 2013, 9:10pm UTC](https://www.ruby-forum.com/t/detecting-underflows-with-uhd-usrp-sink/235235 "2013-06-08T21:10:08Z")

</div>

Hi, I’ve recently been working with a coded CW radar system that just loops over a fairly long IQ vector. It works all fine for a while, but after a few days, the transmission timing has drifted away from where it sho…

---

## [Reading RTF + Text File and pattern matching](https://www.ruby-forum.com/t/reading-rtf-text-file-and-pattern-matching/157513)

<div class="topic-metadata">

**Author:** [@prince\_tambar](https://www.ruby-forum.com/u/prince_tambar)\
**Replies:** 2\
**Last updated:** [January 15, 2009, 7:17am UTC](https://www.ruby-forum.com/t/reading-rtf-text-file-and-pattern-matching/157513 "2009-01-15T07:17:14Z")

</div>

Reading RTF and Text File in Ruby and Pattern Matching/searching from file and replacing with your data. if you want to read RTF of Text file then u can take help from this code . Try out following solution. filenam…

---

## [How can i render an external url?](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023)

<div class="topic-metadata">

**Author:** [@Noel\_RSMorais](https://www.ruby-forum.com/u/Noel_RSMorais)\
**Replies:** 2\
**Last updated:** [March 9, 2006, 7:09pm UTC](https://www.ruby-forum.com/t/how-can-i-render-an-external-url/54023 "2006-03-09T19:09:22Z")

</div>

Hi everybody, Well, how can I render an external url? In java, I do something like this: External URL \<jsp:include page=“www.rubyonrails.org” /\> Noel R. Morais RFC - Ready for Calls +55 (11) 3471-4005 www.rf…

---

## [Method returning a hash, is the hash in the heap?](https://www.ruby-forum.com/t/method-returning-a-hash-is-the-hash-in-the-heap/188894)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 3\
**Last updated:** [May 20, 2010, 1:16pm UTC](https://www.ruby-forum.com/t/method-returning-a-hash-is-the-hash-in-the-heap/188894 "2010-05-20T13:16:49Z")

</div>

For this program: class Point def initialize(x,y) @x,@y = x,y @something = 123.456 end def instance\_variables\_and\_values hash = {} instance\_variables.each {|n| hash\[n\] = instance\_variable\_get(n)} return hash en…

---

## [Uninitialized constant ActsAsFerret (NameError)](https://www.ruby-forum.com/t/uninitialized-constant-actsasferret-nameerror/159922)

<div class="topic-metadata">

**Author:** [@chudomir](https://www.ruby-forum.com/u/chudomir)\
**Replies:** 3\
**Last updated:** [February 11, 2009, 1:39am UTC](https://www.ruby-forum.com/t/uninitialized-constant-actsasferret-nameerror/159922 "2009-02-11T01:39:41Z")

</div>

Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite “green” in RR :slight\_smile: I am trying to make the Demo Applic…

---

## [How to generate OAuth2.0 authentication authorization code using ruby code?](https://www.ruby-forum.com/t/how-to-generate-oauth2-0-authentication-authorization-code-using-ruby-code/263167)

<div class="topic-metadata">

**Author:** [@rajudatla](https://www.ruby-forum.com/u/rajudatla)\
**Replies:** 1\
**Last updated:** [August 20, 2022, 5:35pm UTC](https://www.ruby-forum.com/t/how-to-generate-oauth2-0-authentication-authorization-code-using-ruby-code/263167 "2022-08-20T17:35:10Z")

</div>

any sample code getting stucked in authorization part. would be greatful if anyone share it.

---

## [Returning a 503 status code using try files with a maintenance page activated](https://www.ruby-forum.com/t/returning-a-503-status-code-using-try-files-with-a-maintenance-page-activated/219640)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 14, 2012, 11:05am UTC](https://www.ruby-forum.com/t/returning-a-503-status-code-using-try-files-with-a-maintenance-page-activated/219640 "2012-05-14T11:05:11Z")

</div>

Hello, I am looking into streamlining our nginx maintenance page check logic. In the nginx.org documentation there is an example usage for try\_files with a maintenance page. http://nginx.org/en/docs/http/ngx\_http\_cor…

---

## [How do I make forms work with no javascript enabled? (ActionController::InvalidAuthenticityToken)](https://www.ruby-forum.com/t/how-do-i-make-forms-work-with-no-javascript-enabled-actioncontroller-invalidauthenticitytoken/234051)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [February 4, 2015, 5:35am UTC](https://www.ruby-forum.com/t/how-do-i-make-forms-work-with-no-javascript-enabled-actioncontroller-invalidauthenticitytoken/234051 "2015-02-04T05:35:33Z")

</div>

Hi, I’ve got some basic form: \<%= form\_for(@task, remote: true, html: {'data-type' =\> 'html'}) do |f| %\> \<%= f.text\_field :text %\> \<%= f.submit %\> \<% end %\> But when I submit it with no javascript enabled, I get…

---

## [Alternative a DataTables](https://www.ruby-forum.com/t/alternative-a-datatables/238338)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [January 20, 2014, 9:30am UTC](https://www.ruby-forum.com/t/alternative-a-datatables/238338 "2014-01-20T09:30:16Z")

</div>

stavo cercando una soluzione server side processing json/ajax da integrare alle tabelle per: migliorare il look (usando Bootstrap) sortare i campi effettuare ricerche cambiare dinamicamente l’ordine dei campi ed il la…

---

## [How to use the gzip format for access\_log in the new 1.3.10?](https://www.ruby-forum.com/t/how-to-use-the-gzip-format-for-access-log-in-the-new-1-3-10/225273)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 26, 2012, 8:52am UTC](https://www.ruby-forum.com/t/how-to-use-the-gzip-format-for-access-log-in-the-new-1-3-10/225273 "2012-12-26T08:52:07Z")

</div>

Guys I updated from nginx 1.3.9 to 1.3.10, edited my access\_log line and here it is now: access\_log /var/www/blahblah/logs/access.log gzip buffer=32k; Unfortunately when I restart nginx I get this error: nginx: \[emer…

---

## [Remove element from array question](https://www.ruby-forum.com/t/remove-element-from-array-question/158635)

<div class="topic-metadata">

**Author:** [@ukarick](https://www.ruby-forum.com/u/ukarick)\
**Replies:** 5\
**Last updated:** [January 27, 2009, 2:46am UTC](https://www.ruby-forum.com/t/remove-element-from-array-question/158635 "2009-01-27T02:46:45Z")

</div>

suppose that I’ve some kind of array like this var1\[0\].var2\[0\].var3 So I would like to remove var3 out of this nest array what I should do? and after I tried to use delete It’s also delete some important value out f…

---

## [Filling clipboard doesn't work](https://www.ruby-forum.com/t/filling-clipboard-doesnt-work/144257)

<div class="topic-metadata">

**Author:** [@requiem](https://www.ruby-forum.com/u/requiem)\
**Replies:** 5\
**Last updated:** [August 16, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/filling-clipboard-doesnt-work/144257 "2008-08-16T14:00:20Z")

</div>

Hello, I ran into a bit of trouble with my first wxRuby application. I’m using ruby 1.8.6 with wxRuby 1.9.7 on x86 Linux (Ubuntu). Didn’t test any other platform yet. In my application, I’m trying to access the clipb…

---

## [Manejo de errores en los controler](https://www.ruby-forum.com/t/manejo-de-errores-en-los-controler/123296)

<div class="topic-metadata">

**Author:** [@Angel\_Mauricio\_Pino](https://www.ruby-forum.com/u/Angel_Mauricio_Pino)\
**Replies:** 5\
**Last updated:** [December 16, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/manejo-de-errores-en-los-controler/123296 "2007-12-16T18:06:05Z")

</div>

como hago el manejo de errores si ocurren antes de llegar al respond\_to do |format| gracias?

---

## [Encoding of strings received from db](https://www.ruby-forum.com/t/encoding-of-strings-received-from-db/107860)

<div class="topic-metadata">

**Author:** [@mare](https://www.ruby-forum.com/u/mare)\
**Replies:** 5\
**Last updated:** [June 27, 2007, 7:48pm UTC](https://www.ruby-forum.com/t/encoding-of-strings-received-from-db/107860 "2007-06-27T19:48:05Z")

</div>

I swear I searched this forum and couldn’t find the solution! Anyway, the problem: I have a db (PostgreSQL) with data encoded in utf-8. I want to check this data, so I hoped to create a script to assert the values fou…

---

## [SSL communication with Mechanize](https://www.ruby-forum.com/t/ssl-communication-with-mechanize/192162)

<div class="topic-metadata">

**Author:** [@poseid](https://www.ruby-forum.com/u/poseid)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/ssl-communication-with-mechanize/192162 "2010-07-25T18:16:27Z")

</div>

In a network with SSL protection, I can work with http by using: http.verify\_mode = OpenSSL::SSL::VERIFY\_NONE However, trying to use Mechanize: irb(main):033:0\> login\_page = agent.get(url) OpenSSL::SSL::SSLError: SSL…

---

## [Using a model name ending in 's' problematic?](https://www.ruby-forum.com/t/using-a-model-name-ending-in-s-problematic/153376)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 2\
**Last updated:** [November 16, 2008, 3:02am UTC](https://www.ruby-forum.com/t/using-a-model-name-ending-in-s-problematic/153376 "2008-11-16T03:02:39Z")

</div>

Hi, Referencing the URL http://localhost:3000/cvs netted me the response: “uninitialized constant CvsController::Cvs” with the trace information: K:/\_Utilities/ruby186-26\_rc2/ruby/lib/ruby/gems/1.8/gems/ activesupp…

---

## [Where is WEBrick (daemon mode) output? not in log/server.log](https://www.ruby-forum.com/t/where-is-webrick-daemon-mode-output-not-in-log-server-log/51271)

<div class="topic-metadata">

**Author:** [@dandante](https://www.ruby-forum.com/u/dandante)\
**Replies:** 2\
**Last updated:** [December 29, 2005, 1:43am UTC](https://www.ruby-forum.com/t/where-is-webrick-daemon-mode-output-not-in-log-server-log/51271 "2005-12-29T01:43:26Z")

</div>

I am running WEBrick in daemon mode (with the -d option). Where is the server output that would ordinarily be on my console if I ran without the -d option? APP\_ROOT/log/server.log is empty and not being appended to, t…

---

## [Using .find and :include with multiple levels of association](https://www.ruby-forum.com/t/using-find-and-include-with-multiple-levels-of-association/50485)

<div class="topic-metadata">

**Author:** [@petermichaux](https://www.ruby-forum.com/u/petermichaux)\
**Replies:** 2\
**Last updated:** [November 20, 2005, 8:26am UTC](https://www.ruby-forum.com/t/using-find-and-include-with-multiple-levels-of-association/50485 "2005-11-20T08:26:13Z")

</div>

Hi, I’ve tried to trim this example down to the minimum. Even though it looks complicated it is probably a fairly basic question about how associations and :include work. I want to do a find that is similar to the e…

---

## [Various debugging info not shown (](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [October 27, 2013, 10:18pm UTC](https://www.ruby-forum.com/t/various-debugging-info-not-shown/237160 "2013-10-27T22:18:52Z")

</div>

Hi, I am trying to debug handshakes and ticket reuse. Lot’s of debugging information is shown in my error\_log, but some info is skipped. Specifically, info from: /src/event/ngx\_event\_openssl.c. For example, ngx\_log\_d…

---

## [Someone the calculation the Resolution Bandwidth (RBW), USRP2 + RFX900 with and usrp2\_fft.py](https://www.ruby-forum.com/t/someone-the-calculation-the-resolution-bandwidth-rbw-usrp2-rfx900-with-and-usrp2-fft-py/221576)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 20, 2012, 5:47pm UTC](https://www.ruby-forum.com/t/someone-the-calculation-the-resolution-bandwidth-rbw-usrp2-rfx900-with-and-usrp2-fft-py/221576 "2012-07-20T17:47:12Z")

</div>

Hi, All Someone the calculation the Resolution Bandwidth (RBW), USRP2 + RFX900 with and usrp2\_fft.py ?

---

## [Date\_select -\> params ok but nil](https://www.ruby-forum.com/t/date-select-params-ok-but-nil/233152)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [November 20, 2014, 5:59am UTC](https://www.ruby-forum.com/t/date-select-params-ok-but-nil/233152 "2014-11-20T05:59:34Z")

</div>

hi, im kinda stuck… \<%= form\_for(@event) do |f| %\> \<%= f.label :from\_date %\> \<%= date\_select :event, :from\_date %\> … def create p params\[:event\].nil? p params\[:event\]\[:name\] p params\[:event\]\[:from\_…

---

## [Ruby koans don't understand the principle sandwhich code](https://www.ruby-forum.com/t/ruby-koans-dont-understand-the-principle-sandwhich-code/223138)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [September 23, 2012, 5:21pm UTC](https://www.ruby-forum.com/t/ruby-koans-dont-understand-the-principle-sandwhich-code/223138 "2012-09-23T17:21:03Z")

</div>

hello, Im still working on ruby koans. Now I have to do some sandwhich code. The exercise looks like this : require File.expand\_path(File.dirname(FILE) + ‘/edgecase’) class AboutSandwichCode \< EdgeCase::Koan def co…

---

## [Missing C-based MySQL library for Mac OS X?](https://www.ruby-forum.com/t/missing-c-based-mysql-library-for-mac-os-x/128661)

<div class="topic-metadata">

**Author:** [@ric](https://www.ruby-forum.com/u/ric)\
**Replies:** 7\
**Last updated:** [June 27, 2008, 8:15am UTC](https://www.ruby-forum.com/t/missing-c-based-mysql-library-for-mac-os-x/128661 "2008-06-27T08:15:06Z")

</div>

My Environment: OS X (Leopard 10.5.1) Ruby v 1.8.6 Rails v 2.0.2 Gem v 0.9.4 Server: Mongrel MySQL version: mysql Ver 14.14 Distrib 5.1.22-rc, for apple-darwin8.5.1 (i686) using readline 5.0 Greetings: I notic…

---

## [Ocultar controlador](https://www.ruby-forum.com/t/ocultar-controlador/127085)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 10:02am UTC](https://www.ruby-forum.com/t/ocultar-controlador/127085 "2008-01-28T10:02:33Z")

</div>

Hola Esto es mas una curiosidad que otra cosa por que tampoco es que sea muy útil, pero bueno… Saben si es posible ocultar el controlador en la url? por ejemplo en el routes.rb map.root :controller =\> ‘welcome’ en …

---

## [Re: disable gzip based on user-agent](https://www.ruby-forum.com/t/re-disable-gzip-based-on-user-agent/121361)

<div class="topic-metadata">

**Author:** [@Ian\_MSEvans](https://www.ruby-forum.com/u/Ian_MSEvans)\
**Replies:** 7\
**Last updated:** [November 27, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/re-disable-gzip-based-on-user-agent/121361 "2007-11-27T16:38:46Z")

</div>

On 10/18/07, Wayne E. Seguin wrote: I also would like to know if this is possible. I notice it’s been about five weeks and no answer. :slight\_smile: Since IE6 can have problems with gzip’d CSS, being able to turn it…

---

## ['delete' vs 'destroy' etymology?](https://www.ruby-forum.com/t/delete-vs-destroy-etymology/67059)

<div class="topic-metadata">

**Author:** [@Jonathan\_del\_Stroth](https://www.ruby-forum.com/u/Jonathan_del_Stroth)\
**Replies:** 7\
**Last updated:** [August 31, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/delete-vs-destroy-etymology/67059 "2006-08-31T23:33:25Z")

</div>

Why were the words delete & destroy chosen for those particular operations? It always seems to me that they’re the wrong way round - ‘delete’ sounds like a careful removal, whereas ‘destroy’ sounds like wanton remova…

---

## [Noob Typo Questions (uh oh!)](https://www.ruby-forum.com/t/noob-typo-questions-uh-oh/57541)

<div class="topic-metadata">

**Author:** [@Terry\_D](https://www.ruby-forum.com/u/Terry_D)\
**Replies:** 7\
**Last updated:** [April 12, 2006, 1:21am UTC](https://www.ruby-forum.com/t/noob-typo-questions-uh-oh/57541 "2006-04-12T01:21:07Z")

</div>

Hi, I have my typo blog up and running now (http://typo.rubynoob.com), but I have a couple of questions. First, where’s the best place to look for typo documentation? I don’t see anything under documentation at: h…

---

## [Re: How to reduce reconfiguration latency](https://www.ruby-forum.com/t/re-how-to-reduce-reconfiguration-latency/240623)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [April 26, 2014, 1:07am UTC](https://www.ruby-forum.com/t/re-how-to-reduce-reconfiguration-latency/240623 "2014-04-26T01:07:28Z")

</div>

Hi Marcus, Thanks for reply. Let me try to answer the questions. Yes. The signal frequency shifted by +/- 5%. The transfer burst is constant. The frequency shift remains constant during a burst. So I estimate the sh…

---

## [Meaning of Center Frequency in QT GUI Sink / QT Waterfall Sink](https://www.ruby-forum.com/t/meaning-of-center-frequency-in-qt-gui-sink-qt-waterfall-sink/236202)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 20, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/meaning-of-center-frequency-in-qt-gui-sink-qt-waterfall-sink/236202 "2013-08-20T18:11:15Z")

</div>

Hi, what is the meaning of the variable “Center Frequency” in the qt\_gui\_sink / qt\_waterfall\_sink ? If I remember well, in pre 3.7 version it served as base of the x - axis legend. Now, if I choose a value \> bandwi…

---

## [Importing Ruby-Lang into Xcode](https://www.ruby-forum.com/t/importing-ruby-lang-into-xcode/213456)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [November 2, 2011, 11:25pm UTC](https://www.ruby-forum.com/t/importing-ruby-lang-into-xcode/213456 "2011-11-02T23:25:53Z")

</div>

How do i Import an Existing Non-Xcode Project Into Xcode, specifically Ruby so I can work on some bugs?

---

## [Using YAML for inter-process communication - anything built-in?](https://www.ruby-forum.com/t/using-yaml-for-inter-process-communication-anything-built-in/161783)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 8\
**Last updated:** [March 4, 2009, 10:30am UTC](https://www.ruby-forum.com/t/using-yaml-for-inter-process-communication-anything-built-in/161783 "2009-03-04T10:30:38Z")

</div>

Hi, I’m just wondering - I implemented something (thbar (Thibaut Barrère) · GitHub petite-lettre/tree/master) I believe probably already exists, can anyone tell me if it does ? I’m using YAML to communicate using std…

---

## [Mapping Table Names to Human Names for Display](https://www.ruby-forum.com/t/mapping-table-names-to-human-names-for-display/123818)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 8\
**Last updated:** [December 21, 2007, 1:57am UTC](https://www.ruby-forum.com/t/mapping-table-names-to-human-names-for-display/123818 "2007-12-21T01:57:20Z")

</div>

Using Scaffolding, in SHOWING data, it shows the table name (called the human name) and valve, when showing data. I would like alter the table/human name. Is there an easy way to do this, or should i make my own mapp…

---

## [Mode](https://www.ruby-forum.com/t/mode/95522)

<div class="topic-metadata">

**Author:** [@curi](https://www.ruby-forum.com/u/curi)\
**Replies:** 8\
**Last updated:** [June 6, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/mode/95522 "2006-06-06T16:48:21Z")

</div>

I bet there’s a more elegant way to write this. Anyone want to show me? def mode(li) best\_num = nil best\_count = -1 li.uniq.each do |item| count = (li.select { |item2| item == item2}).length if count \> best\_count …

---

## [Using postgres sequences on id columns](https://www.ruby-forum.com/t/using-postgres-sequences-on-id-columns/47507)

<div class="topic-metadata">

**Author:** [@ljw1001](https://www.ruby-forum.com/u/ljw1001)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/using-postgres-sequences-on-id-columns/47507 "2005-11-12T12:49:15Z")

</div>

I just switched from using a column type of SERIAL to trying to use a Postgres Sequence defined as: CREATE SEQUENCE unique\_sequence START 101; The column definition went from “id SERIAL NOT NULL” to "id INTEGER NOT…

---

## [Module inclusion and class macro problem](https://www.ruby-forum.com/t/module-inclusion-and-class-macro-problem/192184)

<div class="topic-metadata">

**Author:** [@Rolf\_P](https://www.ruby-forum.com/u/Rolf_P)\
**Replies:** 6\
**Last updated:** [July 28, 2010, 5:05pm UTC](https://www.ruby-forum.com/t/module-inclusion-and-class-macro-problem/192184 "2010-07-28T17:05:48Z")

</div>

Hi I was reading the book “Metaprogramming Ruby” which I found quite good for a guy trying to improve on his novice Ruby skills. Parts of the book describes the creation of Class macros, and I got intrigued by this,…

---

## [Bundler](https://www.ruby-forum.com/t/bundler/190359)

<div class="topic-metadata">

**Author:** [@dereke](https://www.ruby-forum.com/u/dereke)\
**Replies:** 6\
**Last updated:** [June 21, 2010, 6:34pm UTC](https://www.ruby-forum.com/t/bundler/190359 "2010-06-21T18:34:38Z")

</div>

I have IronRuby 1.0 with RubyGems 1.3.6 and Bundler 0.9.25. When I run Bundler.setup I get this error: NameError: undefined method gem' for moduleBundler::SharedHelpers’ from C:/IronRuby-1.0/lib/ironruby/gems/1.8/gem…

---

## [Ruby ha un nuovo Whois](https://www.ruby-forum.com/t/ruby-ha-un-nuovo-whois/173428)

<div class="topic-metadata">

**Author:** [@overclokkato](https://www.ruby-forum.com/u/overclokkato)\
**Replies:** 6\
**Last updated:** [August 11, 2009, 3:27pm UTC](https://www.ruby-forum.com/t/ruby-ha-un-nuovo-whois/173428 "2009-08-11T15:27:13Z")

</div>

Vorrei segnalarvi che ho aperto ieri pubblicamente il repository di una libreria Whois scritta in pure Ruby. Il repository si trova all’indirizzo GitHub - weppos/whois: An intelligent — pure Ruby — WHOIS client and par…

---

## [Rails 2.2.2 - Mysql::Error: MySQL server has gone away](https://www.ruby-forum.com/t/rails-2-2-2-mysql-mysql-server-has-gone-away/161854)

<div class="topic-metadata">

**Author:** [@a2ahmad](https://www.ruby-forum.com/u/a2ahmad)\
**Replies:** 6\
**Last updated:** [March 26, 2009, 2:32am UTC](https://www.ruby-forum.com/t/rails-2-2-2-mysql-mysql-server-has-gone-away/161854 "2009-03-26T02:32:52Z")

</div>

My app consists of receiving emails with image attachments from its users so I have been employing the MMS2R gem and Fetcher. Every 60 seconds the app goes to the email server to fetch emails. Under Rails 2.1.1 things…

---

## [Trouble with Capistrano and custom symlink from shared direc](https://www.ruby-forum.com/t/trouble-with-capistrano-and-custom-symlink-from-shared-direc/74578)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 11:00am UTC](https://www.ruby-forum.com/t/trouble-with-capistrano-and-custom-symlink-from-shared-direc/74578 "2006-11-07T11:00:59Z")

</div>

Hi there I have a Rails app which requires the client to upload image files to a certain directory. I’m using capistrano to deploy and have created a directory in shared: shared/book\_images I want to symlink this to…

---

## [Rails 4 asset pipeline generates different digest in different environments](https://www.ruby-forum.com/t/rails-4-asset-pipeline-generates-different-digest-in-different-environments/243217)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [September 2, 2015, 7:27pm UTC](https://www.ruby-forum.com/t/rails-4-asset-pipeline-generates-different-digest-in-different-environments/243217 "2015-09-02T19:27:07Z")

</div>

Hello, I am facing this weird issue. I believe the asset digests are generated based on the content of the file. However, when I deploy my application using Capistrano to staging environments and multiple boxes in pr…

---

## [Using rcov with rspec2](https://www.ruby-forum.com/t/using-rcov-with-rspec2/195227)

<div class="topic-metadata">

**Author:** [@nathanvda](https://www.ruby-forum.com/u/nathanvda)\
**Replies:** 5\
**Last updated:** [October 6, 2010, 10:43am UTC](https://www.ruby-forum.com/t/using-rcov-with-rspec2/195227 "2010-10-06T10:43:57Z")

</div>

I have using rcov together with rspec2 using the following rake task: desc “Run all specs with rcov” RSpec::Core::RakeTask.new(“test\_cov”) do |t| t.rcov = true t.rcov\_opts = %w{–rails --include views --exclude gems/…

---

## [Forum not found](https://www.ruby-forum.com/t/forum-not-found/98156)

<div class="topic-metadata">

**Author:** [@Stian\_H](https://www.ruby-forum.com/u/Stian_H)\
**Replies:** 5\
**Last updated:** [July 13, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/forum-not-found/98156 "2006-07-13T19:30:34Z")

</div>

I just now tried upgrading from 0.2 to a recently grabbed SVN version of RForum on my testing server, and all worked fine. Nothing in my procedure changed when applying the same upgrade on my actual board, however I a…

---

## [Shift param in FFT block in GRC](https://www.ruby-forum.com/t/shift-param-in-fft-block-in-grc/220513)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 13, 2012, 8:12am UTC](https://www.ruby-forum.com/t/shift-param-in-fft-block-in-grc/220513 "2012-06-13T08:12:01Z")

</div>

When I add a FFT block in the GRC (gr\_fft\_vxx if I understand things correctly) I am offered a boolean parameter ‘shift’. When I attempt to discern the code, there is a comment: // apply a fft shift on the data - for…

---

## [Débutant rails: inclusion de page avec variables](https://www.ruby-forum.com/t/debutant-rails-inclusion-de-page-avec-variables/224753)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 13, 2012, 1:56pm UTC](https://www.ruby-forum.com/t/debutant-rails-inclusion-de-page-avec-variables/224753 "2012-12-13T13:56:19Z")

</div>

Bonjour ! Alors voila, je me lance dans le ruby on rails et je dois dire que je suis un peu surpris parce qu’une action qui se fait de manière super simple en php avec un \<?php include("page.php"); ?\> devient très…

---

## [Select tag and fieldWithErrors](https://www.ruby-forum.com/t/select-tag-and-fieldwitherrors/87696)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 18, 2007, 11:37pm UTC](https://www.ruby-forum.com/t/select-tag-and-fieldwitherrors/87696 "2007-09-18T23:37:12Z")

</div>

I’ve been trying to work out the rails way of handling this. I have my form which contains: \<%= select(:user, :state\_id, @states) %\> The only problem is that the fieldWithErrors div won’t get added if nothing is sele…

---

## [ActiveRecord::Base.connection.execute is exec?](https://www.ruby-forum.com/t/activerecord-base-connection-execute-is-exec/214527)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 5, 2011, 3:04pm UTC](https://www.ruby-forum.com/t/activerecord-base-connection-execute-is-exec/214527 "2011-12-05T15:04:20Z")

</div>

Hi all, I update column by ‘ActiveRecord::Base.connection.execute’ ActiveRecord::Base.connection.execute “UPDATE requests SET count=count +10 WHERE id=1 AND count \<= 1000” But, I can’t know if condition,…‘count \<= 100…

---

## [Re-executing rspec tests in existing JRuby container](https://www.ruby-forum.com/t/re-executing-rspec-tests-in-existing-jruby-container/206676)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 11, 2011, 9:59pm UTC](https://www.ruby-forum.com/t/re-executing-rspec-tests-in-existing-jruby-container/206676 "2011-05-11T21:59:29Z")

</div>

I have a JRuby Servlet environment very much like the “Parse Once, Eval Many Times on Servlet” example at http://kenai.com/projects/jruby/pages/RedBridgeServletExamples. What I am trying to do is execute an rspec test…

---

## [Using roo to avoid need for Excel to be installed](https://www.ruby-forum.com/t/using-roo-to-avoid-need-for-excel-to-be-installed/180178)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 4\
**Last updated:** [April 7, 2011, 8:12am UTC](https://www.ruby-forum.com/t/using-roo-to-avoid-need-for-excel-to-be-installed/180178 "2011-04-07T08:12:21Z")

</div>

I have installed rubyzip and roo gems to bypass the need to have excel installed when reading excel workbooks. When I do in irb require ‘zip/zipfilesystem’ require ‘roo’ I get error C:/Ruby/lib/ruby/gems/1.8/gems/n…

---

## [Get content from HTML element in Rails](https://www.ruby-forum.com/t/get-content-from-html-element-in-rails/185227)

<div class="topic-metadata">

**Author:** [@iggar](https://www.ruby-forum.com/u/iggar)\
**Replies:** 4\
**Last updated:** [March 16, 2010, 6:59pm UTC](https://www.ruby-forum.com/t/get-content-from-html-element-in-rails/185227 "2010-03-16T18:59:46Z")

</div>

Hey, I’m looking for a way to get the content of my div in my Rails view. I would like the literal HTML content, so only HTML and no Rails I thought inner\_html would work, but I get a RJS exception (TypeError: $(“con…

---

## [Win32/Process at win32utils](https://www.ruby-forum.com/t/win32-process-at-win32utils/88816)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 4\
**Last updated:** [March 15, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/win32-process-at-win32utils/88816 "2007-03-15T19:05:58Z")

</div>

Hi guys, I’ve made a simple program to test the Process.create: require ‘rubygems’ require ‘win32/process’ pgname = “C:\\Program Files\\VideoLAN\\VLC\\vlc.exe” x = Process.create :app\_name =\> pgname.to\_s sleep 5 Proces…

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

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