# Top

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

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

---

## [Array#float\_sum (like math.fsum of Python)](https://www.ruby-forum.com/t/array-float-sum-like-math-fsum-of-python/232296)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 1, 2014, 7:04am UTC](https://www.ruby-forum.com/t/array-float-sum-like-math-fsum-of-python/232296 "2014-10-01T07:04:56Z")

</div>

Issue #10298 has been updated by Takeshi Nishimatsu. Timing. Of course it is fast. $ uname -sprsv Darwin 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE\_X86\_64 i386 $…

---

## [AJP V/s Proxy pass with Nginx](https://www.ruby-forum.com/t/ajp-v-s-proxy-pass-with-nginx/231487)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 11, 2014, 2:31pm UTC](https://www.ruby-forum.com/t/ajp-v-s-proxy-pass-with-nginx/231487 "2014-08-11T14:31:58Z")

</div>

Hi All, I am new to Nginx and currently we are using Apache which is having both Proxy pass and AJP configuration. When setup long back we found AJP performs faster than http. Now as we are moving to Nginx, so just …

---

## [Middleware example from Railscast #151 doesn't work as expected. Need help](https://www.ruby-forum.com/t/middleware-example-from-railscast-151-doesnt-work-as-expected-need-help/228945)

<div class="topic-metadata">

**Author:** [@zvooq](https://www.ruby-forum.com/u/zvooq)\
**Replies:** 0\
**Last updated:** [May 13, 2013, 11:46pm UTC](https://www.ruby-forum.com/t/middleware-example-from-railscast-151-doesnt-work-as-expected-need-help/228945 "2013-05-13T23:46:54Z")

</div>

My middleware class “ResponseTimer” doesn’t intercept a request. I don’t know why (the example is from here #151 Rack Middleware - RailsCasts; I changed my one a little for Rails 3.2.13 version, the original is for R…

---

## [gr-Trellis FSM](https://www.ruby-forum.com/t/gr-trellis-fsm/218414)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 30, 2012, 8:44pm UTC](https://www.ruby-forum.com/t/gr-trellis-fsm/218414 "2012-03-30T20:44:28Z")

</div>

I’ve implemented a Manchester Decoder via an FSM using the combined Viterbi algorithm in gr-trellis, and its working great decoding my signal. However, I’ve noticed that after ~1000 times running (see code), I get an …

---

## [No GSoC for IronPython/IronRuby for 2011](https://www.ruby-forum.com/t/no-gsoc-for-ironpython-ironruby-for-2011/204791)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 21, 2011, 9:34pm UTC](https://www.ruby-forum.com/t/no-gsoc-for-ironpython-ironruby-for-2011/204791 "2011-03-21T21:34:25Z")

</div>

I got the notice on Friday that IronLanguages was not accepted into Google Summer of Code for 2011. However, both the Mono project and the PSF have indicated that they would consider IronPython/IronRuby projects, so i…

---

## [Pasar un hash de la vista al controlador, novato](https://www.ruby-forum.com/t/pasar-un-hash-de-la-vista-al-controlador-novato/191694)

<div class="topic-metadata">

**Author:** [@maese](https://www.ruby-forum.com/u/maese)\
**Replies:** 0\
**Last updated:** [July 16, 2010, 11:21am UTC](https://www.ruby-forum.com/t/pasar-un-hash-de-la-vista-al-controlador-novato/191694 "2010-07-16T11:21:21Z")

</div>

Hola, tengo que hacer una vista en la qeu he de meter un numero de checkbox dinÃ¡micos, por lo que en el controller creo un hash string,boolean, que he llamado @arquitecturas, el string para el nombre a mostrar y el b…

---

## [\[ANN\] rspec-rails 1.2.1 Released](https://www.ruby-forum.com/t/ann-rspec-rails-1-2-1-released/163608)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 0\
**Last updated:** [March 23, 2009, 6:08am UTC](https://www.ruby-forum.com/t/ann-rspec-rails-1-2-1-released/163608 "2009-03-23T06:08:42Z")

</div>

rspec-rails version 1.2.1 has been released! http://rspec.info http://rubyforge.org/projects/rspec http://github.com/dchelimsky/rspec-rails http://wiki.github.com/dchelimsky/rspec/rails removed\_email\_address@domain.inv…

---

## [This Week in Ruby (May 12, 2008)](https://www.ruby-forum.com/t/this-week-in-ruby-may-12-2008/137405)

<div class="topic-metadata">

**Author:** [@visitor1981](https://www.ruby-forum.com/u/visitor1981)\
**Replies:** 0\
**Last updated:** [May 12, 2008, 10:11pm UTC](https://www.ruby-forum.com/t/this-week-in-ruby-may-12-2008/137405 "2008-05-12T22:11:14Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, here you can find the seventh edition of “This Week in Ruby”: Cheers, Antonio http://antoniocangiano.com - Zen and the Art of Programming http://stacktrace…

---

## [Problem with show and hide div on mouse events](https://www.ruby-forum.com/t/problem-with-show-and-hide-div-on-mouse-events/117031)

<div class="topic-metadata">

**Author:** [@kirankinuforu](https://www.ruby-forum.com/u/kirankinuforu)\
**Replies:** 0\
**Last updated:** [October 12, 2007, 8:24am UTC](https://www.ruby-forum.com/t/problem-with-show-and-hide-div-on-mouse-events/117031 "2007-10-12T08:24:40Z")

</div>

Hi, Friends, I am new to Ruby On Rails, I want to implement show and hide div on mouseover and mouseout events, I have tried by various ways using .rjs(Ruby Javascript) and Ajax also but its not working smoothly as I …

---

## [\[ANN\] LoginEngine 1.0.3 & UserEngine 1.0.2](https://www.ruby-forum.com/t/ann-loginengine-1-0-3-userengine-1-0-2/66024)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 0\
**Last updated:** [August 22, 2006, 10:39pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-3-userengine-1-0-2/66024 "2006-08-22T22:39:49Z")

</div>

Hi, I have tagged these bug fix releases for the LoginEngine and UserEngine. Please try them out, and let me know of any problems. Note that these are just tags currently. If they prove to be stable enough, I’ll move…

---

## [GLoc Localization Library v1.1 Released](https://www.ruby-forum.com/t/gloc-localization-library-v1-1-released/61821)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 0\
**Last updated:** [May 28, 2006, 7:37am UTC](https://www.ruby-forum.com/t/gloc-localization-library-v1-1-released/61821 "2006-05-28T07:37:58Z")

</div>

For those interested, I have released v1.1 of GLoc today. Head on over to http://rubyforge.org/projects/gloc/ to download it, or do an ‘svn update’ if you’re using trunk. Here’s a list of what’s new: The charset for…

---

## [Uninitialized constant WEBrick](https://www.ruby-forum.com/t/uninitialized-constant-webrick/57449)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 0\
**Last updated:** [April 11, 2006, 1:46am UTC](https://www.ruby-forum.com/t/uninitialized-constant-webrick/57449 "2006-04-11T01:46:14Z")

</div>

I have just upgraded installed rails 1.1 using gem. I have set up a rails app using radrails. I have set up one model for testing and set up one migration in order to create the table for that model. When I type rake …

---

## [Alternative Way to Refine A Class](https://www.ruby-forum.com/t/alternative-way-to-refine-a-class/243312)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [September 18, 2015, 4:49pm UTC](https://www.ruby-forum.com/t/alternative-way-to-refine-a-class/243312 "2015-09-18T16:49:31Z")

</div>

This Jackbox feature showcases an alternative way to refine classes, that also illustrates some additional uses of our modular closures/injectors. For this to happen, we rely once again on our trusty method #lets. Tak…

---

## [Please check out my site Some cool work with associations, scope and fields\_for](https://www.ruby-forum.com/t/please-check-out-my-site-some-cool-work-with-associations-scope-and-fields-for/242181)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 3, 2015, 9:58am UTC](https://www.ruby-forum.com/t/please-check-out-my-site-some-cool-work-with-associations-scope-and-fields-for/242181 "2015-06-03T09:58:39Z")

</div>

Dear All, Pretty sure that I have been quite earnest in updating my application with particular concern for n+1 issues, otherwise, hopefully, more complete use of of Rails 3.0 model associations. If one really scru…

---

## [UHD: USRP Source](https://www.ruby-forum.com/t/uhd-usrp-source/241707)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 25, 2015, 10:54am UTC](https://www.ruby-forum.com/t/uhd-usrp-source/241707 "2015-04-25T10:54:38Z")

</div>

Hello, I’m trying to receive a 6 MHz TV signal. What frequency should I set my UHD: USRP Source in the GRC? Thanks. \*Gerome Jan M. Llames \* Engineering Research and Development for Technology (ERDT) Scholar Univers…

---

## [Bignum error in my PRP test](https://www.ruby-forum.com/t/bignum-error-in-my-prp-test/234509)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 10, 2015, 8:47am UTC](https://www.ruby-forum.com/t/bignum-error-in-my-prp-test/234509 "2015-03-10T08:47:51Z")

</div>

I am a total newb. Please be gentle with me. The attached program should give “true” to both the appended test numbers and it does not with ruby–2.2.1. (It takes a minute or two to run.) I get: $ ruby ~/coding/ruby/fr…

---

## [YAML Help required](https://www.ruby-forum.com/t/yaml-help-required/234373)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [March 1, 2015, 5:43am UTC](https://www.ruby-forum.com/t/yaml-help-required/234373 "2015-03-01T05:43:14Z")

</div>

I Have below YAML file. signin: element\_1: ios\_id: ios\_id\_1 android\_id: android\_id\_1 element\_2: ios\_id: ios\_id\_2 android\_id: android\_id\_2 I am trying to achieve is that, When I load the YAML file, I have to load…

---

## [Difference between ruby and perl in RegularExpression](https://www.ruby-forum.com/t/difference-between-ruby-and-perl-in-regularexpression/233914)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 21, 2015, 9:38pm UTC](https://www.ruby-forum.com/t/difference-between-ruby-and-perl-in-regularexpression/233914 "2015-01-21T21:38:16Z")

</div>

Hi every following ruby snippet #!/bin/ruby abc = " Erste Zeile Zweite Zeile Dritte Zeile Vierte Zeile " puts abc abc.sub!(/le.?$/s, “le Ende” ) puts abc produces following output: \[git@casablanca ~/work/…

---

## [Grc connection issue?](https://www.ruby-forum.com/t/grc-connection-issue/232566)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 16, 2014, 11:56am UTC](https://www.ruby-forum.com/t/grc-connection-issue/232566 "2014-10-16T11:56:17Z")

</div>

Hi list, I have a custom block trying to connect with other blocks in gnuradio like: for i in xrange(len(self.sources)): self.connect(self.src\[i\], self.filt\[i\], self.resampler\[i\], (self.finder, i)) number of connec…

---

## [Ruby2ruby 2.1.1 Released](https://www.ruby-forum.com/t/ruby2ruby-2-1-1-released/230308)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 11, 2014, 1:41pm UTC](https://www.ruby-forum.com/t/ruby2ruby-2-1-1-released/230308 "2014-06-11T13:41:37Z")

</div>

ruby2ruby version 2.1.1 has been released! home: https://github.com/seattlerb/ruby2ruby rdoc: http://seattlerb.rubyforge.org/ruby2ruby ruby2ruby provides a means of generating pure ruby code easily from RubyParser …

---

## [Struggling with configuration](https://www.ruby-forum.com/t/struggling-with-configuration/241001)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 9, 2014, 8:30am UTC](https://www.ruby-forum.com/t/struggling-with-configuration/241001 "2014-05-09T08:30:55Z")

</div>

Hi I am porting some stuff that I had working under Apache to now run under Nginx and I have a particular case that I don’t know how to deal with. I have a physical directory structure like this dev/ dev/myapp/ dev…

---

## [Rewrite with strange arguments](https://www.ruby-forum.com/t/rewrite-with-strange-arguments/240684)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 28, 2014, 2:50pm UTC](https://www.ruby-forum.com/t/rewrite-with-strange-arguments/240684 "2014-04-28T14:50:33Z")

</div>

Hi, I need to do some rewrite rules litke this myurl.com/?mpinvite=113116712&host=Anônimo to myurl.com/?mpinvite=113116712&host=Anonimo or myurl.com/?mpinvite=113116712&host=Anônimo It is possible? How can I do tha…

---

## [Refactor code in api::controller](https://www.ruby-forum.com/t/refactor-code-in-api-controller/238893)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 4, 2014, 3:58am UTC](https://www.ruby-forum.com/t/refactor-code-in-api-controller/238893 "2014-02-04T03:58:40Z")

</div>

In my api::controller i have few methods which follow the same type of structure . like :- def index render json:{:status =\> false, :message =\> ‘qw’} if params\[:type\].nil? @stats = ChildStat.get\_child\_stat(@child\_…

---

## [Not able to access Image Magickly from my ubuntu server which is on Amazon instance](https://www.ruby-forum.com/t/not-able-to-access-image-magickly-from-my-ubuntu-server-which-is-on-amazon-instance/238446)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 7:05pm UTC](https://www.ruby-forum.com/t/not-able-to-access-image-magickly-from-my-ubuntu-server-which-is-on-amazon-instance/238446 "2014-01-10T19:05:32Z")

</div>

Hi, I tried to install Image Magically on ubuntu which is on Amazon instance. I followed the following reference link for that. There I followed the following steps to install Image Magically on server. $ gem ins…

---

## [Hf explorer updated](https://www.ruby-forum.com/t/hf-explorer-updated/238439)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 10, 2014, 1:33am UTC](https://www.ruby-forum.com/t/hf-explorer-updated/238439 "2014-01-10T01:33:29Z")

</div>

UHD: moving HF apps from gnuradio-examples to gr-uhd/examples. Did the minimum possible work to convert HF Explorer to use UHD. Thanks Tom - I’ve cleaned up a lot of other things and have an update in my copy you ca…

---

## [Understating how assets in Rails 4 work in production](https://www.ruby-forum.com/t/understating-how-assets-in-rails-4-work-in-production/235870)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 21, 2013, 6:24pm UTC](https://www.ruby-forum.com/t/understating-how-assets-in-rails-4-work-in-production/235870 "2013-07-21T18:24:02Z")

</div>

When I run rake assets:precompile The compiled assets are written to pubic/assets: I, \[2013-07-21T02:16:00.987988 #13881\] INFO – : Writing /home/jpereira/dev/saleshub/public/assets/glyphicons-halflings-white-62b67d9…

---

## [Sidekiq on Heroku](https://www.ruby-forum.com/t/sidekiq-on-heroku/245700)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 30, 2013, 8:35pm UTC](https://www.ruby-forum.com/t/sidekiq-on-heroku/245700 "2013-06-30T20:35:58Z")

</div>

Hi I want to use Sidekiq to run some jobs in the background. The jobs will be created by the whenever gem (or similar) which creates a Sidekiq worker at a specific time. This worker will in turn create a few hundred…

---

## [Websocket on port 80](https://www.ruby-forum.com/t/websocket-on-port-80/227116)

<div class="topic-metadata">

**Author:** [@trm\_asn](https://www.ruby-forum.com/u/trm_asn)\
**Replies:** 1\
**Last updated:** [March 5, 2013, 8:55pm UTC](https://www.ruby-forum.com/t/websocket-on-port-80/227116 "2013-03-05T20:55:44Z")

</div>

Hi List, I am using Nginx-1.3.13 for this websocket support. I am doing socket.ioproxy from Nginx . Below is my nginx.conf for websocket . http { include /etc/nginx/mime.types; default\_type application/octet-…

---

## [Using pry-rails with a Rails engine](https://www.ruby-forum.com/t/using-pry-rails-with-a-rails-engine/221873)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 3, 2012, 12:08am UTC](https://www.ruby-forum.com/t/using-pry-rails-with-a-rails-engine/221873 "2012-08-03T00:08:43Z")

</div>

I created a new Rails 3.2.6 engine via a command like this: $ rails plugin new $engine\_name --skip-bundle -d $database\_type -T –dummy-path=spec/dummy --full --mountable Then, I set it up with RSpec 2.11.0, and include…

---

## [Disable Caching](https://www.ruby-forum.com/t/disable-caching/226343)

<div class="topic-metadata">

**Author:** [@dgarstang](https://www.ruby-forum.com/u/dgarstang)\
**Replies:** 1\
**Last updated:** [July 19, 2012, 7:19pm UTC](https://www.ruby-forum.com/t/disable-caching/226343 "2012-07-19T19:19:32Z")

</div>

All, I have an nginx config that looks like this… user www-data; worker\_processes 4; pid /var/run/nginx.pid; events { worker\_connections 768; multi\_accept on; } http { sendfile on; tcp\_nopush on; tcp\_nodelay …

---

## [GRC Message Source/Sink and Packet Source](https://www.ruby-forum.com/t/grc-message-source-sink-and-packet-source/220290)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [June 5, 2012, 6:34pm UTC](https://www.ruby-forum.com/t/grc-message-source-sink-and-packet-source/220290 "2012-06-05T18:34:02Z")

</div>

Hi! I’m trying to integrate an existing Packet Source into GRC. I have some trouble understanding how this is supposed to work: In order to send a packet I need to use the gr\_message\_queue. How do I call a function t…

---

## [Unable to install](https://www.ruby-forum.com/t/unable-to-install/218211)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 24, 2012, 11:01am UTC](https://www.ruby-forum.com/t/unable-to-install/218211 "2012-03-24T11:01:05Z")

</div>

I mistakenly posted this on the PHP-FPM list. Running Ubuntu on Asus Transformer, I get the following when trying to apt-get install: The following packages have unmet dependencies: nginx-light : Depends: nginx-commo…

---

## [Send zero-fill data when there's no input dato to process](https://www.ruby-forum.com/t/send-zero-fill-data-when-theres-no-input-dato-to-process/212430)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 2, 2011, 8:28pm UTC](https://www.ruby-forum.com/t/send-zero-fill-data-when-theres-no-input-dato-to-process/212430 "2011-10-02T20:28:34Z")

</div>

Hello, i have a message queue and some blocks that generate waveforms from the message input. The output of these blocks go to the USRP. I need a block that when there’s no data to process (0 message in queue) genera…

---

## [Catching 400, 404 Errors FCGI](https://www.ruby-forum.com/t/catching-400-404-errors-fcgi/209117)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 6, 2011, 9:29am UTC](https://www.ruby-forum.com/t/catching-400-404-errors-fcgi/209117 "2011-07-06T09:29:05Z")

</div>

I am trying to understand how to catch 400 and 404 errors being returned back from my FCGI server; How do I specify a custom error page? I tried error\_page 404 400 /404.html; location = /404.html { ro…

---

## [NGINX + Reverse Proxy + SSL](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl/207726)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 1, 2011, 12:49pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-ssl/207726 "2011-06-01T12:49:01Z")

</div>

Hello :wink: As part of a project, I need to perform a reverse proxy to a server that runs apache https. I do not have the certificates on the destination server and I can not add them to nginx. I tried the followin…

---

## [How to use LDAP with htaccess file in rails](https://www.ruby-forum.com/t/how-to-use-ldap-with-htaccess-file-in-rails/206872)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 12, 2011, 1:14pm UTC](https://www.ruby-forum.com/t/how-to-use-ldap-with-htaccess-file-in-rails/206872 "2011-05-12T13:14:56Z")

</div>

Can anyone help me set up LDAP using .htaccess method is Ruby on Rails. I have been looking on line for hours and there are some examples, but know examples explain where to put things in the rails directories and …

---

## [EULA and downloading softwae](https://www.ruby-forum.com/t/eula-and-downloading-softwae/204886)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 24, 2011, 8:30am UTC](https://www.ruby-forum.com/t/eula-and-downloading-softwae/204886 "2011-03-24T08:30:30Z")

</div>

I have a zip file I want to give my users. But first I need for them to agree to a End User License Agreement (EULA). I can’t think of any way to prevent them from going to the download link and getting the file with…

---

## [Help with looping through groups of radio buttons](https://www.ruby-forum.com/t/help-with-looping-through-groups-of-radio-buttons/202356)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 29, 2011, 10:29am UTC](https://www.ruby-forum.com/t/help-with-looping-through-groups-of-radio-buttons/202356 "2011-01-29T10:29:57Z")

</div>

So my goal is to loop through and list several groups of shipping options for various products. First I loop through the number of items which need to be shipped alone, then I loop through the shipping rates. What I w…

---

## [Rspec2 and autotest](https://www.ruby-forum.com/t/rspec2-and-autotest/200066)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 4, 2010, 3:36am UTC](https://www.ruby-forum.com/t/rspec2-and-autotest/200066 "2010-12-04T03:36:32Z")

</div>

David: Glad to see that your book was just published. It’s been a life-changing read! I’m struggling with the best way to integrate autotest working in a rails project with RSpec 2. The latest autotest 4.4.6 gem seem…

---

## [Cant able to create a Rspec files](https://www.ruby-forum.com/t/cant-able-to-create-a-rspec-files/193045)

<div class="topic-metadata">

**Author:** [@arunachandu](https://www.ruby-forum.com/u/arunachandu)\
**Replies:** 1\
**Last updated:** [August 10, 2010, 3:27pm UTC](https://www.ruby-forum.com/t/cant-able-to-create-a-rspec-files/193045 "2010-08-10T15:27:28Z")

</div>

Hi, I am new to ROR. I am working on Rspec… I have been provided with a full package of an application. I kept it in my rails dir. The dir itself contains spec folder with some controllers/models and fixtures but w…

---

## [How do I configure ruby to mysql by default instead of sqlit](https://www.ruby-forum.com/t/how-do-i-configure-ruby-to-mysql-by-default-instead-of-sqlit/192625)

<div class="topic-metadata">

**Author:** [@reivilo](https://www.ruby-forum.com/u/reivilo)\
**Replies:** 1\
**Last updated:** [August 3, 2010, 2:20pm UTC](https://www.ruby-forum.com/t/how-do-i-configure-ruby-to-mysql-by-default-instead-of-sqlit/192625 "2010-08-03T14:20:42Z")

</div>

Hello, I am running Mac OS X 10.6.4 and have installed the following: ruby-1.9.1-p429 RubyGems 1.3.7 Rails 2.3.8 I am now getting an error because sqlite3 is not installed and I’ve read that there are issues instal…

---

## [How to test index method of a controller?](https://www.ruby-forum.com/t/how-to-test-index-method-of-a-controller/190972)

<div class="topic-metadata">

**Author:** [@marcioa1](https://www.ruby-forum.com/u/marcioa1)\
**Replies:** 1\
**Last updated:** [July 1, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/how-to-test-index-method-of-a-controller/190972 "2010-07-01T21:30:54Z")

</div>

Hi, My index methods def index @galleries = Gallery.filtered\_by(params.reverse\_merge!(:per\_page =\> 10)) end My spec: it "should list all galleries" do get :index response.should render\_template("index") end A…

---

## [InternalsVisibleTo](https://www.ruby-forum.com/t/internalsvisibleto/181451)

<div class="topic-metadata">

**Author:** [@andrew\_Wilson](https://www.ruby-forum.com/u/andrew_Wilson)\
**Replies:** 1\
**Last updated:** [January 12, 2010, 6:14am UTC](https://www.ruby-forum.com/t/internalsvisibleto/181451 "2010-01-12T06:14:13Z")

</div>

I know this is a bit of a longshot, but has anyone got an internalsvisibleto attribute to work so they could debug internal classes from ir itself? I tried to add the namespace “ir” and public key to the assembly I w…

---

## [What does as\_null\_object do?](https://www.ruby-forum.com/t/what-does-as-null-object-do/180671)

<div class="topic-metadata">

**Author:** [@t73net](https://www.ruby-forum.com/u/t73net)\
**Replies:** 1\
**Last updated:** [December 25, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/what-does-as-null-object-do/180671 "2009-12-25T17:23:45Z")

</div>

So I’m going through the rspec book right now, and get to page 72, as it introduces Spec::Mocks::Methods#as\_null\_object . In the book, it doesn’t describe how it operates, or much detail about it other than it tells to …

---

## [Autospec is running the full suite too often](https://www.ruby-forum.com/t/autospec-is-running-the-full-suite-too-often/180026)

<div class="topic-metadata">

**Author:** [@DEfusion](https://www.ruby-forum.com/u/DEfusion)\
**Replies:** 1\
**Last updated:** [December 10, 2009, 11:10am UTC](https://www.ruby-forum.com/t/autospec-is-running-the-full-suite-too-often/180026 "2009-12-10T11:10:43Z")

</div>

This is a problem I experience quite a bit: Create a spec and outline all the examples (as not yet implemented) Write the body of a example Autospec runs spec -\> fail Make that example pass Autospec runs spec -\> pass A…

---

## [Undefined method \`register' for Polyglot:Module](https://www.ruby-forum.com/t/undefined-method-register-for-polyglot-module/179166)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 1\
**Last updated:** [November 18, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/undefined-method-register-for-polyglot-module/179166 "2009-11-18T20:22:28Z")

</div>

Getting this error. I have the treetop, polyglot, and rspec libraries in the load\_path (not installed as a gem). Any ideas? What defines the register method? /home/jvandyk/dev/web/wpn\_rails/…/…/rcommon/lib/test/tre…

---

## [Features running in development mode](https://www.ruby-forum.com/t/features-running-in-development-mode/168151)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 1\
**Last updated:** [May 16, 2009, 11:43pm UTC](https://www.ruby-forum.com/t/features-running-in-development-mode/168151 "2009-05-16T23:43:44Z")

</div>

Hi, On my Rails app, when I run ‘rake features’, it runs it in development mode. Which is weird. And messes up my development database. What can I do to force it to run in test mode? Joe

---

## [ActionMailer-JavaMail Release](https://www.ruby-forum.com/t/actionmailer-javamail-release/168102)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 1\
**Last updated:** [May 15, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/actionmailer-javamail-release/168102 "2009-05-15T22:22:22Z")

</div>

Hey All, I’m pleased to share with you the ActionMailer-JavaMail gem. ActionMailer-JavaMail adds a delivery method to your Rails application that routes emails via the JavaMail API. In addition to being able to use…

---

## [\[Feature #1422\] Unused function rb\_ary\_to\_s](https://www.ruby-forum.com/t/feature-1422-unused-function-rb-ary-to-s/166845)

<div class="topic-metadata">

**Author:** [@T\_UJIHISA](https://www.ruby-forum.com/u/T_UJIHISA)\
**Replies:** 1\
**Last updated:** [April 30, 2009, 9:49am UTC](https://www.ruby-forum.com/t/feature-1422-unused-function-rb-ary-to-s/166845 "2009-04-30T09:49:45Z")

</div>

Feature #1422: Unused function rb\_ary\_to\_s http://redmine.ruby-lang.org/issues/show/1422 e$B5/I\<\<Te(B: T UJIHISA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal Target version: 1.9.2 ujihisae$B$H$$$$$^$9!#e(B Array#to…

---

## [Errori: e' cambiato qualcosa?](https://www.ruby-forum.com/t/errori-e-cambiato-qualcosa/158942)

<div class="topic-metadata">

**Author:** [@mauro](https://www.ruby-forum.com/u/mauro)\
**Replies:** 1\
**Last updated:** [January 29, 2009, 8:24pm UTC](https://www.ruby-forum.com/t/errori-e-cambiato-qualcosa/158942 "2009-01-29T20:24:01Z")

</div>

Uso rails 2.2. Con rails 2.1 gli errori si presentavano all’interno di un box rosso, ora il messaggio d’errore viene solo visualizzato in grassetto. Vi risulta?

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

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