# Top

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

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

---

## [Unit test, test validations](https://www.ruby-forum.com/t/unit-test-test-validations/224723)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 23, 2012, 10:43am UTC](https://www.ruby-forum.com/t/unit-test-test-validations/224723 "2012-11-23T10:43:26Z")

</div>

Sto facendo delle prove con i test. fixture: reservation1: user: admin room: stanza1 moderator\_password: “prova” attendee\_password: “prova” reserved\_from: “2012-11-06” reserved\_to: “2012-11-12” test: class Rese…

---

## [Fetch Facebook fanpage in rails](https://www.ruby-forum.com/t/fetch-facebook-fanpage-in-rails/217381)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 27, 2012, 2:03pm UTC](https://www.ruby-forum.com/t/fetch-facebook-fanpage-in-rails/217381 "2012-08-27T14:03:52Z")

</div>

Hi, I am newbie to rails , I need access facebook page information like wall, subscription,picture etc. I have apps in rails 3, it has list of artist users he upload songs, videos within my application, when the pu…

---

## [Why won't write\_attribute(:price, value\*100) work in the console?](https://www.ruby-forum.com/t/why-wont-write-attribute-price-value-100-work-in-the-console/201790)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 14, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/why-wont-write-attribute-price-value-100-work-in-the-console/201790 "2011-01-14T17:16:12Z")

</div>

Hi, I’m confused as to why this code example (from a book) won’t work. They want to store a price in cents, but be able to set it and query it in Euros. To this end they are overwriting the getter and setter methods. …

---

## [Passing a block to a stub method](https://www.ruby-forum.com/t/passing-a-block-to-a-stub-method/194940)

<div class="topic-metadata">

**Author:** [@nicolas](https://www.ruby-forum.com/u/nicolas)\
**Replies:** 2\
**Last updated:** [September 14, 2010, 4:38am UTC](https://www.ruby-forum.com/t/passing-a-block-to-a-stub-method/194940 "2010-09-14T04:38:37Z")

</div>

It seems that rspec doesn’t support passing a block to a stub method. This code fails: def call\_build\_with\_block(o) o.build do puts “hello” end end describe “call\_build\_with\_block” do it “should call build with b…

---

## [JRuby 1.4.0 monitor.rb thread safety](https://www.ruby-forum.com/t/jruby-1-4-0-monitor-rb-thread-safety/185506)

<div class="topic-metadata">

**Author:** [@lucas](https://www.ruby-forum.com/u/lucas)\
**Replies:** 2\
**Last updated:** [March 25, 2010, 1:57am UTC](https://www.ruby-forum.com/t/jruby-1-4-0-monitor-rb-thread-safety/185506 "2010-03-25T01:57:01Z")

</div>

Hi All, We recently upgraded a rails based webapp to jruby 1.4.0 and are seeing intermittent exceptions thrown around the activerecord connection pool. After some narrowing down it appears that a timeout on the conne…

---

## [Problem installing wxruby on linux](https://www.ruby-forum.com/t/problem-installing-wxruby-on-linux/177374)

<div class="topic-metadata">

**Author:** [@haris](https://www.ruby-forum.com/u/haris)\
**Replies:** 2\
**Last updated:** [October 27, 2009, 2:05pm UTC](https://www.ruby-forum.com/t/problem-installing-wxruby-on-linux/177374 "2009-10-27T14:05:39Z")

</div>

Hi. I installed wxruby with ‘gem install wxruby’ and everything went ok. Then I installed wxwidgets (wx2.8) and wx-common. I run irb and write: require ‘rubygems’ require ‘wx’ and get the following error: #-------…

---

## [Gtk::Calendar](https://www.ruby-forum.com/t/gtk-calendar/175276)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 2\
**Last updated:** [September 11, 2009, 11:43am UTC](https://www.ruby-forum.com/t/gtk-calendar/175276 "2009-09-11T11:43:57Z")

</div>

http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3ACalendar I am playing around with Gtk::Calendar right now, and I am wondering whether I can have a calendar where a user can scroll through the different months? Ri…

---

## [\[ANN\] Full Lineup Announced for Aloha on Rails, the Hawaii Ruby on Rails Conference](https://www.ruby-forum.com/t/ann-full-lineup-announced-for-aloha-on-rails-the-hawaii-ruby-on-rails-conference/173553)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 2\
**Last updated:** [August 11, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/ann-full-lineup-announced-for-aloha-on-rails-the-hawaii-ruby-on-rails-conference/173553 "2009-08-11T12:42:07Z")

</div>

Aloha! We’re proud and excited to announce the full lineup of speakers and sessions for Aloha on Rails, the Hawaii Ruby on Rails Conference (http://alohaonrails.com/). A total of 28 sessions will be presented, thoug…

---

## [\[Feature: trunk\] RTypedData](https://www.ruby-forum.com/t/feature-trunk-rtypeddata/170262)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 2\
**Last updated:** [June 16, 2009, 4:10am UTC](https://www.ruby-forum.com/t/feature-trunk-rtypeddata/170262 "2009-06-16T04:10:31Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!8=:!$e(BRData e$B$K3JG\<$5$l$?\>pJs$O!$$=$N85$K$J$C$?7?\>pJs$,$J$/$J$C$F$7$^$$e(B e$B$^$9$,!$7?\>pJs$rM\[$K;}$?$;$?e(B RTypedData e$B$r?7@$9$k$N$O$I$&$G$7$g$&$+!%7?e(B e$B$K$O!$=\>Mh$I$$je(B mark…

---

## [Can't call JRuby subclass methods after inheriting from Java base class. Confounded. Plz help](https://www.ruby-forum.com/t/cant-call-jruby-subclass-methods-after-inheriting-from-java-base-class-confounded-plz-help/161440)

<div class="topic-metadata">

**Author:** [@Ijonas\_Kisselbach](https://www.ruby-forum.com/u/Ijonas_Kisselbach)\
**Replies:** 2\
**Last updated:** [February 26, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/cant-call-jruby-subclass-methods-after-inheriting-from-java-base-class-confounded-plz-help/161440 "2009-02-26T23:23:19Z")

</div>

Hi, (using JRuby 1.1.6, JSR-223, and JUnit 4) I’m trying to get a simple JRuby class inheriting from a Java base class. For some reason I cannot call the JRuby class’ instance methods when I inherit from the Java bas…

---

## [How to build index from model](https://www.ruby-forum.com/t/how-to-build-index-from-model/155610)

<div class="topic-metadata">

**Author:** [@astropanic](https://www.ruby-forum.com/u/astropanic)\
**Replies:** 2\
**Last updated:** [December 15, 2008, 11:17am UTC](https://www.ruby-forum.com/t/how-to-build-index-from-model/155610 "2008-12-15T11:17:28Z")

</div>

Hi, I have a application where I have a book model. I have a book controller, it has an action named “index\_titles” What should I write in the action of this controller to get a list with the distinct first letters f…

---

## [Storing URL locations](https://www.ruby-forum.com/t/storing-url-locations/154239)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 2\
**Last updated:** [November 26, 2008, 5:54pm UTC](https://www.ruby-forum.com/t/storing-url-locations/154239 "2008-11-26T17:54:41Z")

</div>

I have a friendship system where users can create new friendships from different views. The idea is to redirect them to where they initially requested, accepted, etc… the friendship. To do this, I need to store the UR…

---

## [? lots of Q's about integration tests with rspec](https://www.ruby-forum.com/t/lots-of-qs-about-integration-tests-with-rspec/151368)

<div class="topic-metadata">

**Author:** [@crumb](https://www.ruby-forum.com/u/crumb)\
**Replies:** 2\
**Last updated:** [October 20, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/lots-of-qs-about-integration-tests-with-rspec/151368 "2008-10-20T19:28:48Z")

</div>

Hello all, where should I put the integration tests when using rspec? There is an integration-folder in test-directory, but if I place tests here then how can I benefit from the fixtures-dir in spec-folder? I want to…

---

## [Getting an object's class definition namespace](https://www.ruby-forum.com/t/getting-an-objects-class-definition-namespace/143320)

<div class="topic-metadata">

**Author:** [@pytlik](https://www.ruby-forum.com/u/pytlik)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 11:15am UTC](https://www.ruby-forum.com/t/getting-an-objects-class-definition-namespace/143320 "2008-07-17T11:15:39Z")

</div>

In a program I module\_eval class definitions into a dynamically created namespace. To run support code later on I need to know the module it was defined in from an instance of the class. Is there any NICE way to repla…

---

## [Re: hang on leopard](https://www.ruby-forum.com/t/re-hang-on-leopard/129718)

<div class="topic-metadata">

**Author:** [@Zhang\_P](https://www.ruby-forum.com/u/Zhang_P)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 6:00am UTC](https://www.ruby-forum.com/t/re-hang-on-leopard/129718 "2008-02-21T06:00:52Z")

</div>

Thanks for the explanation, Alex. If it is a thread issue, I wonder why I couldn’t duplicate it on XP? Since I can’t duplicate it on XP, I was thinking that it is not just a pure thread issue, but Wx for OSX + ruby th…

---

## [Special super call for module class-level inclusion](https://www.ruby-forum.com/t/special-super-call-for-module-class-level-inclusion/113206)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 2\
**Last updated:** [August 31, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/special-super-call-for-module-class-level-inclusion/113206 "2007-08-31T17:20:04Z")

</div>

Since I’ve come upon the issue again, I reckon, it’s as good time as any to put this in the air. The issue, again, is that module class methods are not “inherited” (for lack of a better word). In the past I’ve argued …

---

## [Acts\_As\_Ferret: disable\_ferret and Callbacks](https://www.ruby-forum.com/t/acts-as-ferret-disable-ferret-and-callbacks/110149)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 2\
**Last updated:** [July 26, 2007, 1:46am UTC](https://www.ruby-forum.com/t/acts-as-ferret-disable-ferret-and-callbacks/110149 "2007-07-26T01:46:39Z")

</div>

Does disable\_ferret monkey with callbacks at all? I have a model in my application that has associated models which perform callbacks after their validation (they’re all instantiated around the same time). I recentl…

---

## [File Append Problem](https://www.ruby-forum.com/t/file-append-problem/109976)

<div class="topic-metadata">

**Author:** [@turnkeytraders](https://www.ruby-forum.com/u/turnkeytraders)\
**Replies:** 2\
**Last updated:** [July 20, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/file-append-problem/109976 "2007-07-20T23:10:26Z")

</div>

Hello, I am reading a csv file (File1) and putting its content into a string, then I append that string in another csv file (file2) that has some data in it already. Now I do not want to overwrite the data in file2 so…

---

## [Message d'erreurs](https://www.ruby-forum.com/t/message-derreurs/79128)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 2\
**Last updated:** [December 14, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/message-derreurs/79128 "2006-12-14T15:47:51Z")

</div>

Bonjour, J’utilise l’option d’accès concurrent de rails lock\_id. Lors de la mise à jour de mon enregistrement, je tient compte d’erreurs de mise à jour si l’enregistrement à été modifié entre le chargement et la mise…

---

## [Installing Typo without SQLite?](https://www.ruby-forum.com/t/installing-typo-without-sqlite/64660)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/installing-typo-without-sqlite/64660 "2006-08-15T14:16:18Z")

</div>

Is there any way to install Typo without also installing SQLite? I’m planning to use MySQL to host the database and for reasons I don’t particularly want to spend any time investigating installing SQLite fails on my …

---

## [Predefined variables and constants question](https://www.ruby-forum.com/t/predefined-variables-and-constants-question/99420)

<div class="topic-metadata">

**Author:** [@simonh](https://www.ruby-forum.com/u/simonh)\
**Replies:** 2\
**Last updated:** [July 22, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/predefined-variables-and-constants-question/99420 "2006-07-22T16:46:16Z")

</div>

hi all. pages 333 to 337 in pickaxe2 list a whole load of global variables/constants, execution environment variables, standard objects etc. Is it just me or does this not seem to break with the usually beautifully t…

---

## [Mailing List?](https://www.ruby-forum.com/t/mailing-list/98872)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://www.ruby-forum.com/u/Chris_Anderson)\
**Replies:** 2\
**Last updated:** [July 20, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/mailing-list/98872 "2006-07-20T13:56:41Z")

</div>

Is this the same as the removed\_email\_address@domain.invalid list? Some of the posts seem to be the same, but I just posted one to that list which isn’t showing up here…

---

## [Abuhost - Brute/PortScan friendly servers with 1-10Gbps(unlimited unshared)](https://www.ruby-forum.com/t/abuhost-brute-portscan-friendly-servers-with-1-10gbps-unlimited-unshared/261033)

<div class="topic-metadata">

**Author:** [@Semuel78887](https://www.ruby-forum.com/u/Semuel78887)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 8:15am UTC](https://www.ruby-forum.com/t/abuhost-brute-portscan-friendly-servers-with-1-10gbps-unlimited-unshared/261033 "2021-02-26T08:15:10Z")

</div>

Abuhost - Brute/PortScan friendly servers with 1-10Gbps(unlimited unshared) We want to offer you dedicated servers and VPS for brute / scan. Servers are suitable for brute RDP, SSH, VNC, etc. Fast activation. Port 1-…

---

## [Connect ActiveRecord to an sqlite3 database](https://www.ruby-forum.com/t/connect-activerecord-to-an-sqlite3-database/220691)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 17, 2012, 3:47am UTC](https://www.ruby-forum.com/t/connect-activerecord-to-an-sqlite3-database/220691 "2012-06-17T03:47:17Z")

</div>

I am trying to connect ActiveRecord to an sqlite3 database: ActiveRecord::Base.establish\_connection(:adapter=\>‘sqlite3’,:database=\>‘names.db’) I am told: Please install the sqlite3 adapter: gem install activerecord-sq…

---

## [Unable to load driver 'Mysql' (underlying error: uninitializ](https://www.ruby-forum.com/t/unable-to-load-driver-mysql-underlying-error-uninitializ/162719)

<div class="topic-metadata">

**Author:** [@arunvoip](https://www.ruby-forum.com/u/arunvoip)\
**Replies:** 0\
**Last updated:** [March 13, 2009, 6:09am UTC](https://www.ruby-forum.com/t/unable-to-load-driver-mysql-underlying-error-uninitializ/162719 "2009-03-13T06:09:55Z")

</div>

Hi, I’m a freser to ruby and i’m trying to workout certain database related examples using dbi. But when i run the file i receive an error : Unable to load driver ‘Mysql’ (underlying error: uninitialized constant DBI…

---

## [Payment calculations for fixed rate loans (Excel PMT func?)](https://www.ruby-forum.com/t/payment-calculations-for-fixed-rate-loans-excel-pmt-func/72779)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [October 18, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/payment-calculations-for-fixed-rate-loans-excel-pmt-func/72779 "2006-10-18T22:09:26Z")

</div>

All, I need the Ruby equivalent of the Excel PMT function which will calculate a monthly payment amount given an interest rate, a number of months, and a present value of the loan amount. Anyone know where I can find…

---

## [Releases planned, merge of 3.7 next branch into master](https://www.ruby-forum.com/t/releases-planned-merge-of-3-7-next-branch-into-master/234993)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [May 28, 2013, 4:11am UTC](https://www.ruby-forum.com/t/releases-planned-merge-of-3-7-next-branch-into-master/234993 "2013-05-28T04:11:06Z")

</div>

The 3.7 ‘next’ branch is nearing completion, and will be stable enough to merge back into the ‘master’ branch very soon. I’d like to detail the order that things will happen, so people can prepare. First, we will ta…

---

## [Need help improving this FileUtils.cp of an array of destinations](https://www.ruby-forum.com/t/need-help-improving-this-fileutils-cp-of-an-array-of-destinations/224344)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [November 8, 2012, 2:35pm UTC](https://www.ruby-forum.com/t/need-help-improving-this-fileutils-cp-of-an-array-of-destinations/224344 "2012-11-08T14:35:37Z")

</div>

Hi Got any suggestion on how to improve this Filecopy code snippet below? $files.each\_with\_progress do | val | $files.each do |element| FileUtils.cp("#{$old\_home}/#{$sName}", “#{Dir.pwd}/#{element}”) end end Some …

---

## [Creating an API key (many to many mapping), how would I go about it](https://www.ruby-forum.com/t/creating-an-api-key-many-to-many-mapping-how-would-i-go-about-it/219553)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 10, 2012, 9:35am UTC](https://www.ruby-forum.com/t/creating-an-api-key-many-to-many-mapping-how-would-i-go-about-it/219553 "2012-05-10T09:35:39Z")

</div>

Hey guys. I’m still a super rails noob, and trying to figure this out in relation to learning how to write controllers/models and where stuff should go. Basically I have my models set up with a many-to-many mapping o…

---

## [\[ruby-trunk - Bug #6380\]\[Open\] 正規表現検索で大文字／小文字の対応がおかしいものがある](https://www.ruby-forum.com/t/ruby-trunk-bug-6380-open/219335)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 4, 2012, 4:12pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6380-open/219335 "2012-05-04T16:12:33Z")

</div>

Issue #6380 has been reported by 5.5 (5 5). Bug #6380: 正規表現検索で大文字／小文字の対応がおかしいものがある Author: 5.5 (5 5) Status: Open Priority: Normal Assignee: Category: M17N Target version: 1.9.3 ruby -v: ruby 1.9.3p202 (2012-04…

---

## [Nginx rewrite to PHP](https://www.ruby-forum.com/t/nginx-rewrite-to-php/219151)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 22, 2012, 4:39am UTC](https://www.ruby-forum.com/t/nginx-rewrite-to-php/219151 "2012-04-22T04:39:46Z")

</div>

Hi, I’m using Nginx linked to PHP using fastcgi proxy (to the FPM module of PHP core btw). I am trying to use some rewrite rules, which apparently work since I get redirected (HTTP answer 200), but the content is no…

---

## [Partial downloads](https://www.ruby-forum.com/t/partial-downloads/216997)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 19, 2012, 12:24am UTC](https://www.ruby-forum.com/t/partial-downloads/216997 "2012-02-19T00:24:25Z")

</div>

Hello, guys, Recently, I’ve started seeing a strange problem - sometimes it happens that nginx only transfers only a small part of the file and the download gets interrupted. When I debug it, the issue narrows down to…

---

## [MySQL errors on Cygwin - URGENT!](https://www.ruby-forum.com/t/mysql-errors-on-cygwin-urgent/213525)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 4, 2011, 2:56pm UTC](https://www.ruby-forum.com/t/mysql-errors-on-cygwin-urgent/213525 "2011-11-04T14:56:50Z")

</div>

Hi, when I type script/server, I am receiving the following error: !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. And if I type gem in…

---

## [Comparing/search struct array](https://www.ruby-forum.com/t/comparing-search-struct-array/198815)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 8, 2010, 6:37pm UTC](https://www.ruby-forum.com/t/comparing-search-struct-array/198815 "2010-11-08T18:37:28Z")

</div>

Hi, I have drafted this tiny script, which works almost(!!) fine except that every item shows 5x more than it should. I have one file with the report, where there is no customer name but customer number is there. I h…

---

## ["gem install mygem" does not install the gem](https://www.ruby-forum.com/t/gem-install-mygem-does-not-install-the-gem/192438)

<div class="topic-metadata">

**Author:** [@CUBRID](https://www.ruby-forum.com/u/CUBRID)\
**Replies:** 4\
**Last updated:** [August 2, 2010, 11:24am UTC](https://www.ruby-forum.com/t/gem-install-mygem-does-not-install-the-gem/192438 "2010-08-02T11:24:59Z")

</div>

Hi, I am encountering an odd behavior of gem install function. Can anyone explain me what “gem install” actually does? I have several C code and header files, and one extconf.rb file, + mygem.gemspec file. So, when I…

---

## [Rake 0.8.7 needs Ruby 1.8?](https://www.ruby-forum.com/t/rake-0-8-7-needs-ruby-1-8/186138)

<div class="topic-metadata">

**Author:** [@jasv](https://www.ruby-forum.com/u/jasv)\
**Replies:** 4\
**Last updated:** [April 2, 2010, 2:25am UTC](https://www.ruby-forum.com/t/rake-0-8-7-needs-ruby-1-8/186138 "2010-04-02T02:25:35Z")

</div>

Hello… I am trying to install a Ruby application called Redmine. In order to create database structure, I have to execute this command: rake db:migrate When I run it, a message telling that msvcrt-ruby18.dll was not …

---

## [I campi data](https://www.ruby-forum.com/t/i-campi-data/182091)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 4\
**Last updated:** [January 23, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/i-campi-data/182091 "2010-01-23T16:18:08Z")

</div>

…tendete a normalizzarli nel senso che nella tabella create un campo anno, un campo mese e un campo giorno oppure create un solo campo di tipo data? Lo chiedo perche’ avendo un solo campo di tipo data non vorrei in s…

---

## [Eval behaves differently inside a method definition](https://www.ruby-forum.com/t/eval-behaves-differently-inside-a-method-definition/179234)

<div class="topic-metadata">

**Author:** [@timr](https://www.ruby-forum.com/u/timr)\
**Replies:** 4\
**Last updated:** [November 21, 2009, 12:25pm UTC](https://www.ruby-forum.com/t/eval-behaves-differently-inside-a-method-definition/179234 "2009-11-21T12:25:58Z")

</div>

\#lets give strings the ability to evaluate theirselves as if in irb. class String def irb eval self end end =\> nil “puts ‘look at me’” =\> “puts ‘look at me’” “puts ‘look at me’”.irb look at me =\> nil #…

---

## [Is this a use case for has\_many :through?](https://www.ruby-forum.com/t/is-this-a-use-case-for-has-many-through/169581)

<div class="topic-metadata">

**Author:** [@coolmenu](https://www.ruby-forum.com/u/coolmenu)\
**Replies:** 4\
**Last updated:** [June 5, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/is-this-a-use-case-for-has-many-through/169581 "2009-06-05T19:52:40Z")

</div>

I’m building a blog application that allows users to create and edit blog posts. I want to add the ability for a user to check a box on the post page that enables an alert on the post that sends an email to the user …

---

## [\[JOBS\] RoR Team in Orange Country](https://www.ruby-forum.com/t/jobs-ror-team-in-orange-country/164626)

<div class="topic-metadata">

**Author:** [@mekdigital](https://www.ruby-forum.com/u/mekdigital)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 4:04pm UTC](https://www.ruby-forum.com/t/jobs-ror-team-in-orange-country/164626 "2009-04-03T16:04:02Z")

</div>

Yes, we’re hiring!! :wink: We’re looking for a front-end ninja and a back-end geek. I’ve been working for this company for three months only but I totally love it! FULL TIME, ON SITE ONLY! Competitive salary (DOE) +…

---

## [Upload file to save](https://www.ruby-forum.com/t/upload-file-to-save/161583)

<div class="topic-metadata">

**Author:** [@norricorp](https://www.ruby-forum.com/u/norricorp)\
**Replies:** 4\
**Last updated:** [March 6, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/upload-file-to-save/161583 "2009-03-06T13:07:04Z")

</div>

I am new to rails and am stuck on the above. I have used a mixture of code from the agile web dev with rails book and what I have found with google. I realise there are easier ways to do this with various plugins but …

---

## [Calendar in Rails](https://www.ruby-forum.com/t/calendar-in-rails/126218)

<div class="topic-metadata">

**Author:** [@ant](https://www.ruby-forum.com/u/ant)\
**Replies:** 4\
**Last updated:** [March 2, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/calendar-in-rails/126218 "2009-03-02T18:52:59Z")

</div>

HI All, Please can anyone tell me whether there is a rails plugin/app that allows creation of a calendar that can render events. I am not talking about a calendar date picker of which there are several, but something …

---

## [Few Questions on Ruby](https://www.ruby-forum.com/t/few-questions-on-ruby/156500)

<div class="topic-metadata">

**Author:** [@anilbhat21](https://www.ruby-forum.com/u/anilbhat21)\
**Replies:** 4\
**Last updated:** [December 29, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/few-questions-on-ruby/156500 "2008-12-29T17:36:38Z")

</div>

Given this module definition: module Greeting def say\_hello puts "Hello, my name is #{self.name}" end end 1.) How to implement a class Foo using the Greeting module so that the following code example generates…

---

## [Attachment\_fu, Paperclip, & S3](https://www.ruby-forum.com/t/attachment-fu-paperclip-s3/147499)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 4\
**Last updated:** [October 2, 2008, 2:25pm UTC](https://www.ruby-forum.com/t/attachment-fu-paperclip-s3/147499 "2008-10-02T14:25:46Z")

</div>

For various reasons, I made a git branch and installed Paperclip in place of attachment\_fu. Paperclip works great except that images seem to have lost some quality; edges have gone a little too jaggy to be able to dro…

---

## [Trouble running 'rubyscript2exe' for compiling my code](https://www.ruby-forum.com/t/trouble-running-rubyscript2exe-for-compiling-my-code/149300)

<div class="topic-metadata">

**Author:** [@rubist](https://www.ruby-forum.com/u/rubist)\
**Replies:** 4\
**Last updated:** [September 24, 2008, 10:23am UTC](https://www.ruby-forum.com/t/trouble-running-rubyscript2exe-for-compiling-my-code/149300 "2008-09-24T10:23:47Z")

</div>

All, I am getting the following error while to execute the rubyscript2exe : have the following on my system: 1)ruby 2)gem installed rubyscript2exe Have i missed out on anything else? I get the below mentioned erro…

---

## [Preventing users from using your app name in their name](https://www.ruby-forum.com/t/preventing-users-from-using-your-app-name-in-their-name/149101)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 4\
**Last updated:** [September 20, 2008, 5:44pm UTC](https://www.ruby-forum.com/t/preventing-users-from-using-your-app-name-in-their-name/149101 "2008-09-20T17:44:48Z")

</div>

Is there a Rails validation helper or an easy way of preventing attributes from containing a certain word match, e.g. you have a User model, the user has a name attribute, and you don’t want the @user.name to == ‘MyRa…

---

## [Helpers that call helpers not working in specs?](https://www.ruby-forum.com/t/helpers-that-call-helpers-not-working-in-specs/148632)

<div class="topic-metadata">

**Author:** [@fxp](https://www.ruby-forum.com/u/fxp)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 6:27am UTC](https://www.ruby-forum.com/t/helpers-that-call-helpers-not-working-in-specs/148632 "2008-09-16T06:27:51Z")

</div>

I’m trying to test some of my helpers. I have one helper (in module LocationsHelper) that calls a helper/method in ApplicationHelper. If I include ApplicationHelper and LocationHelper in my spec, and then I call the …

---

## [Lista di valori nel model](https://www.ruby-forum.com/t/lista-di-valori-nel-model/142013)

<div class="topic-metadata">

**Author:** [@miclab](https://www.ruby-forum.com/u/miclab)\
**Replies:** 4\
**Last updated:** [July 7, 2008, 9:45am UTC](https://www.ruby-forum.com/t/lista-di-valori-nel-model/142013 "2008-07-07T09:45:20Z")

</div>

Vorrei gestire, tramite model, una lista di valori (ad esempio “Maschio” “Femmina”). Questa lista la vorrei poi visualizzare tramite una select html (tendina) in una view. E’ possibile?

---

## [String copy-on-write question](https://www.ruby-forum.com/t/string-copy-on-write-question/136699)

<div class="topic-metadata">

**Author:** [@larsch](https://www.ruby-forum.com/u/larsch)\
**Replies:** 4\
**Last updated:** [May 5, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/string-copy-on-write-question/136699 "2008-05-05T18:35:09Z")

</div>

Hello group, Ruby implements copy-on-write for strings, so you can do stuff like this very cheaply: str = 0.chr \* (2\*\*24) # 16MiB allocated str\[100…-1\] # this costs only a small amount of memory How come this opti…

---

## [Migration d'une application vers rails 2.0](https://www.ruby-forum.com/t/migration-dune-application-vers-rails-2-0/129453)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://www.ruby-forum.com/u/Nicolas_G)\
**Replies:** 4\
**Last updated:** [February 19, 2008, 8:53am UTC](https://www.ruby-forum.com/t/migration-dune-application-vers-rails-2-0/129453 "2008-02-19T08:53:08Z")

</div>

Bonjour j’ai dÃ©veloppÃ© une application en rails 1.2.3 sans utiliser les routes REST, est-il nÃ©cessaire/utile de tout retravailler ou puis-je laisser le fonctionnement habituel? je suis au courant des test de vali…

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

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