# Top

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

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

---

## [Database Agnostic Date Functions](https://www.ruby-forum.com/t/database-agnostic-date-functions/123314)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 4\
**Last updated:** [December 17, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/database-agnostic-date-functions/123314 "2007-12-17T15:01:10Z")

</div>

I have a model for events with a start date and an end date. I want to find all events for the current month. How would I go about that, exactly? Thanks.

---

## [Calculate SNR](https://www.ruby-forum.com/t/calculate-snr/119735)

<div class="topic-metadata">

**Author:** [@Meenaktchi\_V](https://www.ruby-forum.com/u/Meenaktchi_V)\
**Replies:** 4\
**Last updated:** [November 10, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/calculate-snr/119735 "2007-11-10T20:09:27Z")

</div>

Hi, I was wondering how to calculate SNR. Is there function already a function that I can use to find SNR? Thanks in advance for your help Meenaktchi

---

## [\[QUIZ\] FizzBuzz (#126) \[solution #1\]](https://www.ruby-forum.com/t/quiz-fizzbuzz-126-solution-1/106029)

<div class="topic-metadata">

**Author:** [@MenTaLguY](https://www.ruby-forum.com/u/MenTaLguY)\
**Replies:** 4\
**Last updated:** [June 6, 2007, 5:27am UTC](https://www.ruby-forum.com/t/quiz-fizzbuzz-126-solution-1/106029 "2007-06-06T05:27:56Z")

</div>

I’ve got two solutions this go-round. First, the solution I would present were I asked to do this in an actual job interview: for n in 1…100 mult\_3 = ( n % 3 ).zero? mult\_5 = ( n % 5 ).zero? if mult\_3 or mult\_5 pr…

---

## [Small Date Formatting Question regarding datetime\_select()](https://www.ruby-forum.com/t/small-date-formatting-question-regarding-datetime-select/58296)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 4\
**Last updated:** [April 21, 2006, 2:10am UTC](https://www.ruby-forum.com/t/small-date-formatting-question-regarding-datetime-select/58296 "2006-04-21T02:10:25Z")

</div>

Is there a way to make datetime\_select() dropdowns work on a 12hr clock? I need to make a input field that works exactly like the reminders datetime selecton dropdowns in Backpack to populate a datetime field in my DB…

---

## [Add a Module#attr\_validator method](https://www.ruby-forum.com/t/add-a-module-attr-validator-method/56608)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 10:48pm UTC](https://www.ruby-forum.com/t/add-a-module-attr-validator-method/56608 "2006-04-01T22:48:36Z")

</div>

I couldn’t find a Facets mailing list, and I know the developers use this list, so therefore I send my proposal here. I’d like to see the addition of an attribute validator, i.e. a setter that checks to see if a block…

---

## [How can I taalk to our AS/400?](https://www.ruby-forum.com/t/how-can-i-taalk-to-our-as-400/50837)

<div class="topic-metadata">

**Author:** [@frank](https://www.ruby-forum.com/u/frank)\
**Replies:** 4\
**Last updated:** [December 21, 2005, 8:18pm UTC](https://www.ruby-forum.com/t/how-can-i-taalk-to-our-as-400/50837 "2005-12-21T20:18:17Z")

</div>

Hello, I can do this in java, but want to use Rails. How can I connect to our AS/400? Thanks Frank

---

## [Tutorial 2.4.5 The Singing Sine Wave](https://www.ruby-forum.com/t/tutorial-2-4-5-the-singing-sine-wave/243016)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 15, 2015, 1:57pm UTC](https://www.ruby-forum.com/t/tutorial-2-4-5-the-singing-sine-wave/243016 "2015-08-15T13:57:09Z")

</div>

Hi, I have two questions to the above mentioned Tutorial chapter, since I realized two differences, even though I think I set it up the same. a) To get an acceptable view in the Waterfall graph I had to adjust the fr…

---

## [Costum FPGA in E310](https://www.ruby-forum.com/t/costum-fpga-in-e310/241521)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 16, 2015, 10:43am UTC](https://www.ruby-forum.com/t/costum-fpga-in-e310/241521 "2015-04-16T10:43:19Z")

</div>

Hi all, I am actually working on a project needs migrate an old FPGA program to E310. First, I want to custom the official FPGA program of E310. But I found some configurations of PS are not the same on the schematics …

---

## [Error installing rcov gem on ubuntu 7.1](https://www.ruby-forum.com/t/error-installing-rcov-gem-on-ubuntu-7-1/153206)

<div class="topic-metadata">

**Author:** [@Ikenna\_N](https://www.ruby-forum.com/u/Ikenna_N)\
**Replies:** 2\
**Last updated:** [November 13, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/error-installing-rcov-gem-on-ubuntu-7-1/153206 "2008-11-13T22:01:39Z")

</div>

I am running Ubuntu 7.1 and getting the following error when trying to install rcov. What do i do? dev@localhost:~$ sudo gem install rcov Select which gem to install for your platform (i486-linux) rcov 0.8.1.2.0 (ms…

---

## [Getting a precise timestamp](https://www.ruby-forum.com/t/getting-a-precise-timestamp/100719)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 31, 2006, 8:23pm UTC](https://www.ruby-forum.com/t/getting-a-precise-timestamp/100719 "2006-07-31T20:23:27Z")

</div>

I am new to Ruby and am trying to get the precise time (down to a fraction of a second). For example, I did this: require ‘date’ now = DateTime.now puts sprintf (“The current time is: %2d:%2d:%5.2f”, now.hour, now.m…

---

## [Deploy bash script with ruby gem](https://www.ruby-forum.com/t/deploy-bash-script-with-ruby-gem/231248)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 30, 2014, 4:15pm UTC](https://www.ruby-forum.com/t/deploy-bash-script-with-ruby-gem/231248 "2014-07-30T16:15:11Z")

</div>

I was trying to deploy a shell-script (in bash) along with a gem. rubygem creates a wrapper and tries to execute it as a ruby program. Searching brought me to the “exec” method (stackoverflow). I tried wrapping the s…

---

## [Proxy pass with rewrite](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 1:43pm UTC](https://www.ruby-forum.com/t/proxy-pass-with-rewrite/237107 "2013-10-25T13:43:40Z")

</div>

Hello, I would like to configure ngix with jenkins, nginx should be a proxy for the jenkins instance. I have configuration the proxy pass options in this way: location /jenkins { proxy\_pass http://localh…

---

## [TDD - was: Re: Calcolo del codice fiscale](https://www.ruby-forum.com/t/tdd-was-re-calcolo-del-codice-fiscale/225721)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [January 25, 2013, 6:57pm UTC](https://www.ruby-forum.com/t/tdd-was-re-calcolo-del-codice-fiscale/225721 "2013-01-25T18:57:19Z")

</div>

E qualunque cosa dica un certo DHH, ignoralo. :slight\_smile: Che dice ? Forse me lo sono perso. Per DHH il TDD non serve ? IMO ha ragione… scrivere i test e l'arte di bilanciare il costo di scriverli contro i c…

---

## [ActionMailer and Ruby SMTP causing a segmentation fault!](https://www.ruby-forum.com/t/actionmailer-and-ruby-smtp-causing-a-segmentation-fault/216179)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 29, 2012, 6:41pm UTC](https://www.ruby-forum.com/t/actionmailer-and-ruby-smtp-causing-a-segmentation-fault/216179 "2012-01-29T18:41:59Z")

</div>

I just activated Devise’ :confirmable option in my User model. As Devise tries to send out the confirmation-link email I get a segmentation-fault error in Ruby’s SMTP library: … lib/ruby/1.9.1/net/smtp.rb:583: \[BUG\]…

---

## [IIS + IronRuby](https://www.ruby-forum.com/t/iis-ironruby/185131)

<div class="topic-metadata">

**Author:** [@rambor](https://www.ruby-forum.com/u/rambor)\
**Replies:** 3\
**Last updated:** [March 14, 2010, 9:18pm UTC](https://www.ruby-forum.com/t/iis-ironruby/185131 "2010-03-14T21:18:13Z")

</div>

Hello, I know this has been asked quite a few times, but I donÂ¹t see any progress on a full set of directions for using IIS to host IronRuby R./Rack applications. Anything out there that IÂ¹m missing?

---

## [Polymorphic problems with an abstract class](https://www.ruby-forum.com/t/polymorphic-problems-with-an-abstract-class/148147)

<div class="topic-metadata">

**Author:** [@subbu](https://www.ruby-forum.com/u/subbu)\
**Replies:** 3\
**Last updated:** [September 10, 2008, 8:23am UTC](https://www.ruby-forum.com/t/polymorphic-problems-with-an-abstract-class/148147 "2008-09-10T08:23:15Z")

</div>

This could have been solved earlier. But I couldn’t find a solution. Lets say I have an abstract base model called ‘Question’ and sub- models like Mcq, TrueFalse and FillInTheBlank. Mcq and TrueFalse models have a ha…

---

## [Oniguruma 1.0.0 Released](https://www.ruby-forum.com/t/oniguruma-1-0-0-released/90321)

<div class="topic-metadata">

**Author:** [@Dizan\_V](https://www.ruby-forum.com/u/Dizan_V)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/oniguruma-1-0-0-released/90321 "2007-03-28T17:18:18Z")

</div>

oniguruma version 1.0.0 has been released! http://oniguruma.rubyforge.org Ruby bindings to the Oniguruma\[http://www.geocities.jp/kosako3/oniguruma/\] regular expression library (no need to recompile Ruby). Changes: =…

---

## [Problem with reading file](https://www.ruby-forum.com/t/problem-with-reading-file/73014)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 3\
**Last updated:** [October 20, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/problem-with-reading-file/73014 "2006-10-20T18:22:32Z")

</div>

Hi folks, I read a file in the following format,extract the second column only, and push them into an array. My problem is that Ruby reads them as strings(based on array.inspect) but not as numbers so it is impossible …

---

## [Ruby alternative to php's implode and expload functions](https://www.ruby-forum.com/t/ruby-alternative-to-phps-implode-and-expload-functions/70362)

<div class="topic-metadata">

**Author:** [@mmaki](https://www.ruby-forum.com/u/mmaki)\
**Replies:** 3\
**Last updated:** [September 28, 2006, 6:24pm UTC](https://www.ruby-forum.com/t/ruby-alternative-to-phps-implode-and-expload-functions/70362 "2006-09-28T18:24:48Z")

</div>

is there a method similar to php’s expload function in ruby. i have a database field that contains an array of items, when i output this field i notice the items are seperated by ‘-’ e.g item1-item2-item3. how would …

---

## [Migrations :timestamp becomes :datetime in mySql](https://www.ruby-forum.com/t/migrations-timestamp-becomes-datetime-in-mysql/60109)

<div class="topic-metadata">

**Author:** [@pgohman](https://www.ruby-forum.com/u/pgohman)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 1:14pm UTC](https://www.ruby-forum.com/t/migrations-timestamp-becomes-datetime-in-mysql/60109 "2006-05-10T13:14:19Z")

</div>

For some reason whenever I try and create a timestamp column with migrations and mysql I get a datetime column instead. That’s kind of annoying because I want the column to update every time the row gets changed. Is t…

---

## [Datacube in Ruby?](https://www.ruby-forum.com/t/datacube-in-ruby/259086)

<div class="topic-metadata">

**Author:** [@petecatt](https://www.ruby-forum.com/u/petecatt)\
**Replies:** 1\
**Last updated:** [April 3, 2020, 12:40pm UTC](https://www.ruby-forum.com/t/datacube-in-ruby/259086 "2020-04-03T12:40:28Z")

</div>

Hi, I’m trying to create a database GUI in Ruby. I would like it to have the following widgets: - The main display, which displays the data - A search bar with filters - A 3D cube representation of the data, with the …

---

## [Testing the RTL DVB-T stick with GRC](https://www.ruby-forum.com/t/testing-the-rtl-dvb-t-stick-with-grc/246415)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 16, 2013, 12:25am UTC](https://www.ruby-forum.com/t/testing-the-rtl-dvb-t-stick-with-grc/246415 "2013-10-16T00:25:54Z")

</div>

Hi Gents, I am very new to Gnu Radio and this is my first post here. First of all thank you for your great work! Recently I have bought ezcap USB2.0 DVB-T dongle and I am trying to test it with GRC. I have installed …

---

## [Plan to 1.9.3 1st patch release](https://www.ruby-forum.com/t/plan-to-1-9-3-1st-patch-release/216395)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 5, 2012, 3:17pm UTC](https://www.ruby-forum.com/t/plan-to-1-9-3-1st-patch-release/216395 "2012-02-05T15:17:55Z")

</div>

$B$b$&5$J,$O(B 2.0 $B$J$N$G@5D\>(B 1.9.3 $B$H$+$I$&$G$b$$$$$s$G$9$1$I!J$'!\<!K!“(B $B$^$!!”$=$s$J;v8@$o$J$$$G(B patch release $B$@$=$&$\<$H$$$&OC$G$9!#(B $B$G!“(Byugui $B$5$s$O(B 1.9.3 $B$N%a%s%F%J$r$d$i$J$$$H8@$C$F$$$?…

---

## [Github: maintain multiple releases of a gem](https://www.ruby-forum.com/t/github-maintain-multiple-releases-of-a-gem/197624)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 7\
**Last updated:** [October 18, 2010, 2:30pm UTC](https://www.ruby-forum.com/t/github-maintain-multiple-releases-of-a-gem/197624 "2010-10-18T14:30:47Z")

</div>

(Apologies if i’ve posted before. Can’t find it here). I wish to maintain 2 releases of a gem: version 1.1.x and version 1.2.x. Mostly, 1.1.x is a maintenance version. What is the github workflow: create a repo clone…

---

## [90% of documentation outdated?](https://www.ruby-forum.com/t/90-of-documentation-outdated/196209)

<div class="topic-metadata">

**Author:** [@aperture\_science](https://www.ruby-forum.com/u/aperture_science)\
**Replies:** 7\
**Last updated:** [October 11, 2010, 6:24pm UTC](https://www.ruby-forum.com/t/90-of-documentation-outdated/196209 "2010-10-11T18:24:25Z")

</div>

I have been trying for a few days to set up a basic user registration/ login system with rails 3 and nearly every single piece of documentation is outdated. Restful\_authentication has several git branches, none of wh…

---

## [Passenger caching in development mode, wtf?](https://www.ruby-forum.com/t/passenger-caching-in-development-mode-wtf/165544)

<div class="topic-metadata">

**Author:** [@petrjanda](https://www.ruby-forum.com/u/petrjanda)\
**Replies:** 7\
**Last updated:** [April 16, 2009, 10:56am UTC](https://www.ruby-forum.com/t/passenger-caching-in-development-mode-wtf/165544 "2009-04-16T10:56:27Z")

</div>

Hi all, I updated an application to Rails 2.3.2(and ruby 1.9.1) and installed Passenger, after learning that it turns production mode on by default, i changed that to development mode. Logs are correctly being saved t…

---

## [How to manage passwords](https://www.ruby-forum.com/t/how-to-manage-passwords/149070)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 7\
**Last updated:** [October 19, 2008, 9:34pm UTC](https://www.ruby-forum.com/t/how-to-manage-passwords/149070 "2008-10-19T21:34:47Z")

</div>

many of my ruby apps have the password hard coded. i am looking for a way so that i can control the password not to be stored as text file. what are the ruby options that are available.

---

## [Making a row a link?](https://www.ruby-forum.com/t/making-a-row-a-link/142960)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 7\
**Last updated:** [July 14, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/making-a-row-a-link/142960 "2008-07-14T18:14:53Z")

</div>

How can I make a clickable, to invoke an action? Thanks!

---

## [Ubuntu/Apache/Eruby](https://www.ruby-forum.com/t/ubuntu-apache-eruby/137507)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 1\
**Last updated:** [May 13, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/ubuntu-apache-eruby/137507 "2008-05-13T20:28:53Z")

</div>

I have an eruby application that I need to run on a machine with apache (and also some Rails stuff, but I suspect that is not a problem), and I am having a difficult time making the configuration work on Ubuntu that w…

---

## [File permissions w/Dir.mkdir](https://www.ruby-forum.com/t/file-permissions-w-dir-mkdir/107985)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [June 28, 2007, 4:45am UTC](https://www.ruby-forum.com/t/file-permissions-w-dir-mkdir/107985 "2007-06-28T04:45:23Z")

</div>

In OS X 10.4.9, Ruby 1.8.4 when I use: Dir.mkdir(file\_name, 755) The directories created are drop-box, owner-only. It seems the Dir class expects the leading bit. So, it should be 0755 and not 755. When using: Dir.…

---

## [Newbie question about mongrel](https://www.ruby-forum.com/t/newbie-question-about-mongrel/87835)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 7\
**Last updated:** [March 7, 2007, 7:59am UTC](https://www.ruby-forum.com/t/newbie-question-about-mongrel/87835 "2007-03-07T07:59:23Z")

</div>

Hello! At the begining i want to say that i am no expert. I had my deployment server configured by my friend. Anyway I am running on VPS on Debian Sarge. I use mongrel & nginx combination. I have the following probl…

---

## [Crazy looping in render partial](https://www.ruby-forum.com/t/crazy-looping-in-render-partial/82237)

<div class="topic-metadata">

**Author:** [@abon](https://www.ruby-forum.com/u/abon)\
**Replies:** 7\
**Last updated:** [January 18, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/crazy-looping-in-render-partial/82237 "2007-01-18T13:54:53Z")

</div>

Controller: Personcontroller.rb def index @picks =Product.find\_person(session\[:user\_id\]) #@picks=@pickstemp.uniq @picks.sort\_by{|x| x.id}.reverse render :partial =\> “pick”, :collection =\> @picks end View: \_pick.…

---

## [RAA, gems, and RubyForge (was Re: User Account Setup - Multi](https://www.ruby-forum.com/t/raa-gems-and-rubyforge-was-re-user-account-setup-multi/95165)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 7\
**Last updated:** [May 27, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/raa-gems-and-rubyforge-was-re-user-account-setup-multi/95165 "2006-05-27T15:49:47Z")

</div>

On 5/23/06, Paul D. Kraus removed\_email\_address@domain.invalid wrote: On 5/23/06, Joey removed\_email\_address@domain.invalid wrote: Umm, maybe http://raa.ruby-lang.org/ \[snip\] \[snip\] Oh and the biggest one… What t…

---

## [Irb problem in OSX](https://www.ruby-forum.com/t/irb-problem-in-osx/66368)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [February 13, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/irb-problem-in-osx/66368 "2006-02-13T13:33:45Z")

</div>

I’m not sure how I got into this situation being a Mac newbie, but I think it started after running one of the various “fix ruby on OS X” scripts. The problem is, everytime I click on my Terminal shortcut on the dock, …

---

## [Building gnuradio on cygwin - wxPython issue](https://www.ruby-forum.com/t/building-gnuradio-on-cygwin-wxpython-issue/191040)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 6\
**Last updated:** [November 28, 2010, 9:05pm UTC](https://www.ruby-forum.com/t/building-gnuradio-on-cygwin-wxpython-issue/191040 "2010-11-28T21:05:33Z")

</div>

Hi, I should know better, but I am nonetheless trying to build gnuradio on Windows XP/cygwin. I did follow the instructions on the wiki (including picking the exact versions), but I am getting stuck on building wxPyt…

---

## [Adding sugar to Ruby](https://www.ruby-forum.com/t/adding-sugar-to-ruby/192851)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 6\
**Last updated:** [August 8, 2010, 2:10am UTC](https://www.ruby-forum.com/t/adding-sugar-to-ruby/192851 "2010-08-08T02:10:45Z")

</div>

Hi, I’ve collected some nice little additions to Ruby and put them in a gem called zucker. Some of the features: control structure like iteration: iterate \[1,2\], \[3,4,5\] do |e,f| puts “#{e},#{f}” end outputs 1,…

---

## [PerchÃ¨ il ciclo For in Ruby Ã¨ sconsigliato?](https://www.ruby-forum.com/t/percha-il-ciclo-for-in-ruby-a-sconsigliato/189841)

<div class="topic-metadata">

**Author:** [@axle988](https://www.ruby-forum.com/u/axle988)\
**Replies:** 6\
**Last updated:** [June 9, 2010, 11:49am UTC](https://www.ruby-forum.com/t/percha-il-ciclo-for-in-ruby-a-sconsigliato/189841 "2010-06-09T11:49:11Z")

</div>

Ciao. Su un libro che sto leggendo per imparare Ruby s’Ã¨ scritta la seguente affermazione: Il ciclo for Ã¨ implementato internamente tramite l’iteratore proprio dell’oggetto preso in considerazione. Per questo motiv…

---

## [Compile/Close Ruby Code](https://www.ruby-forum.com/t/compile-close-ruby-code/184878)

<div class="topic-metadata">

**Author:** [@gurbux](https://www.ruby-forum.com/u/gurbux)\
**Replies:** 6\
**Last updated:** [March 10, 2010, 8:47am UTC](https://www.ruby-forum.com/t/compile-close-ruby-code/184878 "2010-03-10T08:47:47Z")

</div>

I write scripts under Linux using Ruby. It wouldn’t matter releasing the code as long as the code is MINE. However, if I develop software for a company, and if a rival gets a hold of the code; you can consider me fire…

---

## [Problem with Before Filters](https://www.ruby-forum.com/t/problem-with-before-filters/180045)

<div class="topic-metadata">

**Author:** [@tornado](https://www.ruby-forum.com/u/tornado)\
**Replies:** 6\
**Last updated:** [December 24, 2009, 12:29pm UTC](https://www.ruby-forum.com/t/problem-with-before-filters/180045 "2009-12-24T12:29:43Z")

</div>

Hello, I am writing controller specs.I want to know how can i write specs which invlove before filters in controllers.

---

## [Ruby-kerberos](https://www.ruby-forum.com/t/ruby-kerberos/69398)

<div class="topic-metadata">

**Author:** [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Replies:** 6\
**Last updated:** [December 4, 2009, 1:04am UTC](https://www.ruby-forum.com/t/ruby-kerberos/69398 "2009-12-04T01:04:14Z")

</div>

I just put up a first release of kerberos bindings for ruby on rubyforge. The distribution is just a tarball with an extconf.rb, the c extension, some basic rdocs, and examples in example.rb. License is BSD. This i…

---

## [How to Generate Controllers from the command line](https://www.ruby-forum.com/t/how-to-generate-controllers-from-the-command-line/160791)

<div class="topic-metadata">

**Author:** [@devrubygem](https://www.ruby-forum.com/u/devrubygem)\
**Replies:** 6\
**Last updated:** [February 20, 2009, 7:12am UTC](https://www.ruby-forum.com/t/how-to-generate-controllers-from-the-command-line/160791 "2009-02-20T07:12:07Z")

</div>

Am I doing this correct. ruby script/generate controller Site index about help after I run the line above from the command prompt it spits out exists app/controllers/ exist app/helpers/ create app/views/site Etc… W…

---

## [Code Review: netinterop1](https://www.ruby-forum.com/t/code-review-netinterop1/158692)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 6\
**Last updated:** [February 6, 2009, 3:18am UTC](https://www.ruby-forum.com/t/code-review-netinterop1/158692 "2009-02-06T03:18:27Z")

</div>

tfpt review “/shelveset:netinterop1;REDMOND\\jdeville” Comment : More tests for .net interop. This is taking advantage of the IronRuby selfhosting that Tomas blogged about in order to maintain isolation as I run diff…

---

## [Again on "cannot import name bbn"](https://www.ruby-forum.com/t/again-on-cannot-import-name-bbn/154860)

<div class="topic-metadata">

**Author:** [@Chiara\_De\_Dominicis](https://www.ruby-forum.com/u/Chiara_De_Dominicis)\
**Replies:** 6\
**Last updated:** [December 11, 2008, 9:54am UTC](https://www.ruby-forum.com/t/again-on-cannot-import-name-bbn/154860 "2008-12-11T09:54:21Z")

</div>

Hi list! I tried to install the 802.11 BBN code following exactly the instruction in the https://www.cgran.org/wiki/BBN80211 page but when I run any example I got this error: Traceback (most recent call last): Fi…

---

## [Shouldn't it be class \>\> self , or am I dyslexic?](https://www.ruby-forum.com/t/shouldnt-it-be-class-self-or-am-i-dyslexic/113520)

<div class="topic-metadata">

**Author:** [@nbits](https://www.ruby-forum.com/u/nbits)\
**Replies:** 6\
**Last updated:** [September 2, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/shouldnt-it-be-class-self-or-am-i-dyslexic/113520 "2007-09-02T21:10:29Z")

</div>

This is the correct title, uh, I think… dyslexic me :slight\_smile:

---

## [Make error at bcc32](https://www.ruby-forum.com/t/make-error-at-bcc32/107827)

<div class="topic-metadata">

**Author:** [@Nebata](https://www.ruby-forum.com/u/Nebata)\
**Replies:** 6\
**Last updated:** [July 2, 2007, 5:23am UTC](https://www.ruby-forum.com/t/make-error-at-bcc32/107827 "2007-07-02T05:23:44Z")

</div>

e$B$M$P$?$G$9!#e(B 1.9 e$B$G!"5W$7$V$j$K!"e(Bbcc32 e$B$Ge(B make e$B$7$h$&$H$7$?$i!"0J2\<$Ne(B e$B%(%i!\<$,=P$^$7$?!#e(B MAKE Version 5.2 Copyright (c) 1987, 2000 Borland Error .//common.mk 615: Redefinition of targe…

---

## [What does this mean?](https://www.ruby-forum.com/t/what-does-this-mean/92712)

<div class="topic-metadata">

**Author:** [@Magicloud](https://www.ruby-forum.com/u/Magicloud)\
**Replies:** 6\
**Last updated:** [April 28, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/what-does-this-mean/92712 "2007-04-28T19:44:39Z")

</div>

Holds the template files for layouts to be used with views. This models the common header/footer method of wrapping views. In your views, define a layout using the layout :default and create a file named default.rhtm…

---

## [Best way to get epoch seconds from mysql datetime value](https://www.ruby-forum.com/t/best-way-to-get-epoch-seconds-from-mysql-datetime-value/75625)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 6\
**Last updated:** [November 11, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/best-way-to-get-epoch-seconds-from-mysql-datetime-value/75625 "2006-11-11T19:22:13Z")

</div>

Hey there all, if i have a mysql datetime value that looks like this: some\_time = ‘2006-05-11 05:14:14’ and i want to get seconds since the unix epoch, how would i go about that ? thanks

---

## [Irb on windows @{\[ etc](https://www.ruby-forum.com/t/irb-on-windows-etc/53848)

<div class="topic-metadata">

**Author:** [@mikkel](https://www.ruby-forum.com/u/mikkel)\
**Replies:** 6\
**Last updated:** [February 16, 2006, 9:40am UTC](https://www.ruby-forum.com/t/irb-on-windows-etc/53848 "2006-02-16T09:40:15Z")

</div>

Just to set set things straight (once more)… Im currently stuck at a win32 machine… unable to write @{\[ in irb… I know that there’s a solution, but several searches couldnt help me… Please obi-wan! Mikkel B. www.st…

---

## [Dynamic form? Not really!](https://www.ruby-forum.com/t/dynamic-form-not-really/85079)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 1, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/dynamic-form-not-really/85079 "2006-01-01T16:04:51Z")

</div>

Hi guru’s out there, Im happilly coding my first rails app, and all goes well. I find myself manually coding in a particular field all the time (company\_id), that relates the contact to a company. The total coding of…

---

## [Cryptor 1.0.0: an easy-to-use multi-backend encryption library for Ruby](https://www.ruby-forum.com/t/cryptor-1-0-0-an-easy-to-use-multi-backend-encryption-library-for-ruby/230382)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 16, 2014, 8:04pm UTC](https://www.ruby-forum.com/t/cryptor-1-0-0-an-easy-to-use-multi-backend-encryption-library-for-ruby/230382 "2014-06-16T20:04:26Z")

</div>

Cryptor is a multi-backend high-level encryption library for Ruby, partly inspired by tools like GPG and Google Keyczar: Much like an audiophile soundsystem, Cryptor doesn’t have a whole lot of knobs. Instead, all …

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

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