# Top

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

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

---

## [Docker for Ruby on Rails](https://www.ruby-forum.com/t/docker-for-ruby-on-rails/243076)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [August 20, 2015, 1:43am UTC](https://www.ruby-forum.com/t/docker-for-ruby-on-rails/243076 "2015-08-20T01:43:23Z")

</div>

Is anyone here using Docker for Ruby on Rails? I’ve been boning up on Docker due to the promise of being able to reset Ruby on Rails instantly. (It takes a few minutes to destroy and rebuild my Debian Stable Vagrant…

---

## [Slow control external hardware](https://www.ruby-forum.com/t/slow-control-external-hardware/231238)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 30, 2014, 3:43pm UTC](https://www.ruby-forum.com/t/slow-control-external-hardware/231238 "2014-07-30T15:43:05Z")

</div>

Hello, I need to control a RF synthesizer from within a GNURadio flowchart updating some parameters on the base of some measurements obtained from processing data collected by an USRP. The synthesizer is connected th…

---

## [Nginx reverse proxy performance problems](https://www.ruby-forum.com/t/nginx-reverse-proxy-performance-problems/219889)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [May 22, 2012, 10:14am UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-performance-problems/219889 "2012-05-22T10:14:40Z")

</div>

nginx version: nginx/1.2.0 built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu3) TLS SNI support enabled configure arguments: --add-module=/tmp/chunkin --with-http\_ssl\_module –with-http\_sub\_module --with-http\_gzip\_static…

---

## [Can't POST using Ruby 1.9.2 -- get Apache error](https://www.ruby-forum.com/t/cant-post-using-ruby-1-9-2-get-apache-error/201261)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 11, 2011, 9:59pm UTC](https://www.ruby-forum.com/t/cant-post-using-ruby-1-9-2-get-apache-error/201261 "2011-01-11T21:59:29Z")

</div>

I have both ruby-1.8.7-p330 and ruby-1.9.2-p136 installed on my CentOS server. I’m using Passenger (3.0.2) and Apache 2.2.3. When using ruby-1.8.7, my app seems to be working fine. When I change to ruby-1.9.2, GET req…

---

## [How can i install ruby on rails in ubuntu](https://www.ruby-forum.com/t/how-can-i-install-ruby-on-rails-in-ubuntu/185871)

<div class="topic-metadata">

**Author:** [@sachiguns](https://www.ruby-forum.com/u/sachiguns)\
**Replies:** 6\
**Last updated:** [March 28, 2010, 12:42pm UTC](https://www.ruby-forum.com/t/how-can-i-install-ruby-on-rails-in-ubuntu/185871 "2010-03-28T12:42:20Z")

</div>

i am new to rails so please help me to install ruby on rails to my ubuntu 9.10 Thanks

---

## [Profile format to give overall time...?](https://www.ruby-forum.com/t/profile-format-to-give-overall-time/162734)

<div class="topic-metadata">

**Author:** [@sshingler](https://www.ruby-forum.com/u/sshingler)\
**Replies:** 6\
**Last updated:** [March 13, 2009, 3:12pm UTC](https://www.ruby-forum.com/t/profile-format-to-give-overall-time/162734 "2009-03-13T15:12:36Z")

</div>

Hi all, How can I get cucumber to tell me how long my entire feature set has taken to run? (In the same way that RSpec does, for example) I have taken a look at the profile formatter, which is very cool and useful b…

---

## [Validation - set focus](https://www.ruby-forum.com/t/validation-set-focus/161859)

<div class="topic-metadata">

**Author:** [@srikanth\_j](https://www.ruby-forum.com/u/srikanth_j)\
**Replies:** 6\
**Last updated:** [March 3, 2009, 9:38am UTC](https://www.ruby-forum.com/t/validation-set-focus/161859 "2009-03-03T09:38:22Z")

</div>

hi, Is there any way to set focus in a particular field, after validation in rails?? or we have to use only javascript. For example., validates\_presence\_of :username (assume there is no username given) after valid…

---

## [Cancel upload button](https://www.ruby-forum.com/t/cancel-upload-button/146265)

<div class="topic-metadata">

**Author:** [@joan2kus](https://www.ruby-forum.com/u/joan2kus)\
**Replies:** 6\
**Last updated:** [August 20, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/cancel-upload-button/146265 "2008-08-20T20:18:35Z")

</div>

How can I add a cancel button next to the upload button which will stop the uploading of multiple files, and how would it be done? Your reply is appreciated.

---

## [MS SQL 2005 Express and MySQL on Windows](https://www.ruby-forum.com/t/ms-sql-2005-express-and-mysql-on-windows/142760)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 6\
**Last updated:** [July 11, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/ms-sql-2005-express-and-mysql-on-windows/142760 "2008-07-11T19:25:37Z")

</div>

The short question: Has anybody successfully connected to both MS SQL 2005 Express and MySQL databases using Ruby on Windows XP? How? The long description: My company’s point-of-sale system uses MS SQL. A recent upgr…

---

## [Testing that named\_scope is defined](https://www.ruby-forum.com/t/testing-that-named-scope-is-defined/137533)

<div class="topic-metadata">

**Author:** [@helder](https://www.ruby-forum.com/u/helder)\
**Replies:** 6\
**Last updated:** [May 14, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/testing-that-named-scope-is-defined/137533 "2008-05-14T20:33:26Z")

</div>

Hi guys, I’m just beginning to use RSpec and I ran into the issue of testing a named\_scope. I’m not actually trying to test its behavior, as it’s not my code, but I wanted to test at least that it’s defined. I tried …

---

## [Frequency ranges for basic tx/rx d'boards](https://www.ruby-forum.com/t/frequency-ranges-for-basic-tx-rx-dboards/112836)

<div class="topic-metadata">

**Author:** [@george\_n](https://www.ruby-forum.com/u/george_n)\
**Replies:** 6\
**Last updated:** [August 23, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/frequency-ranges-for-basic-tx-rx-dboards/112836 "2007-08-23T20:15:30Z")

</div>

Hey all, I’m slightly confused. I’m trying to find an antenna to use with the basic TX/RX boards to transmit and receive over the air. What frequency ranges do the basic TX/RX boards do? After checking the wiki, it…

---

## [Benchmark segfault \]](https://www.ruby-forum.com/t/benchmark-segfault/106607)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 6\
**Last updated:** [June 12, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/benchmark-segfault/106607 "2007-06-12T17:52:04Z")

</div>

On 11/06/07, Robert K. removed\_email\_address@domain.invalid wrote: Benchmark::bmbm do |x| two-bang 1604.816667 1.350000 1606.166667 (963.803356) x.report(“zip”) { Hash\[ \*id\_list.zip(id\_list.collect {|e| e.obj…

---

## [Question to measure SNR](https://www.ruby-forum.com/t/question-to-measure-snr/163844)

<div class="topic-metadata">

**Author:** [@feldmaus](https://www.ruby-forum.com/u/feldmaus)\
**Replies:** 1\
**Last updated:** [March 25, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/question-to-measure-snr/163844 "2009-03-25T20:56:31Z")

</div>

Hi ALL, i saw there is a function called \<gr\_probe\_mpsk\_snr\_c\>, but i doesn’t know how to get this to work. Is there a example which is using this function ? Can i use this to measure my SNR ? I have a test sin sign…

---

## [Bitmap -\> GIF/PNG/JPG](https://www.ruby-forum.com/t/bitmap-gif-png-jpg/104672)

<div class="topic-metadata">

**Author:** [@mike343](https://www.ruby-forum.com/u/mike343)\
**Replies:** 1\
**Last updated:** [May 21, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/bitmap-gif-png-jpg/104672 "2007-05-21T14:00:20Z")

</div>

Hi, Can anyone please recommend a package for generating images from a bitmap vector. e.g. If I have an list of integers, each representing a colour on the bitmap, and I want to build a GIF from it (along with some o…

---

## [Undefined local variable or method \`class\_name' error when m](https://www.ruby-forum.com/t/undefined-local-variable-or-method-class-name-error-when-m/92892)

<div class="topic-metadata">

**Author:** [@Sharon\_C](https://www.ruby-forum.com/u/Sharon_C)\
**Replies:** 1\
**Last updated:** [April 25, 2007, 3:02pm UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-class-name-error-when-m/92892 "2007-04-25T15:02:56Z")

</div>

I am trying to migrage our SQL database from 0.5.2 to 0.6. When I run rake production db:migrate I receive the following error C:\\RailsApps\\Radiant6\>rake production db:migrate (in C:/RailsApps/Radiant6) Extensions ca…

---

## [Get UUID and device name](https://www.ruby-forum.com/t/get-uuid-and-device-name/267632)

<div class="topic-metadata">

**Author:** [@Luc-Antoine](https://www.ruby-forum.com/u/Luc-Antoine)\
**Replies:** 0\
**Last updated:** [April 17, 2025, 2:42pm UTC](https://www.ruby-forum.com/t/get-uuid-and-device-name/267632 "2025-04-17T14:42:21Z")

</div>

Hello, To check the identity of a user, I need to get the UUID of his device. In the development environment, I use this code : report = \`system\_profiler SPNetworkDataType SPHardwareDataType | grep -e 'Hardware UUID:'…

---

## [Ruby on Rails Dev for musik-streaming portal in Cologne - Germany wanted](https://www.ruby-forum.com/t/ruby-on-rails-dev-for-musik-streaming-portal-in-cologne-germany-wanted/227142)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 0\
**Last updated:** [March 5, 2013, 3:33pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-dev-for-musik-streaming-portal-in-cologne-germany-wanted/227142 "2013-03-05T15:33:46Z")

</div>

Currently i am searching for my Client in Cologne - Germany thi Profile: music- and technology enthusiasts, which combines passion, hard-work and fun to change the way people will listen to music in the future. tarti…

---

## [Rows go missing when seen through APACHE but through Mongrail, works fine](https://www.ruby-forum.com/t/rows-go-missing-when-seen-through-apache-but-through-mongrail-works-fine/204342)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 8:32am UTC](https://www.ruby-forum.com/t/rows-go-missing-when-seen-through-apache-but-through-mongrail-works-fine/204342 "2011-03-10T08:32:54Z")

</div>

Hi, In my site, I have implemented a functionality where we can fetch upto 100000 rows and display all of it at one shot on the GUI, through Java interface. Now, when I start my client through mongrail ( ./script/ser…

---

## [Counting words with some exceptions](https://www.ruby-forum.com/t/counting-words-with-some-exceptions/242531)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [July 2, 2015, 8:32am UTC](https://www.ruby-forum.com/t/counting-words-with-some-exceptions/242531 "2015-07-02T08:32:59Z")

</div>

Say that we want to count the number of words in a document. I know we can do the following: text.each\_line(){ |line| totalWords = totalWords + line.split.size } Say, that I just want to add some exceptions, such that…

---

## [Modificare le query ActiveRecord](https://www.ruby-forum.com/t/modificare-le-query-activerecord/238463)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [January 14, 2014, 3:01am UTC](https://www.ruby-forum.com/t/modificare-le-query-activerecord/238463 "2014-01-14T03:01:22Z")

</div>

Utilizzo il seguente codice per popolare una tabella contenente un model Movie che a sua volta contiene delle relazioni movies = Movie.order("#{sort\_column}") def sort\_column columns = %w\[created\_at author.name\] col…

---

## [How to edit each line of a file in ruby, without using a temp file](https://www.ruby-forum.com/t/how-to-edit-each-line-of-a-file-in-ruby-without-using-a-temp-file/223379)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 8, 2012, 8:13am UTC](https://www.ruby-forum.com/t/how-to-edit-each-line-of-a-file-in-ruby-without-using-a-temp-file/223379 "2012-10-08T08:13:01Z")

</div>

Hi, Is there a way to edit each line in a file, without involving 2 files? Say, the original file has, test01 test02 test03 I want to edit it like test01,a test02,a test03,a Tried something like this, but it r…

---

## [Populate combo box from database without repeatness](https://www.ruby-forum.com/t/populate-combo-box-from-database-without-repeatness/194657)

<div class="topic-metadata">

**Author:** [@PalaniKannan\_K](https://www.ruby-forum.com/u/PalaniKannan_K)\
**Replies:** 4\
**Last updated:** [September 9, 2010, 4:47pm UTC](https://www.ruby-forum.com/t/populate-combo-box-from-database-without-repeatness/194657 "2010-09-09T16:47:33Z")

</div>

Hi, I have a column of data with repeated as mentioned below. column\_name Acer Lenova HP Lenova Acer Acer Lenova I need to populate this column in a combo box without repeated data as mentioned below combo b…

---

## [Confirmation of contributor status...?](https://www.ruby-forum.com/t/confirmation-of-contributor-status/186813)

<div class="topic-metadata">

**Author:** [@Zac\_Brown](https://www.ruby-forum.com/u/Zac_Brown)\
**Replies:** 4\
**Last updated:** [April 14, 2010, 7:57pm UTC](https://www.ruby-forum.com/t/confirmation-of-contributor-status/186813 "2010-04-14T19:57:59Z")

</div>

Hi, I sent an email to ssiadmin asking them to add me as a contributor to IronRuby but haven’t heard a peep out of them. What’s the usual turn around for emails sent to them? Sidenote: I asked to be confirmed on this…

---

## [Jruby and ruby on mac](https://www.ruby-forum.com/t/jruby-and-ruby-on-mac/182878)

<div class="topic-metadata">

**Author:** [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Replies:** 4\
**Last updated:** [February 5, 2010, 8:14am UTC](https://www.ruby-forum.com/t/jruby-and-ruby-on-mac/182878 "2010-02-05T08:14:52Z")

</div>

Hi Comunity, I developed some Ruby on Rails webapplications. I heard a lot of JRuby and the capability to embed Java classes. My question, is it possible to run an existent Ruby on Rails application using JRuby? May…

---

## [SMTP settings for action mailer](https://www.ruby-forum.com/t/smtp-settings-for-action-mailer/157184)

<div class="topic-metadata">

**Author:** [@tyanlion](https://www.ruby-forum.com/u/tyanlion)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 10:18am UTC](https://www.ruby-forum.com/t/smtp-settings-for-action-mailer/157184 "2009-01-08T10:18:04Z")

</div>

with rails 2.2.2 action mailer requires a valid ssl certificate i have a question about routing my smtp settings for my postfix are now ActionMailer::Base.smtp\_settings = { :address =\> “smtp.mydomain.com”, :port =\> …

---

## [Remote\_form\_for, replace... et approche REST](https://www.ruby-forum.com/t/remote-form-for-replace-et-approche-rest/119375)

<div class="topic-metadata">

**Author:** [@JSSSSrSSSSmy\_Dierx](https://www.ruby-forum.com/u/JSSSSrSSSSmy_Dierx)\
**Replies:** 4\
**Last updated:** [November 7, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/remote-form-for-replace-et-approche-rest/119375 "2007-11-07T14:50:38Z")

</div>

Bonjour, est-il possible d’actualiser par xhr un partial “fait” pour un appel remote\_form\_for ? Bon, un exemple sera plus parlant : Voici ma vue : \<% remote\_form\_for(:film, :url =\> film\_path(@film), :html =\> {:metho…

---

## [Excel Chart](https://www.ruby-forum.com/t/excel-chart/76161)

<div class="topic-metadata">

**Author:** [@pascalschudel](https://www.ruby-forum.com/u/pascalschudel)\
**Replies:** 4\
**Last updated:** [November 17, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/excel-chart/76161 "2006-11-17T14:34:06Z")

</div>

Hey at all I’ve a question about excel chart: i want to export some data into excel and generate a chart with different styles. unfortunately, the generated chart is in fullscreeen-mode. how can i set the size by ge…

---

## [TinyMCE security problems](https://www.ruby-forum.com/t/tinymce-security-problems/73087)

<div class="topic-metadata">

**Author:** [@donut](https://www.ruby-forum.com/u/donut)\
**Replies:** 4\
**Last updated:** [October 21, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/tinymce-security-problems/73087 "2006-10-21T19:10:16Z")

</div>

Hi, I’ve just integrated TinyMCE into my website. But then I started reading some Cross Site Scripting Attacks articles and now I’m worried. TinyMCE allows users to type in any HTML code and so users can write javas…

---

## [Is old school STI broken? How would you do the same now?](https://www.ruby-forum.com/t/is-old-school-sti-broken-how-would-you-do-the-same-now/93458)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 4\
**Last updated:** [April 4, 2006, 4:18pm UTC](https://www.ruby-forum.com/t/is-old-school-sti-broken-how-would-you-do-the-same-now/93458 "2006-04-04T16:18:46Z")

</div>

So this new STI :through thing is still not clear to me. I have a project now where I’m using this: class List \< ActiveRecord::Base belongs\_to :user end class StaticList \< List has\_and\_belongs\_to\_many :items end …

---

## [Params from web form](https://www.ruby-forum.com/t/params-from-web-form/252740)

<div class="topic-metadata">

**Author:** [@jon2jay](https://www.ruby-forum.com/u/jon2jay)\
**Replies:** 2\
**Last updated:** [July 19, 2019, 6:12pm UTC](https://www.ruby-forum.com/t/params-from-web-form/252740 "2019-07-19T18:12:46Z")

</div>

Hello everyone, need some quick assistance. Having difficulty grabbing these two variables and including them in a post url. You can see ruby pulls the POST variables as expected (testing using p params or params.to\_s) …

---

## [Output\_buffers value breaks thread\_pool/aio on 1.9.5+](https://www.ruby-forum.com/t/output-buffers-value-breaks-thread-pool-aio-on-1-9-5/243575)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [December 7, 2015, 4:57pm UTC](https://www.ruby-forum.com/t/output-buffers-value-breaks-thread-pool-aio-on-1-9-5/243575 "2015-12-07T16:57:41Z")

</div>

Hi Since 1.9.5, \*) Change: now the “output\_buffers” directive uses two buffers by default. The two buffers do not work with thread\_pool/aio, the connection is closed at 32,768 bytes (size of one buffer) These messa…

---

## [Compile with eigen](https://www.ruby-forum.com/t/compile-with-eigen/239671)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 10, 2014, 10:59am UTC](https://www.ruby-forum.com/t/compile-with-eigen/239671 "2014-03-10T10:59:09Z")

</div>

hi ,all i write a block whit eigen library,and what should i do when to compile with this library,such as add something in the Cmakelist.txt or Makefile , i’m sorry ,i donot familiar with this thanks, BZS

---

## [Gem rails installs 3.2.2, doesn't seem to find my sprockets gem](https://www.ruby-forum.com/t/gem-rails-installs-3-2-2-doesnt-seem-to-find-my-sprockets-gem/217756)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 12, 2012, 4:06am UTC](https://www.ruby-forum.com/t/gem-rails-installs-3-2-2-doesnt-seem-to-find-my-sprockets-gem/217756 "2012-03-12T04:06:28Z")

</div>

So I was just doing a new gem install of rails and am encountering an odd problem. Here’s what I am seeing. gem install actionpack-3.2.2 -l ERROR: While executing gem … (Gem::DependencyError) Unable to resolve dep…

---

## [URL helpers not working in test](https://www.ruby-forum.com/t/url-helpers-not-working-in-test/214669)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 12, 2011, 10:18pm UTC](https://www.ruby-forum.com/t/url-helpers-not-working-in-test/214669 "2011-12-12T22:18:40Z")

</div>

I’ve been neglecting these errors for a weeks because I don’t know what’s going on. My environment is rspec, capybara and factory\_girl under Rails 3.1.3 and Ruby 1.9.2. I’m also using spork and guard but this happens …

---

## [Rake question - loops and tasks](https://www.ruby-forum.com/t/rake-question-loops-and-tasks/214614)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 8, 2011, 9:19am UTC](https://www.ruby-forum.com/t/rake-question-loops-and-tasks/214614 "2011-12-08T09:19:24Z")

</div>

Hi, I have a general question regarding rake: Say I have a list of files (based on file extension), that all need to be processed in the same way. The output of this processing is required by a downstream task. How d…

---

## [Refresh combobox context](https://www.ruby-forum.com/t/refresh-combobox-context/210819)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [August 23, 2011, 6:47am UTC](https://www.ruby-forum.com/t/refresh-combobox-context/210819 "2011-08-23T06:47:53Z")

</div>

How to refresh combobox context? I want to load a file which it have lots of header on each column, I put each header into combobox, let someone to select which header column does he want to parser. When I re-select…

---

## [Expect Module and Bash script](https://www.ruby-forum.com/t/expect-module-and-bash-script/84363)

<div class="topic-metadata">

**Author:** [@R.B.Love](https://www.ruby-forum.com/u/R.B.Love)\
**Replies:** 2\
**Last updated:** [February 4, 2007, 1:30am UTC](https://www.ruby-forum.com/t/expect-module-and-bash-script/84363 "2007-02-04T01:30:30Z")

</div>

How do I use ruby expect to feed input to a simple bash script? Here is a minimal example of what I’m trying to do. All help appreciated. First, the simple bash script. When run from the command line it performs as…

---

## [Behavior of security headers](https://www.ruby-forum.com/t/behavior-of-security-headers/233960)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 26, 2015, 3:36pm UTC](https://www.ruby-forum.com/t/behavior-of-security-headers/233960 "2015-01-26T15:36:26Z")

</div>

Hi, I’ve a question regarding the different security headers (Content-Security-Policy, etc.) which can be set via add\_header. In the docs it is mentioned that “add\_header” can be set on every level (http, server, loc…

---

## [2 certs, 1 domain, 1 IP](https://www.ruby-forum.com/t/2-certs-1-domain-1-ip/232066)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [September 19, 2014, 4:29pm UTC](https://www.ruby-forum.com/t/2-certs-1-domain-1-ip/232066 "2014-09-19T16:29:48Z")

</div>

is it possible with SNI and nginx to have both an ECDSA and RSA cert serving 1 website on 1 IP ? best practices ?

---

## [Error while running transceiver.py in 802.15.4 on GR 3.7](https://www.ruby-forum.com/t/error-while-running-transceiver-py-in-802-15-4-on-gr-3-7/240271)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 7, 2014, 5:52pm UTC](https://www.ruby-forum.com/t/error-while-running-transceiver-py-in-802-15-4-on-gr-3-7/240271 "2014-04-07T17:52:27Z")

</div>

Hello GR, Did anyone encountered such an error while running the transceiver.py script of 802.15.4 on GR 3.7 thread\[thread-per-block\[20\]: \<block tagged\_stream\_to\_pdu (10)\>\]: tagged stream does not contain a pdu\_leng…

---

## [Question about collection\_check\_box](https://www.ruby-forum.com/t/question-about-collection-check-box/237850)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [December 3, 2013, 8:09pm UTC](https://www.ruby-forum.com/t/question-about-collection-check-box/237850 "2013-12-03T20:09:49Z")

</div>

Hi there, i want to use collection\_check\_boxes (in rails 4) but i am a little bit stuck… okay, first things first: i have 2 models: class Supervisioncategory \< ActiveRecord::Base has\_many :phonenotes end and cla…

---

## [Installing Tomcat using Ruby](https://www.ruby-forum.com/t/installing-tomcat-using-ruby/228828)

<div class="topic-metadata">

**Author:** [@lavanya](https://www.ruby-forum.com/u/lavanya)\
**Replies:** 5\
**Last updated:** [May 22, 2013, 4:59pm UTC](https://www.ruby-forum.com/t/installing-tomcat-using-ruby/228828 "2013-05-22T16:59:58Z")

</div>

Hello, I want to know whether we can install Tomcat server through ruby script. If yes, then how can we do it? What are the requirements? I have a code from Opsworks. I got it from the following link. http://communit…

---

## [Router error!](https://www.ruby-forum.com/t/router-error/205592)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 10, 2011, 1:33pm UTC](https://www.ruby-forum.com/t/router-error/205592 "2011-04-10T13:33:04Z")

</div>

Hi everyone, I am adding a new action(again) in exiting scaffold generated controller(logins). there is router problem. Couldn’t find Login with ID=again i have rails 2.3.8 ruby 1.8.6 what code will i add in my rou…

---

## [How to disable valid\_referers?](https://www.ruby-forum.com/t/how-to-disable-valid-referers/198910)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 10, 2010, 2:46pm UTC](https://www.ruby-forum.com/t/how-to-disable-valid-referers/198910 "2010-11-10T14:46:45Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, Say if I have many files under / (document root), all of them need hotlink protection, except one. I set valid\_referers for location / as default, how could I s…

---

## [Pasar un array a una vista de ActionMailer](https://www.ruby-forum.com/t/pasar-un-array-a-una-vista-de-actionmailer/151898)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 5\
**Last updated:** [October 27, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/pasar-un-array-a-una-vista-de-actionmailer/151898 "2008-10-27T17:58:55Z")

</div>

Hola, estoy creando un envio de mail y tengo un problema que no se como solucionar: Necesito pasar un Array con instancias de variable a la plantilla, tengo esto: def notify\_assign\_advantages\_email(user,adv) #adv es …

---

## [Sorting and getting occurrences of search in hit](https://www.ruby-forum.com/t/sorting-and-getting-occurrences-of-search-in-hit/105924)

<div class="topic-metadata">

**Author:** [@mattias](https://www.ruby-forum.com/u/mattias)\
**Replies:** 5\
**Last updated:** [June 16, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/sorting-and-getting-occurrences-of-search-in-hit/105924 "2007-06-16T20:10:23Z")

</div>

Is there any way you could get the number of occurrences of the search in one hit? In a result I get the ferret\_rank and ferret\_score but not how many hits the search generated in the current record. I would also lik…

---

## [Acts\_as\_ferret with STI models](https://www.ruby-forum.com/t/acts-as-ferret-with-sti-models/76769)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 5\
**Last updated:** [November 21, 2006, 6:08am UTC](https://www.ruby-forum.com/t/acts-as-ferret-with-sti-models/76769 "2006-11-21T06:08:16Z")

</div>

Can acts\_as\_ferret search only one of the inherit models in the hierarchy of STI models? Say you have Contents, with types articles and comments. I know that you do Contents.find\_by\_contents, but can you also create …

---

## [Upload de fichiers et Ajax-isation "intensive"](https://www.ruby-forum.com/t/upload-de-fichiers-et-ajax-isation-intensive/65257)

<div class="topic-metadata">

**Author:** [@Geoffroy\_C](https://www.ruby-forum.com/u/Geoffroy_C)\
**Replies:** 5\
**Last updated:** [August 18, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/upload-de-fichiers-et-ajax-isation-intensive/65257 "2006-08-18T22:09:24Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bonjour ! Parce que j’utilise des ‘chats’ en flash (objet XMLStream dans ECMAScript qui permet d’avoir une charge bien moindre qu’avec un chat en Ajax) et que je veux qu…

---

## [I can't see my app](https://www.ruby-forum.com/t/i-cant-see-my-app/96926)

<div class="topic-metadata">

**Author:** [@troccoli](https://www.ruby-forum.com/u/troccoli)\
**Replies:** 5\
**Last updated:** [July 4, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/i-cant-see-my-app/96926 "2006-07-04T18:27:20Z")

</div>

Hello everybody, I was able to set up Ruby 1.8.4 on Rails, using Apache 2.2.2 and MySql 5.0.22 and if you go to http://spagnolo.troccoli.it you have the nice “Welcome abroad” page. I have created a table (modes) with…

---

## [Overriding default DELETE behavior with logical deletes](https://www.ruby-forum.com/t/overriding-default-delete-behavior-with-logical-deletes/60988)

<div class="topic-metadata">

**Author:** [@kigster](https://www.ruby-forum.com/u/kigster)\
**Replies:** 5\
**Last updated:** [May 19, 2006, 8:30pm UTC](https://www.ruby-forum.com/t/overriding-default-delete-behavior-with-logical-deletes/60988 "2006-05-19T20:30:58Z")

</div>

Hello! I am trying to figure out how to implement logical deletes instead of physical deletes using ActiveRecord. Basically, in many applications that deal with E-Commerce, you really can’t physically delete almost …

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

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