# Top

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

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

---

## [Problem with RoR's controller getting too large](https://www.ruby-forum.com/t/problem-with-rors-controller-getting-too-large/102994)

<div class="topic-metadata">

**Author:** [@shurain](https://www.ruby-forum.com/u/shurain)\
**Replies:** 6\
**Last updated:** [May 2, 2007, 7:00am UTC](https://www.ruby-forum.com/t/problem-with-rors-controller-getting-too-large/102994 "2007-05-02T07:00:33Z")

</div>

Let’s assume that there are two models Post and Comment. If we have a controller dealing with both of these models, it wouldn’t take long before the controller grows too big to maintain. As far as I understand, this h…

---

## [Long Running Tasks - What Pattern?](https://www.ruby-forum.com/t/long-running-tasks-what-pattern/90420)

<div class="topic-metadata">

**Author:** [@joergd](https://www.ruby-forum.com/u/joergd)\
**Replies:** 6\
**Last updated:** [March 28, 2007, 10:58pm UTC](https://www.ruby-forum.com/t/long-running-tasks-what-pattern/90420 "2007-03-28T22:58:36Z")

</div>

Hi, I have some tasks that a user initiates from a page. This task might run longer than the browser timeout. What is the best way to deal with this? Thanks Joerg

---

## [ANN: Loopnote - Notifications 2.0](https://www.ruby-forum.com/t/ann-loopnote-notifications-2-0/79446)

<div class="topic-metadata">

**Author:** [@Martin\_May](https://www.ruby-forum.com/u/Martin_May)\
**Replies:** 6\
**Last updated:** [December 15, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/ann-loopnote-notifications-2-0/79446 "2006-12-15T20:52:58Z")

</div>

Hi guys, I’d like to announce the public beta of a site that I’ve been working on over the last year: http://loopnote.com Loopnote is an easy-to-use, Ruby-on-Rails-based notification web app. The basic idea behind i…

---

## [How to add a method\_missing method into ActiveRecord](https://www.ruby-forum.com/t/how-to-add-a-method-missing-method-into-activerecord/79193)

<div class="topic-metadata">

**Author:** [@ao\_tianlong](https://www.ruby-forum.com/u/ao_tianlong)\
**Replies:** 6\
**Last updated:** [December 13, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/how-to-add-a-method-missing-method-into-activerecord/79193 "2006-12-13T20:45:25Z")

</div>

i want to write a plugin that support like following Book.search\_by\_author\_and\_description(keyword) i must hold method\_missing to dynamic find books but ActiveRecord already used method\_missing . how can i add onoth…

---

## [Can one use line addresses...to select a portion of file](https://www.ruby-forum.com/t/can-one-use-line-addresses-to-select-a-portion-of-file/78188)

<div class="topic-metadata">

**Author:** [@JacobS\_Raymond\_A\_Jr](https://www.ruby-forum.com/u/JacobS_Raymond_A_Jr)\
**Replies:** 6\
**Last updated:** [December 5, 2006, 11:22pm UTC](https://www.ruby-forum.com/t/can-one-use-line-addresses-to-select-a-portion-of-file/78188 "2006-12-05T23:22:58Z")

</div>

I would like to select a portion of a file to process like I did with sed. i.e. a file called Menu with the following contents: McDonalds … … …(stuff deleted) Happy\_Meal\_ With sed I would do something like sed -…

---

## [Template is missing error](https://www.ruby-forum.com/t/template-is-missing-error/49540)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 6\
**Last updated:** [December 9, 2005, 10:07pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540 "2005-12-09T22:07:35Z")

</div>

Hello! I’m getting a ‘Template is missing’ error that says: Missing template ./script/…/config/…/app/views/faq/list.rhtml but there is a blank list.rtml file there. It shows up as a text document, I don’t know if that…

---

## [Noob with a stupid question](https://www.ruby-forum.com/t/noob-with-a-stupid-question/251555)

<div class="topic-metadata">

**Author:** [@j3r1ch0h](https://www.ruby-forum.com/u/j3r1ch0h)\
**Replies:** 1\
**Last updated:** [January 3, 2019, 2:08pm UTC](https://www.ruby-forum.com/t/noob-with-a-stupid-question/251555 "2019-01-03T14:08:33Z")

</div>

Stupid question time! I love this part… ok. The difference between a variable and a constant? I see both describe something, like a noun, but a constant is Capitalized. So I did notice a difference as I tried to give …

---

## [WX GUI Waterfall Sink not working if a Ettus GNU Radio binary and UHD binary is installed](https://www.ruby-forum.com/t/wx-gui-waterfall-sink-not-working-if-a-ettus-gnu-radio-binary-and-uhd-binary-is-installed/225281)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [December 26, 2012, 10:10pm UTC](https://www.ruby-forum.com/t/wx-gui-waterfall-sink-not-working-if-a-ettus-gnu-radio-binary-and-uhd-binary-is-installed/225281 "2012-12-26T22:10:45Z")

</div>

I need your help: I have tried since several weeks to install GNU Radio and the USRP N210 with FPGA version 9 on different Ubuntu and Fedora versions with always the problem that the waterfall sink is not working. I …

---

## [Kata @$$-kick! Prime Factors](https://www.ruby-forum.com/t/kata-kick-prime-factors/223499)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [October 7, 2012, 3:30am UTC](https://www.ruby-forum.com/t/kata-kick-prime-factors/223499 "2012-10-07T03:30:40Z")

</div>

I’m trying to re-write the prime factors kata without using the Prime library. About to go berserk with frustration, too. I’ve tried a mess of different techniques and puts’d all over the place to “see” a solution, bu…

---

## [Audio Issues](https://www.ruby-forum.com/t/audio-issues/217320)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 28, 2012, 3:29am UTC](https://www.ruby-forum.com/t/audio-issues/217320 "2012-02-28T03:29:47Z")

</div>

I was able to get gnuradio to successfully compile using the script available at (http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR) and I updated my PYTHONPATH as the script instructed. However, none o…

---

## [Gnuradio Pseudo Noise sequence](https://www.ruby-forum.com/t/gnuradio-pseudo-noise-sequence/214187)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [November 26, 2011, 5:42pm UTC](https://www.ruby-forum.com/t/gnuradio-pseudo-noise-sequence/214187 "2011-11-26T17:42:25Z")

</div>

Hi, In gnuradio, they use Pseudo noise sequence generated from 15 bits LFSR (sequence in packet\_utils.py). Now I’m implementing the whitening in hardware. I like to know the configuration of that 15 bits LFSR? PN

---

## [Fwd: AR + TinyTDS timeout fails to trigger on network failure](https://www.ruby-forum.com/t/fwd-ar-tinytds-timeout-fails-to-trigger-on-network-failure/210023)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 28, 2011, 8:29pm UTC](https://www.ruby-forum.com/t/fwd-ar-tinytds-timeout-fails-to-trigger-on-network-failure/210023 "2011-07-28T20:29:09Z")

</div>

Hello Ruby and Rails developers. Cross-posted to : Ruby-Talk, Rails-Talk, Jruby-Users Could you all look into this Gist TinyTDS timeout on network failure of open connection · GitHub and maybe point out what I could …

---

## [Array overwrite question](https://www.ruby-forum.com/t/array-overwrite-question/209391)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [July 15, 2011, 9:08am UTC](https://www.ruby-forum.com/t/array-overwrite-question/209391 "2011-07-15T09:08:26Z")

</div>

It is about array question below is my program: aa = \[2,3,4,5,6,7,8\] bb = \[22,3,66,66,66,66\] cc = bb n = 0 while aa\[n\]!=nil m = 0 while bb\[m\]!= nil if (aa\[n\]== bb\[m\]) cc\[m\] = 99 end m+=1 end n+=1 end outp…

---

## [\[Bug:1.9\] NameError: uninitialized constant Net::IMAP::SSL in test/net/imap/test\_imap.rb](https://www.ruby-forum.com/t/bug-1-9-nameerror-uninitialized-constant-net-ssl-in-test-net-imap-test-imap-rb/144898)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [August 5, 2008, 9:27am UTC](https://www.ruby-forum.com/t/bug-1-9-nameerror-uninitialized-constant-net-ssl-in-test-net-imap-test-imap-rb/144898 "2008-08-05T09:27:36Z")

</div>

e$B@\>;3OB9-$G$9!#e(B openssle$B$,F~$C$F$$$J$$4D6-$@$He(Btest/net/imap/test\_imap.rbe$B$Ge(B NameErrore$B$,H/@8$7$^$9!#e(B Error: test\_unexpected\_eof(IMAPTest): NameError: uninitialized constant Net::IMAP::SSL …/net…

---

## [Seeking RoR experts - remote job for lat american developers](https://www.ruby-forum.com/t/seeking-ror-experts-remote-job-for-lat-american-developers/143254)

<div class="topic-metadata">

**Author:** [@decidestaffing](https://www.ruby-forum.com/u/decidestaffing)\
**Replies:** 1\
**Last updated:** [July 19, 2008, 2:13pm UTC](https://www.ruby-forum.com/t/seeking-ror-experts-remote-job-for-lat-american-developers/143254 "2008-07-19T14:13:59Z")

</div>

We are a rapidly growing American company with staff in Latin America. We would like to retain three or more developers immediately to staff several projects. Ideally on these projects we would like to work with full-…

---

## [Regex extracting certain characters](https://www.ruby-forum.com/t/regex-extracting-certain-characters/141281)

<div class="topic-metadata">

**Author:** [@owc](https://www.ruby-forum.com/u/owc)\
**Replies:** 7\
**Last updated:** [June 25, 2008, 7:01am UTC](https://www.ruby-forum.com/t/regex-extracting-certain-characters/141281 "2008-06-25T07:01:47Z")

</div>

Hi everyone, I have 2 path names : C:/Ruby/20080205/2008 C:/Ruby/2008 I need a regular expression which can select just 2008 and utilise the string that contains just 2008 instead of 20080205. I tried using /2008/ …

---

## [ActionMailer Fails To Send Emails Post Authentication](https://www.ruby-forum.com/t/actionmailer-fails-to-send-emails-post-authentication/141234)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 1\
**Last updated:** [June 24, 2008, 2:02am UTC](https://www.ruby-forum.com/t/actionmailer-fails-to-send-emails-post-authentication/141234 "2008-06-24T02:02:51Z")

</div>

I am trying to send emails via actionmailer. It was working fine before and now suddenly what was working is no longer working! I have one version of the application running in production and whenever I try to run it…

---

## [Commercial Calendar Calculations](https://www.ruby-forum.com/t/commercial-calendar-calculations/139431)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 7\
**Last updated:** [June 4, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/commercial-calendar-calculations/139431 "2008-06-04T17:08:46Z")

</div>

I’m interested in doing calculations with a commercial calendar. For example, “Find every 2nd business day of the month for 2008”. I’m feeling a little long on how to approach the topic. Does anyone know of a libra…

---

## [Accessing columns by index](https://www.ruby-forum.com/t/accessing-columns-by-index/129516)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 7\
**Last updated:** [February 19, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/accessing-columns-by-index/129516 "2008-02-19T20:38:36Z")

</div>

Hi, I have my Find statement returning rows like this Col1 Col2 Col3 Col4 While displaying I want to do this order: Cyclic fashion. First row: Col1 Col2 Col3 Col4 Second row: Col2 Col3 Col4 Col1 Third row: Col3 Col…

---

## [Choose 6 records from the database randomly](https://www.ruby-forum.com/t/choose-6-records-from-the-database-randomly/122056)

<div class="topic-metadata">

**Author:** [@ror-user](https://www.ruby-forum.com/u/ror-user)\
**Replies:** 7\
**Last updated:** [December 4, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/choose-6-records-from-the-database-randomly/122056 "2007-12-04T16:38:53Z")

</div>

Hello All, I have to choose 6 records from the table but randomly. I have written the code: @products = Product.find(:all, :conditions =\> “feature = 1”, :limit =\> 6) But it fetches only the first six records from th…

---

## [Gem is installed, but...no such file to load -- localization](https://www.ruby-forum.com/t/gem-is-installed-but-no-such-file-to-load-localization/115544)

<div class="topic-metadata">

**Author:** [@jandot](https://www.ruby-forum.com/u/jandot)\
**Replies:** 1\
**Last updated:** [September 26, 2007, 4:51am UTC](https://www.ruby-forum.com/t/gem-is-installed-but-no-such-file-to-load-localization/115544 "2007-09-26T04:51:40Z")

</div>

Hi all, This problem is driving me crazy. I have re-uploaded my rails application from localhost to the server, and rails refuses to start. The plugin “localization” seems to be the problem. However, it works on loca…

---

## [Byteswapping problems in usrp code](https://www.ruby-forum.com/t/byteswapping-problems-in-usrp-code/104129)

<div class="topic-metadata">

**Author:** [@greg2](https://www.ruby-forum.com/u/greg2)\
**Replies:** 1\
**Last updated:** [May 14, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/byteswapping-problems-in-usrp-code/104129 "2007-05-14T17:34:40Z")

</div>

gnuradio/trunk/usrp/host/lib/legacy/usrp\_bytesex.h includes byteswap.h, which appears to be a Linux-specific header file. I looked briefly, and didn’t see any POSIX/SUSv3 definitions of these macros. I just fixed th…

---

## [User engine migrations foobar on foreign key constraints](https://www.ruby-forum.com/t/user-engine-migrations-foobar-on-foreign-key-constraints/71593)

<div class="topic-metadata">

**Author:** [@Brian\_Estlin](https://www.ruby-forum.com/u/Brian_Estlin)\
**Replies:** 1\
**Last updated:** [October 10, 2006, 11:02am UTC](https://www.ruby-forum.com/t/user-engine-migrations-foobar-on-foreign-key-constraints/71593 "2006-10-10T11:02:08Z")

</div>

hi, Hope this is the right place and i’m not repeating something on the archive (i looked, briefly). UserEngine gave me some grief when running migrations due to the fact that I use foreign key constraints in my data…

---

## [Feeling a little (sc)raped? -- Google CodeSearch](https://www.ruby-forum.com/t/feeling-a-little-sc-raped-google-codesearch/71114)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 7\
**Last updated:** [October 5, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/feeling-a-little-sc-raped-google-codesearch/71114 "2006-10-05T16:04:54Z")

</div>

How do others feel about this Google CodeSearch? http://www.google.com/codesearch T.

---

## [Using ActionView free style](https://www.ruby-forum.com/t/using-actionview-free-style/98370)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 7\
**Last updated:** [September 3, 2006, 10:36pm UTC](https://www.ruby-forum.com/t/using-actionview-free-style/98370 "2006-09-03T22:36:59Z")

</div>

ActionView is a very useful class, in its own right. But, calling it by itself causes a weird crash, exiting Ruby, without even raising an exception! ruby script/runner “begin; av = ActionView::Base.new; av.render(:i…

---

## [Sequencing control with edit method in CRUD examples](https://www.ruby-forum.com/t/sequencing-control-with-edit-method-in-crud-examples/97436)

<div class="topic-metadata">

**Author:** [@thekog](https://www.ruby-forum.com/u/thekog)\
**Replies:** 7\
**Last updated:** [July 7, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/sequencing-control-with-edit-method-in-crud-examples/97436 "2006-07-07T17:35:33Z")

</div>

I have been playing with the cookbook type of tutorials building a fish tournament scoring piece and am having a bit of a problem with a DB field called “points” in my “catch” table that is not input by the user but i…

---

## [FFI not available: on Raspberry Pi ARM linux JRuby. Any one tried this?](https://www.ruby-forum.com/t/ffi-not-available-on-raspberry-pi-arm-linux-jruby-any-one-tried-this/239824)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [March 15, 2014, 10:47pm UTC](https://www.ruby-forum.com/t/ffi-not-available-on-raspberry-pi-arm-linux-jruby-any-one-tried-this/239824 "2014-03-15T22:47:16Z")

</div>

---

## [Nesting modules inside of a Rails eninge gem](https://www.ruby-forum.com/t/nesting-modules-inside-of-a-rails-eninge-gem/228677)

<div class="topic-metadata">

**Author:** [@AJ\_Acevedo](https://www.ruby-forum.com/u/AJ_Acevedo)\
**Replies:** 0\
**Last updated:** [May 2, 2013, 9:36pm UTC](https://www.ruby-forum.com/t/nesting-modules-inside-of-a-rails-eninge-gem/228677 "2013-05-02T21:36:19Z")

</div>

What is the proper syntax to nest child modules within a parent module that is being as an isolate\_namespace Rails engine gem? lib/myengine/engine.rb module MyEngine class Engine \< Rails::Engine isolate\_namespace My…

---

## [Watirweb chrome - unable to find chromedriver executable](https://www.ruby-forum.com/t/watirweb-chrome-unable-to-find-chromedriver-executable/222290)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 22, 2012, 3:03pm UTC](https://www.ruby-forum.com/t/watirweb-chrome-unable-to-find-chromedriver-executable/222290 "2012-08-22T15:03:44Z")

</div>

I have kept files from (http://code.google.com/p/chromium/downloads/list) in Browser\_drivers directory inside present directory. here is the code: browser\_drivers = "#{Dir.pwd}/Browser\_drivers" browser\_drivers.gsub!(…

---

## [Ruby-oci8 2.0.5](https://www.ruby-forum.com/t/ruby-oci8-2-0-5/208216)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [June 12, 2011, 4:05pm UTC](https://www.ruby-forum.com/t/ruby-oci8-2-0-5/208216 "2011-06-12T16:05:42Z")

</div>

Ruby-oci8 2.0.5 is released. This is the Oracle module using OCI8 API. http://rubyforge.org/projects/ruby-oci8/ The next release will be 2.1.0 which doesn’t support Oracle8 (8.0) and Oracle 8i (8.1) anymore. New Fe…

---

## [\[ANN\] mongo\_translatable gem, a Ruby on Rails engine for MongoDB backed model translations, is out](https://www.ruby-forum.com/t/ann-mongo-translatable-gem-a-ruby-on-rails-engine-for-mongodb-backed-model-translations-is-out/204381)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 10, 2011, 11:38pm UTC](https://www.ruby-forum.com/t/ann-mongo-translatable-gem-a-ruby-on-rails-engine-for-mongodb-backed-model-translations-is-out/204381 "2011-03-10T23:38:15Z")

</div>

Hi everyone, Apologies for the cross posting… We’ve been using mongo\_translatable for awhile as a part of a feature in Kete (an open source Rails app, http://kete.net.nz) for a content translation add-on for awhile …

---

## [Flowgraph with async messaging hangs on calling wait()](https://www.ruby-forum.com/t/flowgraph-with-async-messaging-hangs-on-calling-wait/236298)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [September 12, 2013, 5:05pm UTC](https://www.ruby-forum.com/t/flowgraph-with-async-messaging-hangs-on-calling-wait/236298 "2013-09-12T17:05:31Z")

</div>

Hello all, I have written a sync block that takes in samples and outputs messages (similar to tagged\_stream\_to\_pdu), but when writing a test for the block I found that when I called top\_block.run(), the test never fi…

---

## [Adobe Air and Rails](https://www.ruby-forum.com/t/adobe-air-and-rails/219377)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [May 11, 2012, 11:38am UTC](https://www.ruby-forum.com/t/adobe-air-and-rails/219377 "2012-05-11T11:38:39Z")

</div>

Is it possible to wrap a HTML5 jquery app that is served up by a rails app in an adobe air app that is installable on multiple platforms? I don’t know much about adobe air, but the effect I am trying to achieve is t…

---

## [Nginx-1.1.15](https://www.ruby-forum.com/t/nginx-1-1-15/216843)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 18, 2012, 4:08am UTC](https://www.ruby-forum.com/t/nginx-1-1-15/216843 "2012-02-18T04:08:13Z")

</div>

Changes with nginx 1.1.15 15 Feb 2012 \*) Feature: the "disable\_symlinks" directive. \*) Feature: the "proxy\_cookie\_domain" and "proxy\_cookie\_path" directives. \*) Bugfix: nginx…

---

## [Relativity 0.0.1 released](https://www.ruby-forum.com/t/relativity-0-0-1-released/215656)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 14, 2012, 1:50am UTC](https://www.ruby-forum.com/t/relativity-0-0-1-released/215656 "2012-01-14T01:50:52Z")

</div>

relativity - time relative to a day, a week, a month, a quarter, a year https://github.com/petervandenabeele/relativity I could not find a pure Ruby implementation I liked of a time, relative to a day (e.g. 09:30:20 …

---

## [What is best Ruby programming practice for Rails 3 (ruby 1.9 \>)?](https://www.ruby-forum.com/t/what-is-best-ruby-programming-practice-for-rails-3-ruby-1-9/204534)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 12, 2011, 8:54am UTC](https://www.ruby-forum.com/t/what-is-best-ruby-programming-practice-for-rails-3-ruby-1-9/204534 "2011-04-12T08:54:58Z")

</div>

Hi all What is best Ruby programming practice for Rails 3 (ruby 1.9 \>)? please share here your exp on ruby for rails 3 or \> Thanks and regards, Shyam ruby on rails developer Mobile : +91(0)86-8846-8400 Web : Shyam…

---

## [Rails 3.0.5 gives SQLite3::SQLException for the same code that works on 3.0.3](https://www.ruby-forum.com/t/rails-3-0-5-gives-sqlite3-sqlexception-for-the-same-code-that-works-on-3-0-3/205373)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 5, 2011, 2:24pm UTC](https://www.ruby-forum.com/t/rails-3-0-5-gives-sqlite3-sqlexception-for-the-same-code-that-works-on-3-0-3/205373 "2011-04-05T14:24:14Z")

</div>

Hello, I recently updated Rails to 3.0.5. The very same code that worked on 3.0.3 now gives error. The code is: def kategorialista Kategoria.where(:elfogadva =\> TRUE).order(“nev”).collect {|s| \[s.nev, s.sefuri\]} e…

---

## [Invalid parsed value for keys\_zone. Is this a problem?](https://www.ruby-forum.com/t/invalid-parsed-value-for-keys-zone-is-this-a-problem/201944)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 18, 2011, 4:10pm UTC](https://www.ruby-forum.com/t/invalid-parsed-value-for-keys-zone-is-this-a-problem/201944 "2011-01-18T16:10:40Z")

</div>

Hi, driven by a wrong undestand of proxy\_cache’s keys\_zone parameter I have set it to a very high value: proxy\_cache\_path /tmp/cache levels=2:2:2 keys\_zone=cache:10000m max\_size=50g inactive=5m; What happens is t…

---

## [Costas parameter in DPSK2 grc block not in .py?](https://www.ruby-forum.com/t/costas-parameter-in-dpsk2-grc-block-not-in-py/197687)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 20, 2010, 2:49am UTC](https://www.ruby-forum.com/t/costas-parameter-in-dpsk2-grc-block-not-in-py/197687 "2010-10-20T02:49:08Z")

</div>

When I try to use the DPSK2 demod block in grc, I get the below error. The issue seems to be that the grc block has different arguments than dqpsk2\_demod() in dqpsk2.py (see below). Am I missing something here? I am …

---

## [May I know that why the zz\[0\]=="s" return false, please?](https://www.ruby-forum.com/t/may-i-know-that-why-the-zz-0-s-return-false-please/193940)

<div class="topic-metadata">

**Author:** [@oscarlok](https://www.ruby-forum.com/u/oscarlok)\
**Replies:** 4\
**Last updated:** [August 27, 2010, 10:05am UTC](https://www.ruby-forum.com/t/may-i-know-that-why-the-zz-0-s-return-false-please/193940 "2010-08-27T10:05:30Z")

</div>

Dear Sir, May I know that why the zz\[0\]==“s” return false, please? aa = ‘“s”;“d”;“f”’ zz = aa.split(";") zz\[0\]==“s” false Thanks Regards Oscar

---

## [Reload is using a cache and i dont want it to be](https://www.ruby-forum.com/t/reload-is-using-a-cache-and-i-dont-want-it-to-be/193083)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 4\
**Last updated:** [August 11, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/reload-is-using-a-cache-and-i-dont-want-it-to-be/193083 "2010-08-11T17:20:39Z")

</div>

class PendingOrder \< ActiveRecord::Base def sleep\_until\_processed sleep 0.5 while !processed? reload sleep 0.25 end end end Aug 10 19:43:38 prod-app1 foo\[31608\]: PendingOrder Load (0.6ms) SELECT \* FROM pending\_…

---

## [Why you should be be trying out the UHD](https://www.ruby-forum.com/t/why-you-should-be-be-trying-out-the-uhd/187581)

<div class="topic-metadata">

**Author:** [@highprob](https://www.ruby-forum.com/u/highprob)\
**Replies:** 4\
**Last updated:** [April 26, 2010, 9:28pm UTC](https://www.ruby-forum.com/t/why-you-should-be-be-trying-out-the-uhd/187581 "2010-04-26T21:28:30Z")

</div>

Things are starting to stabilize on the UHD front and everything is moving forward rapidly. You should really be trying out the UHD now if any of the following applies to you: You want to use the USRP2 on Windows o…

---

## [FusionCharts -Jruby](https://www.ruby-forum.com/t/fusioncharts-jruby/185325)

<div class="topic-metadata">

**Author:** [@veena](https://www.ruby-forum.com/u/veena)\
**Replies:** 4\
**Last updated:** [March 26, 2010, 2:18am UTC](https://www.ruby-forum.com/t/fusioncharts-jruby/185325 "2010-03-26T02:18:19Z")

</div>

Hai friends, I am a newbie in Jruby on Rails… while using fusion charts i am not able to generate the XML values using the builder file.I asks for the template for the builder file. Instead if i give the hard coded v…

---

## [Strings - foo\[0,0\] vs.. foo\[-1,0\]?](https://www.ruby-forum.com/t/strings-foo-0-0-vs-foo-1-0/181164)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 11:19am UTC](https://www.ruby-forum.com/t/strings-foo-0-0-vs-foo-1-0/181164 "2010-03-01T11:19:16Z")

</div>

Since some time I have used this to prepend something to a string: string = ‘bc’ string\[0,0\] = ‘a’ Resulting in: ‘abc’ Then I recently wanted to append something to a string. Of course there exists the \<\< method al…

---

## [Redefining hat operator for Proc](https://www.ruby-forum.com/t/redefining-hat-operator-for-proc/176114)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 4\
**Last updated:** [September 25, 2009, 1:50am UTC](https://www.ruby-forum.com/t/redefining-hat-operator-for-proc/176114 "2009-09-25T01:50:11Z")

</div>

Hello, I am developing a gem where I need to redefine the \<=\> operator for Proc. This operator shows up in the methods list when I print the output of methods call but I don’t see it in the list of private or protec…

---

## [Fullcalendar](https://www.ruby-forum.com/t/fullcalendar/176040)

<div class="topic-metadata">

**Author:** [@dawid999](https://www.ruby-forum.com/u/dawid999)\
**Replies:** 4\
**Last updated:** [September 24, 2009, 9:21pm UTC](https://www.ruby-forum.com/t/fullcalendar/176040 "2009-09-24T21:21:59Z")

</div>

Ciao a tutti, ero alla ricerca di un calendario completo e mi sono imbattuto in fullcalendar http://arshaw.com/fullcalendar, sembra molto carino, conoscete qualche esempio pratico di implementazione? Thx Dawid

---

## [No such file to load -- rexml\_helper (LoadError)](https://www.ruby-forum.com/t/no-such-file-to-load-rexml-helper-loaderror/175409)

<div class="topic-metadata">

**Author:** [@rubynoob](https://www.ruby-forum.com/u/rubynoob)\
**Replies:** 4\
**Last updated:** [September 13, 2009, 5:49pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-rexml-helper-loaderror/175409 "2009-09-13T17:49:26Z")

</div>

Hi, I am facing the above error. I am having Ubuntu 9.04 system with Ruby 1.8 running. Please advice. Thanks in advance. Best Regards, Active Noob

---

## [Does respond\_to play nicely with render :update?](https://www.ruby-forum.com/t/does-respond-to-play-nicely-with-render-update/165890)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [April 21, 2009, 3:48pm UTC](https://www.ruby-forum.com/t/does-respond-to-play-nicely-with-render-update/165890 "2009-04-21T15:48:00Z")

</div>

I have a custom format that I’m using called ‘desktop’. I have an action which is called via AJAX, and I’d like to update a div in my page with a partial. The request comes in with params\[:format\] == ‘desktop’, and my…

---

## [What is the equivalent of \<lang\>'s \<feature\> in ruby?](https://www.ruby-forum.com/t/what-is-the-equivalent-of-lang-s-feature-in-ruby/165479)

<div class="topic-metadata">

**Author:** [@Daniel\_DeLorme](https://www.ruby-forum.com/u/Daniel_DeLorme)\
**Replies:** 4\
**Last updated:** [April 15, 2009, 2:10pm UTC](https://www.ruby-forum.com/t/what-is-the-equivalent-of-lang-s-feature-in-ruby/165479 "2009-04-15T14:10:24Z")

</div>

Is there a website that documents which method in ruby is equivalent to which function in PHP? Or any other programming language? I could swear something like this has been posted to this list before, but I couldn’t f…

---

## [Problem with functional test](https://www.ruby-forum.com/t/problem-with-functional-test/163867)

<div class="topic-metadata">

**Author:** [@pietia](https://www.ruby-forum.com/u/pietia)\
**Replies:** 4\
**Last updated:** [March 25, 2009, 7:41pm UTC](https://www.ruby-forum.com/t/problem-with-functional-test/163867 "2009-03-25T19:41:50Z")

</div>

Hi I have upgraded to 2.3.2 and changed updated everything inside myproject : This is my functional TEST : require ‘test\_helper’ class Admin::ProjectsControllerTest \< ActiveSupport::TestCase def test\_get\_index get…

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

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