# Top

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

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

---

## [Pre-RubyConf Gathering](https://www.ruby-forum.com/t/pre-rubyconf-gathering/72614)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 8\
**Last updated:** [October 18, 2006, 10:44am UTC](https://www.ruby-forum.com/t/pre-rubyconf-gathering/72614 "2006-10-18T10:44:16Z")

</div>

A small gathering is being planned for the RubyConf early arrivals. If you will be in Denver on Thursday evening, Oct 19, Ara and I were planning on getting together at the “Southern Sun” in Boulder (not too far from …

---

## [SSL\_write() failed (SSL:) (1: operation not permitted) when serving MP4 over HTTPS](https://www.ruby-forum.com/t/ssl-write-failed-ssl-1-operation-not-permitted-when-serving-mp4-over-https/231504)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 12, 2014, 2:48pm UTC](https://www.ruby-forum.com/t/ssl-write-failed-ssl-1-operation-not-permitted-when-serving-mp4-over-https/231504 "2014-08-12T14:48:10Z")

</div>

Hi, I’ve searched the mailing list but haven’t found anything relating to this error:, the closest I found: #428 (SPDY and Proxy Cache prematurely closes connections) – nginx - however that was closed 6 weeks ago and…

---

## [CSV Import Issue](https://www.ruby-forum.com/t/csv-import-issue/219388)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 1, 2012, 8:08pm UTC](https://www.ruby-forum.com/t/csv-import-issue/219388 "2012-05-01T20:08:12Z")

</div>

Hi, This seems to be a very small error but I cannot find any solution to this problem… I am trying to use the CSV gem in my rails(3.2) application(ruby 1.9.3) and I am getting an error “NoMethodError”. My controller …

---

## [Publishing an ical calendar?](https://www.ruby-forum.com/t/publishing-an-ical-calendar/115365)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 2\
**Last updated:** [September 24, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/publishing-an-ical-calendar/115365 "2007-09-24T15:12:14Z")

</div>

I have a table of events and want to create an action in one of my controllers to allow people to subscribe to an ical so these events will show up in their calendar. Any ideas on how I would do this? I couldnt find a…

---

## [Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)](https://www.ruby-forum.com/t/rails-3-errno-address-family-not-supported-by-protocol-socket-2/219232)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [April 24, 2012, 8:35pm UTC](https://www.ruby-forum.com/t/rails-3-errno-address-family-not-supported-by-protocol-socket-2/219232 "2012-04-24T20:35:23Z")

</div>

Hi Guys, Facing a weird error . Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2) It seems to be happening with mail sending mail . I am using AUTHSMTP to send mails . Unable to send mail and…

---

## [Add header on custom error page](https://www.ruby-forum.com/t/add-header-on-custom-error-page/211552)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 7, 2011, 4:08am UTC](https://www.ruby-forum.com/t/add-header-on-custom-error-page/211552 "2011-09-07T04:08:34Z")

</div>

Hi, i’m trying to add a ‘X-ua-compatible’ header on a custom 444 error page like below. but this does not work. do you have any suggestions on how to do this? Any advise will be appreciated. Thanks. error\_page 44…

---

## [Extracting and storing certain parameters from continuous IQ data](https://www.ruby-forum.com/t/extracting-and-storing-certain-parameters-from-continuous-iq-data/234535)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 11, 2015, 11:03pm UTC](https://www.ruby-forum.com/t/extracting-and-storing-certain-parameters-from-continuous-iq-data/234535 "2015-03-11T23:03:16Z")

</div>

Hello everyone, So I was trying to capture continuous IQ data from my USRP N200, and this needs to be done for about a week, but because the amount of data is ginormous, that’s doesn’t seem feasible at all. Instead, …

---

## [After adding the item, an error undefined method \`key?' for nil:NilClass](https://www.ruby-forum.com/t/after-adding-the-item-an-error-undefined-method-key-for-nil-nilclass/227493)

<div class="topic-metadata">

**Author:** [@dmitrij\_b](https://www.ruby-forum.com/u/dmitrij_b)\
**Replies:** 5\
**Last updated:** [March 18, 2013, 9:39am UTC](https://www.ruby-forum.com/t/after-adding-the-item-an-error-undefined-method-key-for-nil-nilclass/227493 "2013-03-18T09:39:44Z")

</div>

Hey. After adding the item, an error undefined method \`key?’ for nil:NilClass its my controller products: … GET /products/new GET /products/new.json def new @product = Product.new respond\_to do |format| format.ht…

---

## [Torino coders](https://www.ruby-forum.com/t/torino-coders/235279)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [June 11, 2013, 3:15pm UTC](https://www.ruby-forum.com/t/torino-coders/235279 "2013-06-11T15:15:25Z")

</div>

Probabilmente mi sono perso qualche giro di mail riusciamo ad organizzarci per qualcosa qui da noi? Qualche marted fa alla Societ Anonima sembrava che ci fosse l’interesse e anche al GI/O qualcuno interessato c’era A…

---

## [Understanding rspec predicates](https://www.ruby-forum.com/t/understanding-rspec-predicates/212689)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 12, 2011, 3:50am UTC](https://www.ruby-forum.com/t/understanding-rspec-predicates/212689 "2011-10-12T03:50:13Z")

</div>

I know I can do: blah.should be\_empty or blah.should have\_key(:to\_my\_house) … But, is there a way to do: str = “lmaonade omg rotfcopter!” str.should start\_with(“lmao”) Or is it just best to do: str.starts\_with?(…

---

## [Ruby cross-platform File.basename](https://www.ruby-forum.com/t/ruby-cross-platform-file-basename/183265)

<div class="topic-metadata">

**Author:** [@bwv549](https://www.ruby-forum.com/u/bwv549)\
**Replies:** 6\
**Last updated:** [February 11, 2010, 12:49am UTC](https://www.ruby-forum.com/t/ruby-cross-platform-file-basename/183265 "2010-02-11T00:49:42Z")

</div>

What is the best idiom for generating a cross-platform basename? (i.e., one that will still give the basename of a windows file on linux and the basename of a linux file on windows). filenames = \[“C:\\path\\to\\file.txt”…

---

## [Controlling concurrency](https://www.ruby-forum.com/t/controlling-concurrency/165557)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 6\
**Last updated:** [April 16, 2009, 12:03am UTC](https://www.ruby-forum.com/t/controlling-concurrency/165557 "2009-04-16T00:03:03Z")

</div>

What do you think is the best way to manage concurrency in this (made up) scenario? You are selling Orders for items of various ProductVariants, belonging to one Product There may be an upper limit to how many Orders…

---

## [Anyone knows this warning?](https://www.ruby-forum.com/t/anyone-knows-this-warning/156989)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 6\
**Last updated:** [January 7, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/anyone-knows-this-warning/156989 "2009-01-07T14:57:37Z")

</div>

When my ruby runs an external program, it will get this warning: warning: Insecure world writable dir SOMEDIR I have checked the SOMEDIR and its permission mode is 777. Does anyone know this warning? How can I avoid t…

---

## [Split not returning an array?](https://www.ruby-forum.com/t/split-not-returning-an-array/146794)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 6\
**Last updated:** [August 25, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/split-not-returning-an-array/146794 "2008-08-25T16:17:45Z")

</div>

Hi there, I start out with a string containing at least 1 ‘+’ separating words in it. I’m trying to get an array using str.split(’+’), so I can use each word to do something different. So for example, I have string = …

---

## [Summing members of a vector](https://www.ruby-forum.com/t/summing-members-of-a-vector/231664)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 24, 2014, 12:47pm UTC](https://www.ruby-forum.com/t/summing-members-of-a-vector/231664 "2014-08-24T12:47:20Z")

</div>

I am trying to find a block in the gnuradio-companion 3.7.3 that will allow me to sum the members of a vector. The example wouldbe that I have a complex to mag block with a vector length of 64 output that is being con…

---

## [Autospec on rails keep rerunning on failed case, and never stop](https://www.ruby-forum.com/t/autospec-on-rails-keep-rerunning-on-failed-case-and-never-stop/201794)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 17, 2011, 9:56pm UTC](https://www.ruby-forum.com/t/autospec-on-rails-keep-rerunning-on-failed-case-and-never-stop/201794 "2011-01-17T21:56:57Z")

</div>

Hi there, I met a problem when I’m using RSpec(1.3.0) on rails. I installed rspec(1.3.1) and rspec-rails(1.3.3) installed through rails script/plugin install from github. I run autospec at $RAILS\_ROOT, and if the tes…

---

## [Inserting into sqlite3](https://www.ruby-forum.com/t/inserting-into-sqlite3/172933)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 3\
**Last updated:** [August 7, 2009, 5:04am UTC](https://www.ruby-forum.com/t/inserting-into-sqlite3/172933 "2009-08-07T05:04:05Z")

</div>

I have a text file, called maillog that I want to insert into a table. My pseudo-code is open mail file connect to database =\> ‘require dbi’ here? create table for maillog data create primary key in table for each …

---

## [Compatibility Issues?](https://www.ruby-forum.com/t/compatibility-issues/160351)

<div class="topic-metadata">

**Author:** [@woodzer](https://www.ruby-forum.com/u/woodzer)\
**Replies:** 4\
**Last updated:** [February 16, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/compatibility-issues/160351 "2009-02-16T21:45:18Z")

</div>

I’m running Ruby 1.9.1 (Win32) and I installed the wxruby-1.9.10-x86-mswin32-60 gem. But when I try to run a script with it, I get an error, “This application has failed to start because msvcrt-ruby18.dll was not fou…

---

## [How to round up a float number?](https://www.ruby-forum.com/t/how-to-round-up-a-float-number/81935)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 4\
**Last updated:** [January 17, 2007, 1:56am UTC](https://www.ruby-forum.com/t/how-to-round-up-a-float-number/81935 "2007-01-17T01:56:28Z")

</div>

for example: i = 0.33533333333 round up to “0.34” thanks.

---

## [E-mail validtor?](https://www.ruby-forum.com/t/e-mail-validtor/60148)

<div class="topic-metadata">

**Author:** [@jon-d](https://www.ruby-forum.com/u/jon-d)\
**Replies:** 8\
**Last updated:** [May 11, 2006, 5:20pm UTC](https://www.ruby-forum.com/t/e-mail-validtor/60148 "2006-05-11T17:20:34Z")

</div>

Does anyone have a good working e-mail validator? or even some regexp to make the validates\_format\_of work right… that would be awesome. Also, maybe an online tutorial for regexp. i’ve always been afraid of it but i t…

---

## [Rails 1.1: not-null constraint violations](https://www.ruby-forum.com/t/rails-1-1-not-null-constraint-violations/89529)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 8\
**Last updated:** [March 29, 2006, 9:04am UTC](https://www.ruby-forum.com/t/rails-1-1-not-null-constraint-violations/89529 "2006-03-29T09:04:25Z")

</div>

Since upgrading to Rails 1.1, I now get these errors: PGError: ERROR: null value in column “added” violates not-null constraint : INSERT INTO authors (“added”, …) VALUES(NULL, …) The ‘added’ column has a default of …

---

## [Ruby for Data Science: Handling Large Datasets Efficiently](https://www.ruby-forum.com/t/ruby-for-data-science-handling-large-datasets-efficiently/264265)

<div class="topic-metadata">

**Author:** [@Mark01](https://www.ruby-forum.com/u/Mark01)\
**Replies:** 1\
**Last updated:** [September 11, 2023, 5:51am UTC](https://www.ruby-forum.com/t/ruby-for-data-science-handling-large-datasets-efficiently/264265 "2023-09-11T05:51:53Z")

</div>

I’m interested in using Ruby for data science tasks, particularly for working with large datasets. While Ruby may not be as commonly associated with data science as languages like Python or R, I believe it has potential …

---

## [Latest version of Ruby breaks minitest/rg on Mac OSX](https://www.ruby-forum.com/t/latest-version-of-ruby-breaks-minitest-rg-on-mac-osx/253494)

<div class="topic-metadata">

**Author:** [@SuziTech](https://www.ruby-forum.com/u/SuziTech)\
**Replies:** 1\
**Last updated:** [December 17, 2019, 8:55pm UTC](https://www.ruby-forum.com/t/latest-version-of-ruby-breaks-minitest-rg-on-mac-osx/253494 "2019-12-17T20:55:17Z")

</div>

Just upgraded my Ruby on my MacBook Pro, which is still on High Sierra, to 2.6.3 and now minitest/rg is broken. I get the following system message: Traceback (most recent call last): 2: from ruby\_functions\_practice\_spe…

---

## [Difference of Module#included and Module#extended and Module#prepended](https://www.ruby-forum.com/t/difference-of-module-included-and-module-extended-and-module-prepended/227375)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 5\
**Last updated:** [March 13, 2013, 2:43pm UTC](https://www.ruby-forum.com/t/difference-of-module-included-and-module-extended-and-module-prepended/227375 "2013-03-13T14:43:01Z")

</div>

Can anyone help me to understand the below 3 methods about their functional differences and uses? Module#included Module#extended Module#prepended Thanks

---

## [Validation errors bring up stack trace error page](https://www.ruby-forum.com/t/validation-errors-bring-up-stack-trace-error-page/194208)

<div class="topic-metadata">

**Author:** [@closedbook](https://www.ruby-forum.com/u/closedbook)\
**Replies:** 5\
**Last updated:** [September 2, 2010, 9:43am UTC](https://www.ruby-forum.com/t/validation-errors-bring-up-stack-trace-error-page/194208 "2010-09-02T09:43:22Z")

</div>

hello! I made some custom validations for my app, which do catch invalid data in the console. However, when I enter invalid data through a form on the browser view, I get your stack trace error style page (similar to …

---

## [Keeping attributes of two models in sync](https://www.ruby-forum.com/t/keeping-attributes-of-two-models-in-sync/98691)

<div class="topic-metadata">

**Author:** [@thoepfner](https://www.ruby-forum.com/u/thoepfner)\
**Replies:** 5\
**Last updated:** [July 17, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/keeping-attributes-of-two-models-in-sync/98691 "2006-07-17T17:19:01Z")

</div>

Hi, I have a Product and a corresponding Keyword (1:1 via belongs\_to and has\_one). I want to ensure, that two attributes (:name) of the two models alway stay in sync. What’s the easiest way to accomplish that? I did …

---

## [How to exit Ruby program properly](https://www.ruby-forum.com/t/how-to-exit-ruby-program-properly/50109)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 2\
**Last updated:** [December 13, 2005, 6:30pm UTC](https://www.ruby-forum.com/t/how-to-exit-ruby-program-properly/50109 "2005-12-13T18:30:17Z")

</div>

I’m learning to write ruby code, and I’m using 1.8.2 on Windows XP. What is the best way to exit from my .rb script? I’m using Process.exit but the documentation implies that it will throw an exception. So I’m guessi…

---

## [The GNU Radio Shop is open!](https://www.ruby-forum.com/t/the-gnu-radio-shop-is-open/231559)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 15, 2014, 11:20pm UTC](https://www.ruby-forum.com/t/the-gnu-radio-shop-is-open/231559 "2014-08-15T23:20:17Z")

</div>

Hey everyone, We’re really excited to now be able to offer all of our great GNU Radio merchandise to everyone! Many of you have maybe seen us sporting the shirts and hoodies at FOSDEM and other events for the past fe…

---

## [Namespace pollution in ruby](https://www.ruby-forum.com/t/namespace-pollution-in-ruby/67155)

<div class="topic-metadata">

**Author:** [@Hemant\_S](https://www.ruby-forum.com/u/Hemant_S)\
**Replies:** 6\
**Last updated:** [September 1, 2006, 4:09am UTC](https://www.ruby-forum.com/t/namespace-pollution-in-ruby/67155 "2006-09-01T04:09:36Z")

</div>

Recently while coding in rails, i had a column called in one of the tables and hence was wrapped up by ActiveRecord. Guess, what it broke entire of the code, because quote is a already defined method somewhere in ra…

---

## [How to configure rforum with mailing lists](https://www.ruby-forum.com/t/how-to-configure-rforum-with-mailing-lists/61816)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 6\
**Last updated:** [May 29, 2006, 12:09am UTC](https://www.ruby-forum.com/t/how-to-configure-rforum-with-mailing-lists/61816 "2006-05-29T00:09:30Z")

</div>

I have installed rforum from SVN, but there doesn’t seem to be any way of linking it to mailing lists. How is that part done?

---

## [Stubbing out after\_create AR method?](https://www.ruby-forum.com/t/stubbing-out-after-create-ar-method/203168)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 15, 2011, 12:01am UTC](https://www.ruby-forum.com/t/stubbing-out-after-create-ar-method/203168 "2011-02-15T00:01:36Z")

</div>

I have a Premise model with an after\_create method, along the lines of: class Premise \< ActiveRecord::Base … after\_create :etl\_attributes … end In production code, etl\_attributes accesses the web. For testing I’m …

---

## [Opening database prompt based on database.yml](https://www.ruby-forum.com/t/opening-database-prompt-based-on-database-yml/168171)

<div class="topic-metadata">

**Author:** [@stephanwehner](https://www.ruby-forum.com/u/stephanwehner)\
**Replies:** 3\
**Last updated:** [May 24, 2009, 6:34am UTC](https://www.ruby-forum.com/t/opening-database-prompt-based-on-database-yml/168171 "2009-05-24T06:34:51Z")

</div>

Hello everybody, I wrote a script to open a database prompt based on the contents of database.yml See the rdb\_prompt directory under GitHub - stephanwehner/railsgoodies: Various goodies related to Ruby on Rails I fi…

---

## [Remove row from active record array](https://www.ruby-forum.com/t/remove-row-from-active-record-array/126485)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 3\
**Last updated:** [January 18, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/remove-row-from-active-record-array/126485 "2008-01-18T17:36:31Z")

</div>

hi, I have the following scenario within my rails code, where @manufacturers is an activerecord object with many cars @manufacturers.each do |manufacturer| manufacturer.cars.each do |car| end end with the above i’…

---

## [In between a string escaping comma](https://www.ruby-forum.com/t/in-between-a-string-escaping-comma/257958)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 7:34am UTC](https://www.ruby-forum.com/t/in-between-a-string-escaping-comma/257958 "2020-05-27T07:34:10Z")

</div>

test = ‘Foo,Bar Baz’ expected output : “Foo,Bar”,“Baz” how can i achieve this

---

## [Quelles coÃ»t et quelles options pour de la gÃ©olocalisation avec Rails](https://www.ruby-forum.com/t/quelles-coa-t-et-quelles-options-pour-de-la-ga-olocalisation-avec-rails/172951)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 4\
**Last updated:** [August 2, 2009, 10:03pm UTC](https://www.ruby-forum.com/t/quelles-coa-t-et-quelles-options-pour-de-la-ga-olocalisation-avec-rails/172951 "2009-08-02T22:03:59Z")

</div>

Bonjour, Pour mes projets j’utilise googlemaps avec geokit pour faire de la géolocalisation à partir d’une adresse, de l’affichage de carte et ultérieurement faire du calcul de distance. Mons site sera payant (abonn…

---

## [\[cucumber\] junit formatter](https://www.ruby-forum.com/t/cucumber-junit-formatter/167742)

<div class="topic-metadata">

**Author:** [@JonesS\_Gareth](https://www.ruby-forum.com/u/JonesS_Gareth)\
**Replies:** 4\
**Last updated:** [May 13, 2009, 1:56am UTC](https://www.ruby-forum.com/t/cucumber-junit-formatter/167742 "2009-05-13T01:56:58Z")

</div>

Hi, I’ve knocked together a JUnit xml output formatter for cucumber - we’re using it with Hudson and Ant, so it seemed like a good idea. It’s good enough for our purposes, so I thought we should release it into the w…

---

## [How to use Ruby interpreter as Windows DLL library?](https://www.ruby-forum.com/t/how-to-use-ruby-interpreter-as-windows-dll-library/101015)

<div class="topic-metadata">

**Author:** [@ssa](https://www.ruby-forum.com/u/ssa)\
**Replies:** 4\
**Last updated:** [February 4, 2006, 9:14pm UTC](https://www.ruby-forum.com/t/how-to-use-ruby-interpreter-as-windows-dll-library/101015 "2006-02-04T21:14:45Z")

</div>

I have an idea (program, that uses Ruby interpreter). And I dont know how to use Ruby interpreter in my program. I looking for manuals (but I dont know English very well and I cannot find information about this) or id…

---

## [Boostrap y ruby](https://www.ruby-forum.com/t/boostrap-y-ruby/238918)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [March 28, 2014, 3:13pm UTC](https://www.ruby-forum.com/t/boostrap-y-ruby/238918 "2014-03-28T15:13:54Z")

</div>

Hola buenos dias. Posteo aqui esta duda por que me recomendaron esta comunidad. Llevo un mes con rails y se me ha dado muy bien pero surgen problemas a la hora del diseño. Hasta ahora he usado bootstrap y scaffold y …

---

## [Rspec not recognised](https://www.ruby-forum.com/t/rspec-not-recognised/211861)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 15, 2011, 1:07pm UTC](https://www.ruby-forum.com/t/rspec-not-recognised/211861 "2011-09-15T13:07:49Z")

</div>

Hi, I am using Rails 3 and rspec-rails gem. When try to run rspec spec\\models\\profile.rb I get result as follows: ‘rspec’ is not recognized as an internal or external command, Can you help? Thanks, Aashish

---

## [Stubbing an ApplicationController before\_filter](https://www.ruby-forum.com/t/stubbing-an-applicationcontroller-before-filter/165708)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 7\
**Last updated:** [April 17, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/stubbing-an-applicationcontroller-before-filter/165708 "2009-04-17T16:50:27Z")

</div>

Hi, I am writing a functional test for a controller. The problem I have is that a before filter defined in ApplicationController is hit and I don’t know how to stub it. I tried controller.expects(:find\_site).returns(@…

---

## [Perl\_modules directive is not allowed](https://www.ruby-forum.com/t/perl-modules-directive-is-not-allowed/199171)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 16, 2010, 8:40am UTC](https://www.ruby-forum.com/t/perl-modules-directive-is-not-allowed/199171 "2010-11-16T08:40:23Z")

</div>

Environment: ubuntu10:10 nginx0.8.53 nginx compile parameters: nginx version: nginx/0.8.53 built by gcc 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) TLS SNI support enabled configure arguments: --user=www-data --group=www-…

---

## [When to use $DEBUG and $VERBOSE](https://www.ruby-forum.com/t/when-to-use-debug-and-verbose/175950)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 2\
**Last updated:** [September 25, 2009, 2:20am UTC](https://www.ruby-forum.com/t/when-to-use-debug-and-verbose/175950 "2009-09-25T02:20:02Z")

</div>

Ok, so I have a bin script and like so many other’s use some common options such as --verbose and --debug. Generally I have been keeping these flags in an options hash, specific to my app. But I wondering if perhaps t…

---

## [Email preview in production in rails 4](https://www.ruby-forum.com/t/email-preview-in-production-in-rails-4/233418)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 8, 2015, 12:37pm UTC](https://www.ruby-forum.com/t/email-preview-in-production-in-rails-4/233418 "2015-03-08T12:37:21Z")

</div>

Hello, I am using rails 4.1.1 and ActionMailer::Preview. In development environment everything is working excellent. But in production environment the preview routes are not accessible. I store the previews in test/m…

---

## [Peak Hold in FFT display causing UI problems](https://www.ruby-forum.com/t/peak-hold-in-fft-display-causing-ui-problems/197333)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 13, 2010, 12:57am UTC](https://www.ruby-forum.com/t/peak-hold-in-fft-display-causing-ui-problems/197333 "2010-10-13T00:57:42Z")

</div>

I have an Atom D-510 running Fedora 12, and the latest UHD+GnuRadio (as of this morning). I’ve noticed that if I turn on “Peak Hold” in the FFT display, the entire input side of the GUI becomes unresponsive to input,…

---

## [Where did Builder::XmlMarkup go in Rails 2.1?](https://www.ruby-forum.com/t/where-did-builder-xmlmarkup-go-in-rails-2-1/140320)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [June 13, 2008, 12:49am UTC](https://www.ruby-forum.com/t/where-did-builder-xmlmarkup-go-in-rails-2-1/140320 "2008-06-13T00:49:53Z")

</div>

All, I have a builder (.rxml) file that creates a new builder using: xml = Builder::XmlMarkup.new(:indent =\> 2) When I attempt to render it, I get this exception: uninitialized constant ActionView::TemplateHandlers:…

---

## [FM Radio USB Dongles?](https://www.ruby-forum.com/t/fm-radio-usb-dongles/75538)

<div class="topic-metadata">

**Author:** [@Dave\_hartzell](https://www.ruby-forum.com/u/Dave_hartzell)\
**Replies:** 5\
**Last updated:** [November 11, 2006, 7:30am UTC](https://www.ruby-forum.com/t/fm-radio-usb-dongles/75538 "2006-11-11T07:30:41Z")

</div>

I’ve seen a lot of these $50 devices lately and I’m wondering if they would be compatible with GnuRadio… Anyone ever used one, and/or know how they operate? Hopefully they’re just a front-end with a ADC that sends I/…

---

## [Increment day across months](https://www.ruby-forum.com/t/increment-day-across-months/59528)

<div class="topic-metadata">

**Author:** [@ashiro](https://www.ruby-forum.com/u/ashiro)\
**Replies:** 5\
**Last updated:** [May 5, 2006, 1:43pm UTC](https://www.ruby-forum.com/t/increment-day-across-months/59528 "2006-05-05T13:43:26Z")

</div>

Hi All I’ve spent some time trying to find what I thought would be a simple solution, but so far I’ve failed Simply put; I want to pick a start date and end date with a format of “01-jan-2006”. Then increment by one…

---

## [Ruby string/array/json parsing issue](https://www.ruby-forum.com/t/ruby-string-array-json-parsing-issue/262266)

<div class="topic-metadata">

**Author:** [@sjc07](https://www.ruby-forum.com/u/sjc07)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 1:23pm UTC](https://www.ruby-forum.com/t/ruby-string-array-json-parsing-issue/262266 "2022-01-14T13:23:07Z")

</div>

Hey, I am struggling with this one a bit, the following data is being returned by an API call and I am trying to break it out into the different parts. If we assume that data is stored in variable r, I have been trying…

---

## [Menu shell ruby](https://www.ruby-forum.com/t/menu-shell-ruby/243839)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 2, 2016, 10:15am UTC](https://www.ruby-forum.com/t/menu-shell-ruby/243839 "2016-02-02T10:15:03Z")

</div>

Salve a tutti, vorrei sapere se esiste una gemma che possa aiutarmi a creare un menu nell’interfaccia shell del programma. Per intenderci tipo quella presente in aptitude di Debian o in quella che si trova nei vecchi …

---

## [Disable caching the names in /etc/hosts in reverse proxy?](https://www.ruby-forum.com/t/disable-caching-the-names-in-etc-hosts-in-reverse-proxy/241611)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 20, 2015, 8:12pm UTC](https://www.ruby-forum.com/t/disable-caching-the-names-in-etc-hosts-in-reverse-proxy/241611 "2015-04-20T20:12:28Z")

</div>

I’m using Nginx to act as a reverse proxy, where the backend is a name defined in /etc/hosts. However, Nginx does not react to the changes made in /etc/hosts until restarted. Is it possible to disable caching the name…

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

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