# Top

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

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

---

## [Cute little simple scheduling code hack](https://www.ruby-forum.com/t/cute-little-simple-scheduling-code-hack/86557)

<div class="topic-metadata">

**Author:** [@KCons](https://www.ruby-forum.com/u/KCons)\
**Replies:** 6\
**Last updated:** [February 23, 2007, 8:55am UTC](https://www.ruby-forum.com/t/cute-little-simple-scheduling-code-hack/86557 "2007-02-23T08:55:46Z")

</div>

I’m sure there is some far superior prior art out there somewhere, but this is a useful little hack I threw together today that I thought someone else might find interesting. I wanted to do a little task every few sec…

---

## [Easy question, how would i search a grandparent?!](https://www.ruby-forum.com/t/easy-question-how-would-i-search-a-grandparent/79073)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 6\
**Last updated:** [December 13, 2006, 1:09am UTC](https://www.ruby-forum.com/t/easy-question-how-would-i-search-a-grandparent/79073 "2006-12-13T01:09:08Z")

</div>

hi, i have this in my code Article.find\_by\_contents("#{searchstring} +city:#{passedincity}") well that returns to me only articles that belong to whatever the user selected in city. now is it possible to search the …

---

## [AJAX autocomplete based on a static table in the database](https://www.ruby-forum.com/t/ajax-autocomplete-based-on-a-static-table-in-the-database/69660)

<div class="topic-metadata">

**Author:** [@Aeneas](https://www.ruby-forum.com/u/Aeneas)\
**Replies:** 6\
**Last updated:** [September 22, 2006, 11:26pm UTC](https://www.ruby-forum.com/t/ajax-autocomplete-based-on-a-static-table-in-the-database/69660 "2006-09-22T23:26:32Z")

</div>

I have a field where a user enters his city. I want to add autocompletion to this field based on a table with a predefined set of cities not based on previous entries of other users. How can I do this? I know about th…

---

## [NameError in AdminController#index building scaffold](https://www.ruby-forum.com/t/nameerror-in-admincontroller-index-building-scaffold/65312)

<div class="topic-metadata">

**Author:** [@jameslabocki](https://www.ruby-forum.com/u/jameslabocki)\
**Replies:** 6\
**Last updated:** [August 18, 2006, 1:45pm UTC](https://www.ruby-forum.com/t/nameerror-in-admincontroller-index-building-scaffold/65312 "2006-08-18T13:45:05Z")

</div>

I’m a pretty big newbie with ROR, but when following a tutorial I encounter an ugly error when building a scaffold. Here is my environment Dev system: Windows XP java version “1.5.0\_06” MySQL java version “1.5.0\_06…

---

## [Web Services Issue](https://www.ruby-forum.com/t/web-services-issue/62162)

<div class="topic-metadata">

**Author:** [@cpher](https://www.ruby-forum.com/u/cpher)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/web-services-issue/62162 "2006-06-01T21:45:50Z")

</div>

I am currently working on a simple WS Client and have run across a very odd and frustrating issue. My fruitless hours of googling have brought me here in the hopes someone might help shed light on the situation. The …

---

## [Rails and Offline processing](https://www.ruby-forum.com/t/rails-and-offline-processing/84291)

<div class="topic-metadata">

**Author:** [@Berlin\_B](https://www.ruby-forum.com/u/Berlin_B)\
**Replies:** 6\
**Last updated:** [March 20, 2006, 10:36pm UTC](https://www.ruby-forum.com/t/rails-and-offline-processing/84291 "2006-03-20T22:36:53Z")

</div>

How are you guys handling threads or server processes that have to, for example, process the data in your application on a periodic basis? Cron jobs can do it and then run on the database. But, are there ways to laun…

---

## [When i save, rails doesnt update the model instance with the](https://www.ruby-forum.com/t/when-i-save-rails-doesnt-update-the-model-instance-with-the/72989)

<div class="topic-metadata">

**Author:** [@Noel\_RSMorais](https://www.ruby-forum.com/u/Noel_RSMorais)\
**Replies:** 6\
**Last updated:** [March 17, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/when-i-save-rails-doesnt-update-the-model-instance-with-the/72989 "2006-03-17T15:40:46Z")

</div>

Hi everybody, Im using sqlserver (sqlserver adapter). I think that is some bug. any idea?

---

## [Searching for a very fast string parser](https://www.ruby-forum.com/t/searching-for-a-very-fast-string-parser/54564)

<div class="topic-metadata">

**Author:** [@SSMKSM](https://www.ruby-forum.com/u/SSMKSM)\
**Replies:** 6\
**Last updated:** [March 9, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/searching-for-a-very-fast-string-parser/54564 "2006-03-09T15:52:32Z")

</div>

Hello, I want to parse a log file containing several line in the same format. My log files are about 50mb each (350k lines) so i need something quite fast. The current (and fastest) solution i came up with is using S…

---

## [ActiveRecord::Base#find(\*a) - but no &b !?](https://www.ruby-forum.com/t/activerecord-base-find-a-but-no-b/49453)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 6\
**Last updated:** [December 5, 2005, 6:35pm UTC](https://www.ruby-forum.com/t/activerecord-base-find-a-but-no-b/49453 "2005-12-05T18:35:12Z")

</div>

what’s the rational behind not letting the find method receive a block as in @students = \[\] Student.find(:all) do |student| @students \<\< student if student.age \< rand(42) end are there development plans for the omi…

---

## [Best style for setting items in a collection](https://www.ruby-forum.com/t/best-style-for-setting-items-in-a-collection/209830)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [July 25, 2011, 2:44am UTC](https://www.ruby-forum.com/t/best-style-for-setting-items-in-a-collection/209830 "2011-07-25T02:44:22Z")

</div>

I’ve only recently started learning Ruby and notice in Thomas’ Programming Ruby 1.9 that it seems to be stylistically preferable (and presumably also faster fwiw) not to use a for loop but rather to use the each metho…

---

## [Problem with ruby19's Hash behavior](https://www.ruby-forum.com/t/problem-with-ruby19s-hash-behavior/206191)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [April 26, 2011, 3:05pm UTC](https://www.ruby-forum.com/t/problem-with-ruby19s-hash-behavior/206191 "2011-04-26T15:05:01Z")

</div>

see the following codes pls, I wonder if this’s a intent or a bug. For me the first line sounds better having same result with the later line \[1\].inject(Hash.new {\[\]}){ |result, i| result\[:mem\] \<\< i; result } =\> {…

---

## [Wordpress mu + nginx + apache](https://www.ruby-forum.com/t/wordpress-mu-nginx-apache/179676)

<div class="topic-metadata">

**Author:** [@pepejose](https://www.ruby-forum.com/u/pepejose)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/wordpress-mu-nginx-apache/179676 "2009-12-19T15:25:26Z")

</div>

hi I have read many forums and tried many settings and I can not get it to work, I need help I swear I’ve tried many rules combination and settings these are the rules for apache for wordpress 2.8.6, but I need to do…

---

## [Nginx logfile rotation](https://www.ruby-forum.com/t/nginx-logfile-rotation/174723)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 7\
**Last updated:** [September 1, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/nginx-logfile-rotation/174723 "2009-09-01T18:38:30Z")

</div>

Am trying to configure for logfile rotation using logrotate with nginx (0.7.61). As the logrotate script runs, the old logfile is renamed and a new one is created, but nginx still writes to the old (renamed) logfile …

---

## [1.9 on Vista, would like tips, best practices](https://www.ruby-forum.com/t/1-9-on-vista-would-like-tips-best-practices/160130)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 7\
**Last updated:** [February 14, 2009, 6:24am UTC](https://www.ruby-forum.com/t/1-9-on-vista-would-like-tips-best-practices/160130 "2009-02-14T06:24:56Z")

</div>

I was wondering what is the best way to install 1.9.1 on MS Vista. Do I need to install ming? Also, what library concerns do I need to be aware of? I’m a little averse to using VMware (to mimic a linux install), bu…

---

## [Deploying My Rails App](https://www.ruby-forum.com/t/deploying-my-rails-app/147472)

<div class="topic-metadata">

**Author:** [@Gabe\_O](https://www.ruby-forum.com/u/Gabe_O)\
**Replies:** 7\
**Last updated:** [September 3, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/deploying-my-rails-app/147472 "2008-09-03T15:48:02Z")

</div>

I have just finished my first Rails application following the lynda.com tutorial, but I am not sure how to get my application on the internet. I have an ftp account through the applemachine server, but from what I ha…

---

## [Strange, non-repetitious error](https://www.ruby-forum.com/t/strange-non-repetitious-error/134053)

<div class="topic-metadata">

**Author:** [@flisak](https://www.ruby-forum.com/u/flisak)\
**Replies:** 7\
**Last updated:** [April 7, 2008, 2:33pm UTC](https://www.ruby-forum.com/t/strange-non-repetitious-error/134053 "2008-04-07T14:33:33Z")

</div>

Hello I have that exception sometimes: “can’t convert false into Integer” This error is non-repetitious. This exception occur once in a while when I run progam on the same data. sample code: for z in 1…lines.length …

---

## [Ruby's build system](https://www.ruby-forum.com/t/rubys-build-system/74058)

<div class="topic-metadata">

**Author:** [@cies](https://www.ruby-forum.com/u/cies)\
**Replies:** 7\
**Last updated:** [November 7, 2006, 10:44am UTC](https://www.ruby-forum.com/t/rubys-build-system/74058 "2006-11-07T10:44:29Z")

</div>

right now autotools, make and shell scripts are used to build ruby. i saw that yarv needs a version of ruby to be present in order to build it: right? (i dont know if this is a temporary dependency) but if ruby is ne…

---

## [Goldberg website tool: new version 0.1.1 released](https://www.ruby-forum.com/t/goldberg-website-tool-new-version-0-1-1-released/66478)

<div class="topic-metadata">

**Author:** [@urbanus](https://www.ruby-forum.com/u/urbanus)\
**Replies:** 7\
**Last updated:** [October 18, 2006, 10:42am UTC](https://www.ruby-forum.com/t/goldberg-website-tool-new-version-0-1-1-released/66478 "2006-10-18T10:42:45Z")

</div>

Goldberg is a website development tool for Ruby on Rails that provides user management, role-based security, site navigation via menus that are dynamic depending on each user’s role, and content pages (a very basic CM…

---

## [Problem with habtm conditions in pagination](https://www.ruby-forum.com/t/problem-with-habtm-conditions-in-pagination/56476)

<div class="topic-metadata">

**Author:** [@juli](https://www.ruby-forum.com/u/juli)\
**Replies:** 7\
**Last updated:** [March 31, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/problem-with-habtm-conditions-in-pagination/56476 "2006-03-31T18:25:53Z")

</div>

Hello list, I’ve had this problem for two days now. Perhaps someone here would care to comment on it. I’d be REALLY appreciative if that’d be the case. Basically, it’s outlined at this paste: http://rafb.net/paste/res…

---

## [Nuube Sequence problem](https://www.ruby-forum.com/t/nuube-sequence-problem/55490)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 7\
**Last updated:** [March 21, 2006, 6:23pm UTC](https://www.ruby-forum.com/t/nuube-sequence-problem/55490 "2006-03-21T18:23:53Z")

</div>

In my database the id for a field is 810. RoR thinks that it is 809. My log file (below) shows that just before the insert it grabs the next sequence value. I dont think it should do that. This causes problems furthe…

---

## [Oauth2.0 with ruby](https://www.ruby-forum.com/t/oauth2-0-with-ruby/253354)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 1\
**Last updated:** [December 15, 2019, 2:54pm UTC](https://www.ruby-forum.com/t/oauth2-0-with-ruby/253354 "2019-12-15T14:54:08Z")

</div>

Hi, How to do oauth2.0 in ruby? please help me

---

## [Rspec for Pinning App](https://www.ruby-forum.com/t/rspec-for-pinning-app/244724)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [June 4, 2016, 1:56am UTC](https://www.ruby-forum.com/t/rspec-for-pinning-app/244724 "2016-06-04T01:56:28Z")

</div>

Hi, all! I am very new to Ruby and working my way through a course and have a reached a point where I cannot figure out what I’m doing wrong. Here is a link to my project on GitHub https://github.com/michelleisclever…

---

## [Logging / Email error notification](https://www.ruby-forum.com/t/logging-email-error-notification/238637)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 21, 2014, 7:46pm UTC](https://www.ruby-forum.com/t/logging-email-error-notification/238637 "2014-01-21T19:46:20Z")

</div>

I’d like to implement something in my application where the last n lines of the development log are included in an email when an error occurs. Right now the application triggers an email using an application controll…

---

## [Log power FFT block - bug?](https://www.ruby-forum.com/t/log-power-fft-block-bug/219897)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 1\
**Last updated:** [May 24, 2012, 9:43pm UTC](https://www.ruby-forum.com/t/log-power-fft-block-bug/219897 "2012-05-24T21:43:02Z")

</div>

Hi everyone! I’ve been using log power FFT block for signal power estimation. I’ve fed the output of Log Power block to my custom block in which I search for peak in power spectrum and then I sum up bins left and ri…

---

## [Map\_hash\_\*\_size](https://www.ruby-forum.com/t/map-hash-size/210433)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 8, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/map-hash-size/210433 "2011-08-08T16:40:32Z")

</div>

I’m getting the error like this: nginx: \[emerg\] could not build the map\_hash, you should increase either map\_hash\_max\_size: 2048 or map\_hash\_bucket\_size: 64 I solved it by setting large values to those two variables, …

---

## [ActsAsFerret::IndexNotDefined](https://www.ruby-forum.com/t/actsasferret-indexnotdefined/196872)

<div class="topic-metadata">

**Author:** [@mihserf](https://www.ruby-forum.com/u/mihserf)\
**Replies:** 1\
**Last updated:** [January 5, 2009, 12:21pm UTC](https://www.ruby-forum.com/t/actsasferret-indexnotdefined/196872 "2009-01-05T12:21:42Z")

</div>

Hello! I use acts\_as\_ferret at first. I have several models with acts\_as\_ferret. When I do search in the models User,Article,Therm it works fine. But when I try search in Addition model or in Page model I got followi…

---

## [Wrong installation partition](https://www.ruby-forum.com/t/wrong-installation-partition/234187)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [February 14, 2015, 4:47pm UTC](https://www.ruby-forum.com/t/wrong-installation-partition/234187 "2015-02-14T16:47:50Z")

</div>

Hi, I’m absolutely new at the happy world of Ruby. During the installation I requested to change the path from the proposed C:\\ to another partition (E:) on my PC. (I have C, D, E and H). Once installed, when I open …

---

## [You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3](https://www.ruby-forum.com/t/you-have-already-activated-rack-1-3-2-but-your-gemfile-requires-rack-1-2-3/211400)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 3, 2011, 6:18am UTC](https://www.ruby-forum.com/t/you-have-already-activated-rack-1-3-2-but-your-gemfile-requires-rack-1-2-3/211400 "2011-09-03T06:18:58Z")

</div>

Hi, guys, I got the below error message when i typed this command in terminal “rackup config.ru” , the file config.ru is rails 's configuration file. You have already activated rack 1.3.2, but your Gemfile requires…

---

## [OS X - \`require': no such file to load -- sqlite3/sqlite3\_native](https://www.ruby-forum.com/t/os-x-require-no-such-file-to-load-sqlite3-sqlite3-native/205668)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 16, 2011, 7:44pm UTC](https://www.ruby-forum.com/t/os-x-require-no-such-file-to-load-sqlite3-sqlite3-native/205668 "2011-04-16T19:44:29Z")

</div>

I’ve searched and search, tried a number of things like unstalling sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from source, etc. Nothing seems to work. When I try to start up my server I get the …

---

## [Spectrum distortion in wideband OFDM samples](https://www.ruby-forum.com/t/spectrum-distortion-in-wideband-ofdm-samples/202402)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 29, 2011, 11:00am UTC](https://www.ruby-forum.com/t/spectrum-distortion-in-wideband-ofdm-samples/202402 "2011-01-29T11:00:50Z")

</div>

Hello, I am transmitting 20Mhz OFDM symbols using UHD code. When I checked the PSD of the received samples using UHD (rx\_samples\_to\_file) I found there is a significant difference in PSD between the transmitted and …

---

## [\[Feature: trunk\] String#encode(:fallback) should accept default handler](https://www.ruby-forum.com/t/feature-trunk-string-encode-fallback-should-accept-default-handler/200165)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [December 7, 2010, 10:03am UTC](https://www.ruby-forum.com/t/feature-trunk-string-encode-fallback-should-accept-default-handler/200165 "2010-12-07T10:03:37Z")

</div>

$B!!$5$5$@$G$9!%(B $B!!:G6a!$(BString#encode $B$O(B :fallback $B%\*%W%7%g%s$K$h$C$F!$CV49$G$-$J$$J8;z(B $B$rCV$-49$($k$?$a$NJ8;z!JNs!K$N%F!\<%V%k$rEO$9$3$H$,$G$-$k!$$H$$$&$3$H$rCN(B $B$j$^$7$?!%(B p “\\u00A9”.encode(‘s…

---

## [\[ANN\] ruby-hackernews released!](https://www.ruby-forum.com/t/ann-ruby-hackernews-released/194652)

<div class="topic-metadata">

**Author:** [@ribbed21](https://www.ruby-forum.com/u/ribbed21)\
**Replies:** 4\
**Last updated:** [September 10, 2010, 11:53am UTC](https://www.ruby-forum.com/t/ann-ruby-hackernews-released/194652 "2010-09-10T11:53:51Z")

</div>

Ciao a tutti, ho scritto una piccola libreria che permette di interfacciarsi al popolare news aggregator Hacker News (http://news.ycombinator.com ). La trovate qui → GitHub - bolthar/ruby-hackernews: An API over hack…

---

## [Back with more questions: mono 2.4.x & IR 0.9.x](https://www.ruby-forum.com/t/back-with-more-questions-mono-2-4-x-ir-0-9-x/179480)

<div class="topic-metadata">

**Author:** [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Replies:** 4\
**Last updated:** [November 26, 2009, 11:55am UTC](https://www.ruby-forum.com/t/back-with-more-questions-mono-2-4-x-ir-0-9-x/179480 "2009-11-26T11:55:59Z")

</div>

Hi Folks, Since I hear such good things about the rate at which features are being added to the project (and since it coincides with needing to write some cross-platform UI code), I thought I’d give the new version a …

---

## [CR: IronRuby tests for IDMOP, and ir\_wrap.cmd](https://www.ruby-forum.com/t/cr-ironruby-tests-for-idmop-and-ir-wrap-cmd/164008)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 4\
**Last updated:** [March 26, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/cr-ironruby-tests-for-idmop-and-ir-wrap-cmd/164008 "2009-03-26T23:26:37Z")

</div>

tfpt review “/shelveset:iridmop;REDMOND\\sborde” Comment : Adding unit tests for Ruby’s IDynamicMetaObjectProvider support. Failing scenarios are tagged with AreEqualBug and AssertExceptionThrownBug Added Languages\\…

---

## [Netssh and mysl](https://www.ruby-forum.com/t/netssh-and-mysl/160379)

<div class="topic-metadata">

**Author:** [@adad](https://www.ruby-forum.com/u/adad)\
**Replies:** 4\
**Last updated:** [February 16, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/netssh-and-mysl/160379 "2009-02-16T17:24:58Z")

</div>

hi is there a way to run netssh and mysql. some thing on the lines: Net::SSH.start(“ipaddress”, “username”, :password=\>“psswd”) do |ssh| ssh.exec(“mysql -uusername -ppassword -P3306 dbname”) ssh.exec(“use dbname;”) …

---

## [Trying to track down an issue in a performance based load test.. using Rails 2.2.2](https://www.ruby-forum.com/t/trying-to-track-down-an-issue-in-a-performance-based-load-test-using-rails-2-2-2/155676)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 4\
**Last updated:** [December 16, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/trying-to-track-down-an-issue-in-a-performance-based-load-test-using-rails-2-2-2/155676 "2008-12-16T21:20:28Z")

</div>

I am trying to debug an issue with Rails 2.2.2… I am running a load test where I am logging in and out 20 users, and I am occasionally seeing this error, in my logs: (see stack trace below) it appears that the body …

---

## [Passing local to template to partial](https://www.ruby-forum.com/t/passing-local-to-template-to-partial/155590)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 4\
**Last updated:** [December 15, 2008, 2:23am UTC](https://www.ruby-forum.com/t/passing-local-to-template-to-partial/155590 "2008-12-15T02:23:11Z")

</div>

I want to pass an array to a template as a local variable. The template passes the same local variable to a partial as a local variable. This isn’t working as I expect and something in the back of my mind is says th…

---

## [Error during gem install with 1.1](https://www.ruby-forum.com/t/error-during-gem-install-with-1-1/155419)

<div class="topic-metadata">

**Author:** [@bemmi](https://www.ruby-forum.com/u/bemmi)\
**Replies:** 4\
**Last updated:** [December 11, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/error-during-gem-install-with-1-1/155419 "2008-12-11T18:05:14Z")

</div>

I get this error when I try to install a gem: jruby -J-Xmx512M -S gem install mocha JRuby limited openssl loaded. gem install jruby-openssl for full support. http://wiki.jruby.org/wiki/JRuby\_Builtin\_OpenSSL Bulk up…

---

## [Auditing: session\[:user\] reference in after\_save callback](https://www.ruby-forum.com/t/auditing-session-user-reference-in-after-save-callback/135661)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 12:01am UTC](https://www.ruby-forum.com/t/auditing-session-user-reference-in-after-save-callback/135661 "2008-04-24T00:01:46Z")

</div>

I know, it is against the MVC to speak directly to a session object in the model but I am looking for a solution to this problem with auditing I have a SystemLog model which works as a sort of auditor to track changes…

---

## [OFDM Benchmark- runtime error](https://www.ruby-forum.com/t/ofdm-benchmark-runtime-error/116050)

<div class="topic-metadata">

**Author:** [@donsarang](https://www.ruby-forum.com/u/donsarang)\
**Replies:** 4\
**Last updated:** [October 2, 2007, 4:35am UTC](https://www.ruby-forum.com/t/ofdm-benchmark-runtime-error/116050 "2007-10-02T04:35:34Z")

</div>

Hello to all the experts! I am doing a mini project on GNU Radio using OFDM. Somehow I am getting runtime errors when i try to run the benchmark scripts . The message i get when trying to run benchmark\_ofdm\_tx.py is h…

---

## [Method seems to work ok but the test fails - why?](https://www.ruby-forum.com/t/method-seems-to-work-ok-but-the-test-fails-why/115254)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 4\
**Last updated:** [September 22, 2007, 9:48pm UTC](https://www.ruby-forum.com/t/method-seems-to-work-ok-but-the-test-fails-why/115254 "2007-09-22T21:48:06Z")

</div>

Can anyone help me by explaining why this test fails? An article has a title and a url (among other things). If we don’t get a title from the create article form, then i use hpricot and open-uri to look on the net a…

---

## [Page status Hidden, what does it really do?](https://www.ruby-forum.com/t/page-status-hidden-what-does-it-really-do/113854)

<div class="topic-metadata">

**Author:** [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Replies:** 4\
**Last updated:** [September 6, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/page-status-hidden-what-does-it-really-do/113854 "2007-09-06T19:04:43Z")

</div>

Hey guys, Quick question about the “Hidden” status. What does it do? Cheers, – Travis B. removed\_email\_address@domain.invalid

---

## [Change default values](https://www.ruby-forum.com/t/change-default-values/104023)

<div class="topic-metadata">

**Author:** [@Francesco\_L](https://www.ruby-forum.com/u/Francesco_L)\
**Replies:** 4\
**Last updated:** [May 15, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/change-default-values/104023 "2007-05-15T16:12:12Z")

</div>

I need to change the default values inserted by radiant in published\_at column. In the old version of Radiant I created sites with all controllers, models etc in the site so I modified them to avoid that the default …

---

## [Form\_tag error (model)](https://www.ruby-forum.com/t/form-tag-error-model/93283)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 4\
**Last updated:** [April 30, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/form-tag-error-model/93283 "2007-04-30T13:54:35Z")

</div>

That’s give me an error :: \<%= form “user” %\> :: \<%= input “user”, “username” %\> :: \<%= end\_form\_tag %\> NoMethodError in Home#index Showing app/views/components/\_loginbox.rhtml where line #1 raised: You have a …

---

## [Proteger aplicacion](https://www.ruby-forum.com/t/proteger-aplicacion/74685)

<div class="topic-metadata">

**Author:** [@Chankas](https://www.ruby-forum.com/u/Chankas)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 10:52am UTC](https://www.ruby-forum.com/t/proteger-aplicacion/74685 "2006-11-07T10:52:53Z")

</div>

Hola a todos Mi duda es que puedo hacer para proteger el código de mi aplicación El problema es que tengo que instalar la aplicación en un PC de un cliente y este puede hacer mal uso del código Existe algo como enc…

---

## [Using rspec and mocha](https://www.ruby-forum.com/t/using-rspec-and-mocha/68358)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [September 14, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/using-rspec-and-mocha/68358 "2006-09-14T14:13:48Z")

</div>

I prefer to use rspec than test::unit for developing my apps. However I’ve found its mocking library to be pretty inflexible compared to Mocha. This isn’t really a surprise since rspec isn’t intended as a mocking fr…

---

## [Why can't I call this without parentheses?](https://www.ruby-forum.com/t/why-cant-i-call-this-without-parentheses/96141)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 4\
**Last updated:** [June 27, 2006, 6:18pm UTC](https://www.ruby-forum.com/t/why-cant-i-call-this-without-parentheses/96141 "2006-06-27T18:18:33Z")

</div>

I have a little helper that lets me add legacy fields to models where they have common prefixes, suffixes, or something else weird. Here is the method signature: def legacy\_fields(options = {}, \*attributes) … end o…

---

## [ActiveRBAC?](https://www.ruby-forum.com/t/activerbac/95691)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 4\
**Last updated:** [June 9, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/activerbac/95691 "2006-06-09T19:14:36Z")

</div>

How’s the experience with using ActiveRBAC? For my “next 4 days with rails” :stuck\_out\_tongue: I’d like to consider adding Role-based access to the To-Do List application in the original “four days w/ rails” tutorial. …

---

## [Difference between :: and . in calling methods](https://www.ruby-forum.com/t/difference-between-and-in-calling-methods/58755)

<div class="topic-metadata">

**Author:** [@mutejute](https://www.ruby-forum.com/u/mutejute)\
**Replies:** 4\
**Last updated:** [April 28, 2006, 5:03am UTC](https://www.ruby-forum.com/t/difference-between-and-in-calling-methods/58755 "2006-04-28T05:03:31Z")

</div>

newb here. whats the difference between :: and . in calling methods? like for example: File::open and File.open As I understand, you use :: in invoking the constant of a class like Math::PI . Another thing is if i …

---

## [Anybody working on GEDCOM data?](https://www.ruby-forum.com/t/anybody-working-on-gedcom-data/58087)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 4\
**Last updated:** [April 18, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/anybody-working-on-gedcom-data/58087 "2006-04-18T17:48:43Z")

</div>

Is anybody working on GEDCOM-formatted genealogy data? (thinking of making a GEDCOM editor)

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

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