# Top

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

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

---

## [Gr\_crc16](https://www.ruby-forum.com/t/gr-crc16/93353)

<div class="topic-metadata">

**Author:** [@Luis\_Simoes](https://www.ruby-forum.com/u/Luis_Simoes)\
**Replies:** 1\
**Last updated:** [March 31, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/gr-crc16/93353 "2006-03-31T16:04:48Z")

</div>

Hi all, I need to check payload data with only 2 crc bytes. Unfortunately my transmitter sends only data with 2 crc bytes. There is only the gr\_crc32 module in gnuradio core with an algorithm that uses a table array w…

---

## [Cycle enumerator](https://www.ruby-forum.com/t/cycle-enumerator/230625)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 27, 2014, 10:58pm UTC](https://www.ruby-forum.com/t/cycle-enumerator/230625 "2014-06-27T22:58:13Z")

</div>

Hi, I was surprised today with a behaviour, maybe my expectation was wrong and someone can explain why it works this way: I have an array of elements, and I want to cycle through it assigning each element to another …

---

## [I don't understand arrays as objects of a bigger array](https://www.ruby-forum.com/t/i-dont-understand-arrays-as-objects-of-a-bigger-array/217943)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 16, 2012, 10:35pm UTC](https://www.ruby-forum.com/t/i-dont-understand-arrays-as-objects-of-a-bigger-array/217943 "2012-03-16T22:35:16Z")

</div>

In Chris P.'s book, he explains recursion into a bit of detail using an example in a game he was a part of its making. The explanation he used was to count the number of tiles there are in a “continent”. I’ll put the …

---

## [Wordpress Permalinks](https://www.ruby-forum.com/t/wordpress-permalinks/216921)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [February 17, 2012, 8:23am UTC](https://www.ruby-forum.com/t/wordpress-permalinks/216921 "2012-02-17T08:23:01Z")

</div>

Howdy. So I am trying to get permalinks to work with Wordpress. I have read a few articles/blog posts but still no luck. The permalink structure I am trying to use is: http://mydomain.com/wp/index.php/2012/02/sample-…

---

## [Observe field with jquery in Rails 3.1](https://www.ruby-forum.com/t/observe-field-with-jquery-in-rails-3-1/215650)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 11, 2012, 8:56pm UTC](https://www.ruby-forum.com/t/observe-field-with-jquery-in-rails-3-1/215650 "2012-01-11T20:56:20Z")

</div>

I tries to observe a change in a field with jquery in Rails 3.1 in order to be able to implement two cascading select boxes. A a first step I just try to observe a click in a div using jquery I have the following f…

---

## [Gnuradio library linking error](https://www.ruby-forum.com/t/gnuradio-library-linking-error/213504)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 3, 2011, 10:33pm UTC](https://www.ruby-forum.com/t/gnuradio-library-linking-error/213504 "2011-11-03T22:33:02Z")

</div>

Hi, I have a test application that I want to link with the gnuradio library. I user the proper link variables but I always get the error of the following type. fatal error: gr\_complex.h: No such file or directory …

---

## [Gem update --system issue](https://www.ruby-forum.com/t/gem-update-system-issue/212448)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 14, 2011, 5:16pm UTC](https://www.ruby-forum.com/t/gem-update-system-issue/212448 "2011-10-14T17:16:25Z")

</div>

I run the command $gem update --system after all time while installing gems and even $rails -v command also giving below error Invalid gemspec in \[/usr/local/lib/ruby/gems/1.9.1/specifications/ json-1.6.1.gemspec\]:…

---

## [Jquery and ajax query in rails 3](https://www.ruby-forum.com/t/jquery-and-ajax-query-in-rails-3/211579)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 9, 2011, 6:23am UTC](https://www.ruby-forum.com/t/jquery-and-ajax-query-in-rails-3/211579 "2011-09-09T06:23:00Z")

</div>

hi people I don’t know much about ajax - jquery. And right now I need to use some functionality with them. In a form (sales model) I have the following code: \<%= f.label :product\_id, "Product" %\> \<%= f.colle…

---

## [Asynchronicity](https://www.ruby-forum.com/t/asynchronicity/208043)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 9, 2011, 12:59am UTC](https://www.ruby-forum.com/t/asynchronicity/208043 "2011-06-09T00:59:30Z")

</div>

Hi all, Just wondering if anyone can recommend some articles/tutorials on fibers and async stuff? I’ve had a look around of course, but it always seems to be the same example of an HTTP server, or some explanation of …

---

## [Ruby-forum.com attachments don't show up in mails anymore](https://www.ruby-forum.com/t/ruby-forum-com-attachments-dont-show-up-in-mails-anymore/197616)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 17, 2010, 1:06pm UTC](https://www.ruby-forum.com/t/ruby-forum-com-attachments-dont-show-up-in-mails-anymore/197616 "2010-10-17T13:06:10Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I just noticed that attachments made to posts on ruby-forum.com don’t get send by mail anymore. Some time ago, there was a statement like “Attachments: foobar.rb…

---

## [Nginx Windows version will be closed-source?](https://www.ruby-forum.com/t/nginx-windows-version-will-be-closed-source/167308)

<div class="topic-metadata">

**Author:** [@191919](https://www.ruby-forum.com/u/191919)\
**Replies:** 4\
**Last updated:** [September 28, 2010, 10:02am UTC](https://www.ruby-forum.com/t/nginx-windows-version-will-be-closed-source/167308 "2010-09-28T10:02:57Z")

</div>

Will the nginx Windows version be closed-source? Regards, 191919

---

## [Sqlite3 on Ruby](https://www.ruby-forum.com/t/sqlite3-on-ruby/169911)

<div class="topic-metadata">

**Author:** [@include](https://www.ruby-forum.com/u/include)\
**Replies:** 4\
**Last updated:** [June 10, 2009, 11:26pm UTC](https://www.ruby-forum.com/t/sqlite3-on-ruby/169911 "2009-06-10T23:26:19Z")

</div>

Hello I’m trying to install gem sqlite 3 and I’m getting this error: root@kundera-laptop:/usr/local/lib/ruby/gems# gem install sqlite3-ruby –version 1.2.2 Building native extensions. This could take a while… ERROR: …

---

## [Geometry columns](https://www.ruby-forum.com/t/geometry-columns/169519)

<div class="topic-metadata">

**Author:** [@magic\_hat](https://www.ruby-forum.com/u/magic_hat)\
**Replies:** 4\
**Last updated:** [June 5, 2009, 9:20pm UTC](https://www.ruby-forum.com/t/geometry-columns/169519 "2009-06-05T21:20:43Z")

</div>

Hi all. I’m building an app with postgres, postgis and rails. Rails seems to be choking when I try to do stuff that involves manipulating the geometry column. For example: self.the\_geom=ActiveRecord::Base.connection.e…

---

## [Question about "protected" and "private"](https://www.ruby-forum.com/t/question-about-protected-and-private/166945)

<div class="topic-metadata">

**Author:** [@Fasun\_Lau](https://www.ruby-forum.com/u/Fasun_Lau)\
**Replies:** 4\
**Last updated:** [May 1, 2009, 12:39pm UTC](https://www.ruby-forum.com/t/question-about-protected-and-private/166945 "2009-05-01T12:39:36Z")

</div>

Hi, all I’m reading “Programming Ruby”, and have some questions about “protected” and “private” of class. In “Programming Ruby” : Protected methods can be invoked only by objects of the defining class and its subc…

---

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

<div class="topic-metadata">

**Author:** [@petrjanda](https://www.ruby-forum.com/u/petrjanda)\
**Replies:** 4\
**Last updated:** [April 16, 2009, 7:27am UTC](https://www.ruby-forum.com/t/what-does-this-do/165655 "2009-04-16T07:27:12Z")

</div>

Im trying to fix two libraries to be compatible with Ruby 1.9 - gruff and pdf-writer, and I came accross this: SyntaxError: /usr/local/lib/ruby/gems/1.9/gems/gruff-0.3.4/lib/gruff/mini/legend.rb:72: invalid multibyt…

---

## [LDAP library](https://www.ruby-forum.com/t/ldap-library/161442)

<div class="topic-metadata">

**Author:** [@Hirotsugu\_A](https://www.ruby-forum.com/u/Hirotsugu_A)\
**Replies:** 4\
**Last updated:** [February 28, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/ldap-library/161442 "2009-02-28T14:02:17Z")

</div>

Hi. I wanted to gauge the general feeling of the community towards LDAP. Do you use LDAP from JRuby? If so, which library do you use: jruby- ldap, ruby-net-ldap, or something else? I spent some time looking at implem…

---

## [File uploading using ajax](https://www.ruby-forum.com/t/file-uploading-using-ajax/157379)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 4\
**Last updated:** [February 12, 2009, 11:25am UTC](https://www.ruby-forum.com/t/file-uploading-using-ajax/157379 "2009-02-12T11:25:29Z")

</div>

Dear all, I have a doubt, iam not getting the uploaded file when iam uploading using ajax form like, \<% remote\_form\_for(:videos, :url =\> {:controller =\> :videos, :action =\> :add }, :html =\> { :multipart =\> true, :aj…

---

## [File::write() complement for File::read()?](https://www.ruby-forum.com/t/file-write-complement-for-file-read/159068)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 4\
**Last updated:** [January 31, 2009, 9:48pm UTC](https://www.ruby-forum.com/t/file-write-complement-for-file-read/159068 "2009-01-31T21:48:02Z")

</div>

Hello, Why is there not a complementary File::write() method to the File::read() method? It feels unbalanced to always write the following code whereas it’s so much easier to read a file: File.open(path, ‘wb’) {|f| …

---

## [Migliorare tagging](https://www.ruby-forum.com/t/migliorare-tagging/156271)

<div class="topic-metadata">

**Author:** [@collimarco](https://www.ruby-forum.com/u/collimarco)\
**Replies:** 4\
**Last updated:** [December 24, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/migliorare-tagging/156271 "2008-12-24T22:41:17Z")

</div>

Ciao, sono un neofita di rails ed ho appena realizzato un sistema di tagging per un blog. Vorrei sapere se il codice che ho scritto nel model del Post Ã¨ sufficientemente pulito o se Ã¨ meglio apportare qualche modif…

---

## [mySQL newbie seek help with db indexing](https://www.ruby-forum.com/t/mysql-newbie-seek-help-with-db-indexing/156082)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 4\
**Last updated:** [December 20, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/mysql-newbie-seek-help-with-db-indexing/156082 "2008-12-20T17:45:35Z")

</div>

Hi, I don’t quite understand the syntax for database indexes and/or how the work to help speed up specific database searches. Can somebody suggest a set of indexs that would make this set of queries go faster? Conta…

---

## [How does Ruby handle namespace?](https://www.ruby-forum.com/t/how-does-ruby-handle-namespace/153452)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 4\
**Last updated:** [November 24, 2008, 1:28am UTC](https://www.ruby-forum.com/t/how-does-ruby-handle-namespace/153452 "2008-11-24T01:28:43Z")

</div>

In Java, it uses import to include other classes from other packages. In ruby, I only found that require statement can do this. When the ruby scripts are located in different directories, I have to use the “…/…/” to i…

---

## [Rake test return value](https://www.ruby-forum.com/t/rake-test-return-value/127418)

<div class="topic-metadata">

**Author:** [@rehevkor5](https://www.ruby-forum.com/u/rehevkor5)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/rake-test-return-value/127418 "2008-01-29T21:00:16Z")

</div>

I need to run tests nightly on Rails apps, with automated reporting when the tests fail so that someone can address the issue. However AFAIK rake always returns 0 even if tests failed. Am I missing something? I’d lik…

---

## [Ruby FX problem](https://www.ruby-forum.com/t/ruby-fx-problem/113702)

<div class="topic-metadata">

**Author:** [@coolwong](https://www.ruby-forum.com/u/coolwong)\
**Replies:** 4\
**Last updated:** [September 4, 2007, 6:15am UTC](https://www.ruby-forum.com/t/ruby-fx-problem/113702 "2007-09-04T06:15:50Z")

</div>

How can i build scroll bar in my GUI project??? How to use the FXScrollWindow???

---

## [Ruby real time web server multi threaded probs](https://www.ruby-forum.com/t/ruby-real-time-web-server-multi-threaded-probs/108765)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [July 6, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/ruby-real-time-web-server-multi-threaded-probs/108765 "2007-07-06T21:29:15Z")

</div>

So…I seem to have run into a few problems in a ruby multi-threaded socket based program that, after quite awhile, I am still scratching my head at these. Has any body encountered/overcome…\[sorry if these are old, or …

---

## [Really simple routing question](https://www.ruby-forum.com/t/really-simple-routing-question/108215)

<div class="topic-metadata">

**Author:** [@surge](https://www.ruby-forum.com/u/surge)\
**Replies:** 4\
**Last updated:** [July 1, 2007, 2:19am UTC](https://www.ruby-forum.com/t/really-simple-routing-question/108215 "2007-07-01T02:19:29Z")

</div>

I’m just now trying to figure out how rails routing works and to be honest, I find it really confusing. Anyway, I just want to create two “named” routes to save me some typing. The routes are: map.home ‘’, :controlle…

---

## [Injecting SQL conditions to models?](https://www.ruby-forum.com/t/injecting-sql-conditions-to-models/86977)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/injecting-sql-conditions-to-models/86977 "2007-03-01T13:27:19Z")

</div>

Hi all, I have an app where I have Users, users upload images, post blog comments, etc. All has been fine until we now need to disable a user. Which means all calls to User.find\_by\_id() now need to exclude any disabl…

---

## [Question de route!](https://www.ruby-forum.com/t/question-de-route/85558)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 4\
**Last updated:** [February 14, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/question-de-route/85558 "2007-02-14T16:35:50Z")

</div>

Bonjour, Je me penche sur les routes dans rails, comment faire des routes d’un arbres acts\_as\_tre qui donnerai : l’arbre : Categori1 +SousCat1 +SousCat2 +SousSousCat1 URL : localhost/Categorie1/SousCat2/SousSou…

---

## [Tar2rubyscript: getting the path of the original executable](https://www.ruby-forum.com/t/tar2rubyscript-getting-the-path-of-the-original-executable/83068)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 4\
**Last updated:** [January 23, 2007, 6:55pm UTC](https://www.ruby-forum.com/t/tar2rubyscript-getting-the-path-of-the-original-executable/83068 "2007-01-23T18:55:34Z")

</div>

Hi, I try using tar2rubyscript and I need to get the path to the original executable. oldlocation doesn’t seem to help because it referes to the original working directory. Any idea? Patrick

---

## [Rails Documentation Resources](https://www.ruby-forum.com/t/rails-documentation-resources/75159)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 9:54pm UTC](https://www.ruby-forum.com/t/rails-documentation-resources/75159 "2006-11-07T21:54:10Z")

</div>

Breaking this thread out because the last one was somewhat emotionally charged. Some points: Please do not confuse language documentation with framework documentation. To say that PHP documentation is better that R…

---

## [Strange error in jcode.rb when converting range to array](https://www.ruby-forum.com/t/strange-error-in-jcode-rb-when-converting-range-to-array/70282)

<div class="topic-metadata">

**Author:** [@Hammed\_M](https://www.ruby-forum.com/u/Hammed_M)\
**Replies:** 4\
**Last updated:** [September 29, 2006, 2:50am UTC](https://www.ruby-forum.com/t/strange-error-in-jcode-rb-when-converting-range-to-array/70282 "2006-09-29T02:50:21Z")

</div>

In my rails app I’ve line with the following code: (“a”…“z”).to\_a Simple enough and it’s been working for a while. Last night this line started throwing the following error: undefined method \[\]' for nil:NilClass /usr…

---

## [Zebra Striping a Collection of Partials](https://www.ruby-forum.com/t/zebra-striping-a-collection-of-partials/64416)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [June 25, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/zebra-striping-a-collection-of-partials/64416 "2006-06-25T21:05:39Z")

</div>

I’m using render to display a collection of partials, where each partial is a table row. Is it possible to zebra-stripe the table using this method i.e. alternate table rows get a different CSS class? I can’t work out…

---

## [How to write this SQL query?](https://www.ruby-forum.com/t/how-to-write-this-sql-query/55652)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 4\
**Last updated:** [March 23, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/how-to-write-this-sql-query/55652 "2006-03-23T18:51:59Z")

</div>

Hi! Is there rails version of “where column in (value1, value2, …)”? I know i could do OR many times, but this way is shorter. I’m ruby/rails newbie, so i have a problem with converting the hash, which i’m receving f…

---

## [Evaluating the string in a variable to use as a method name](https://www.ruby-forum.com/t/evaluating-the-string-in-a-variable-to-use-as-a-method-name/55056)

<div class="topic-metadata">

**Author:** [@heinous\_Ssent\_by\_Na](https://www.ruby-forum.com/u/heinous_Ssent_by_Na)\
**Replies:** 4\
**Last updated:** [March 17, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/evaluating-the-string-in-a-variable-to-use-as-a-method-name/55056 "2006-03-17T15:56:09Z")

</div>

This may be a more generic Ruby question, so I’m going to ask on the Ruby forum, but I’m trying to figure out if there is a way to pass in the string value of a variable as the name of a method. For example, I would…

---

## [Theme wanted for new Rails CMS](https://www.ruby-forum.com/t/theme-wanted-for-new-rails-cms/64884)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 4\
**Last updated:** [February 9, 2006, 8:36pm UTC](https://www.ruby-forum.com/t/theme-wanted-for-new-rails-cms/64884 "2006-02-09T20:36:21Z")

</div>

Hi all, I just finished building a CMS (open source, MIT license, same as RoR) that is aimed at people with portfolios: graphic designers, photographers, web developers, etc. Since this fits the Rails demographic we…

---

## [Allow additional parameters to Enumerable#inject](https://www.ruby-forum.com/t/allow-additional-parameters-to-enumerable-inject/53389)

<div class="topic-metadata">

**Author:** [@Levin\_A](https://www.ruby-forum.com/u/Levin_A)\
**Replies:** 4\
**Last updated:** [February 3, 2006, 6:10pm UTC](https://www.ruby-forum.com/t/allow-additional-parameters-to-enumerable-inject/53389 "2006-02-03T18:10:18Z")

</div>

Hi, I wanted to count consecutive elements in an array: \[1,1,1,2,2,2,2,3,4,4,4,4\].count\_streams #=\> \[3,4,1,4\] module Enumerable def count\_streams last\_seen = nil self.inject(\[\]) { |a, elem| if last\_seen == elem th…

---

## [Gem install rails hangs](https://www.ruby-forum.com/t/gem-install-rails-hangs/49433)

<div class="topic-metadata">

**Author:** [@bauer.mail](https://www.ruby-forum.com/u/bauer.mail)\
**Replies:** 4\
**Last updated:** [December 5, 2005, 5:25pm UTC](https://www.ruby-forum.com/t/gem-install-rails-hangs/49433 "2005-12-05T17:25:17Z")

</div>

Doesnt looks rails-specific, any gem will hang after I get the followin message: “Updating Gem source index for: http://gems.rubyforge.org”. The problem is identical to the one described here: http://groups.google.com…

---

## [Is there a Rails-like project out that just makes writing so](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734)

<div class="topic-metadata">

**Author:** [@AvandenHoven](https://www.ruby-forum.com/u/AvandenHoven)\
**Replies:** 4\
**Last updated:** [November 24, 2005, 2:51am UTC](https://www.ruby-forum.com/t/is-there-a-rails-like-project-out-that-just-makes-writing-so/48734 "2005-11-24T02:51:42Z")

</div>

Hey guys, It struck me the other day that one of the nicest things about Rails is that it knows a lot of things so I don’t have to. For instance, when i want to create a new Rails project I just type “rails path/to/ …

---

## [Delete a line from a file](https://www.ruby-forum.com/t/delete-a-line-from-a-file/222640)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 4, 2012, 6:53pm UTC](https://www.ruby-forum.com/t/delete-a-line-from-a-file/222640 "2012-09-04T18:53:10Z")

</div>

Hi i have a file this /dev/cciss/c0d10p1 /root/file/file-55 ext3 defaults,noatime,nodiratime 1 0 /dev/cciss/c0d11p1 /root/file/file-11 ext3 defaults,noatime,nodiratime 1 …

---

## [Empty /error log lines (a lot of them)](https://www.ruby-forum.com/t/empty-error-log-lines-a-lot-of-them/215405)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 4, 2012, 7:28pm UTC](https://www.ruby-forum.com/t/empty-error-log-lines-a-lot-of-them/215405 "2012-01-04T19:28:11Z")

</div>

Hi, I am using NGINX 0.8.54 on Ubuntu 11.04, and I am getting a lot of weird log entries in nginx access file. The structure is somewhat like below, but as you can see there is no method, URL, referer, user agent, e…

---

## [Help with images and videos](https://www.ruby-forum.com/t/help-with-images-and-videos/212688)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [October 12, 2011, 8:56am UTC](https://www.ruby-forum.com/t/help-with-images-and-videos/212688 "2011-10-12T08:56:39Z")

</div>

Hi, I’d like to know what is the easiest and best way to save images and videos (both plural) into a model. Also I’d like to know how to upload and change those videos and images with the active admin gem for an admin…

---

## [Re: searched the mail list but nothing w orks: audio\_alsa\_sink\[hw:0\]: Device or res ource busy](https://www.ruby-forum.com/t/re-searched-the-mail-list-but-nothing-w-orks-audio-alsa-sink-hw-0-device-or-res-ource-busy/211887)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [September 19, 2011, 3:50am UTC](https://www.ruby-forum.com/t/re-searched-the-mail-list-but-nothing-w-orks-audio-alsa-sink-hw-0-device-or-res-ource-busy/211887 "2011-09-19T03:50:13Z")

</div>

Thanks, alex. I don’t know what does “access the ALSA interface with any other audio application?” mean. I could run alsamixer and I could listen mp3 using Totem Movie Player on Ubuntu. So? Qin J.

---

## [Ruby debug newbie help](https://www.ruby-forum.com/t/ruby-debug-newbie-help/204852)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 27, 2011, 7:33pm UTC](https://www.ruby-forum.com/t/ruby-debug-newbie-help/204852 "2011-03-27T19:33:01Z")

</div>

Hello all, I’m learning Ruby and I got a little problem with my first try at debugging. I work on Windows XP SP3, with a fresh install of : rubyinstaller-1.9.2-p180.exe DevKit-tdm-32-4.5.1-20101214-1400-sfx.exe my …

---

## [Where To Put Validation Logic?](https://www.ruby-forum.com/t/where-to-put-validation-logic/201130)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 1, 2011, 2:09am UTC](https://www.ruby-forum.com/t/where-to-put-validation-logic/201130 "2011-01-01T02:09:56Z")

</div>

This is probably a question you could put to any programmer who writes object-oriented code. I’m developing a Mongo object mapper for Ruby, inspired by Candy’s write-on-set approach. I’m currently still in the plannin…

---

## [Return in iterator in lambda](https://www.ruby-forum.com/t/return-in-iterator-in-lambda/169368)

<div class="topic-metadata">

**Author:** [@bterkuile](https://www.ruby-forum.com/u/bterkuile)\
**Replies:** 5\
**Last updated:** [June 3, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/return-in-iterator-in-lambda/169368 "2009-06-03T20:19:15Z")

</div>

I want to create a conditional mathematical function as a lambda structure. Therefore it may be the case that inside an iterative loop, the result of the function is known and should be returned. By implementing this …

---

## [\[Bug #1483\] some commands installed without program-suffix](https://www.ruby-forum.com/t/bug-1483-some-commands-installed-without-program-suffix/168206)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 5\
**Last updated:** [May 20, 2009, 2:16pm UTC](https://www.ruby-forum.com/t/bug-1483-some-commands-installed-without-program-suffix/168206 "2009-05-20T14:16:19Z")

</div>

Bug #1483: some commands installed without program-suffix http://redmine.ruby-lang.org/issues/show/1483 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-05-17…

---

## [Cannot customize irb initialization](https://www.ruby-forum.com/t/cannot-customize-irb-initialization/160727)

<div class="topic-metadata">

**Author:** [@Fredrik](https://www.ruby-forum.com/u/Fredrik)\
**Replies:** 5\
**Last updated:** [February 20, 2009, 5:13am UTC](https://www.ruby-forum.com/t/cannot-customize-irb-initialization/160727 "2009-02-20T05:13:53Z")

</div>

Why can’t I give a configuration file as argument when I run irb? It seems that looks for conf files in the order: ~/.irbrc .irbrc irb.rc \_irbrc $irbrc I would however like to have more flexibility than that. I wo…

---

## [Toggle single element in a page](https://www.ruby-forum.com/t/toggle-single-element-in-a-page/160425)

<div class="topic-metadata">

**Author:** [@vishy](https://www.ruby-forum.com/u/vishy)\
**Replies:** 5\
**Last updated:** [February 19, 2009, 7:01am UTC](https://www.ruby-forum.com/t/toggle-single-element-in-a-page/160425 "2009-02-19T07:01:46Z")

</div>

I am currently working on a blog site in which each blog entry will have its own comments. The comments can be seen by clicking a comments link present at the end of each blog entry. I am using RJS to toggle the view …

---

## [Analyze ruby conditional expression](https://www.ruby-forum.com/t/analyze-ruby-conditional-expression/159751)

<div class="topic-metadata">

**Author:** [@GSSSSbor\_SebestySSS](https://www.ruby-forum.com/u/GSSSSbor_SebestySSS)\
**Replies:** 5\
**Last updated:** [February 8, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/analyze-ruby-conditional-expression/159751 "2009-02-08T19:23:24Z")

</div>

Hi, I want to examine conditional expressions and I’m looking for tools to do it. It would be perfect to do it purely in ruby or even in jruby. Any recommendations are apprecitated. Gábor

---

## [If one has a nested transaction does the outer-most transaction take precedence?](https://www.ruby-forum.com/t/if-one-has-a-nested-transaction-does-the-outer-most-transaction-take-precedence/159528)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [February 6, 2009, 1:26am UTC](https://www.ruby-forum.com/t/if-one-has-a-nested-transaction-does-the-outer-most-transaction-take-precedence/159528 "2009-02-06T01:26:10Z")

</div>

Hi, Anyone know, if I have a nested transaction, will it be the outer most transaction (i.e. from outermost transaction start, to outermost transaction end) that will be used? i.e. noting Rails doesn’t currently supp…

---

## [Problem with parameters](https://www.ruby-forum.com/t/problem-with-parameters/155503)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 5\
**Last updated:** [December 13, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/problem-with-parameters/155503 "2008-12-13T14:16:32Z")

</div>

First at all sorry if my english is not the best. In the view I have this code: \<%= select\_tag “tabla”, options\_for\_select(\[“Famitel”, “Polycom Kirk”, “LG Nortel”, “Dimax Videovigilancia”\]) %\> \<%= text\_field :buscar,…

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

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