# Top

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

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

---

## [Dtv-questions](https://www.ruby-forum.com/t/dtv-questions/241969)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [May 18, 2015, 8:58am UTC](https://www.ruby-forum.com/t/dtv-questions/241969 "2015-05-18T08:58:05Z")

</div>

Hi, when playing with DVB-T2, I see there are example ts files of different size, somehow optimized for the transmission mode, 4k or 8k, 64QAM or 256QAM. Now when I have a look at them with my recoding software, they…

---

## [Post requests exercised as a Get](https://www.ruby-forum.com/t/post-requests-exercised-as-a-get/239589)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [March 7, 2014, 2:29am UTC](https://www.ruby-forum.com/t/post-requests-exercised-as-a-get/239589 "2014-03-07T02:29:17Z")

</div>

Hello, I’ve been stuck on an issue for a few days now and I haven’t been able to find any help online (asked multiple questions on stackoverflow). I’m not sure what to do anymore. Basically, I have a model ‘competiti…

---

## [Purge whole cache zone](https://www.ruby-forum.com/t/purge-whole-cache-zone/229559)

<div class="topic-metadata">

**Author:** [@oleksandr-shb](https://www.ruby-forum.com/u/oleksandr-shb)\
**Replies:** 4\
**Last updated:** [January 2, 2013, 9:47am UTC](https://www.ruby-forum.com/t/purge-whole-cache-zone/229559 "2013-01-02T09:47:22Z")

</div>

Hi, I am interested if it is possible to invalidate whole cache zone. Now it is possible to invalidate single cache item using cache key and third party module Cache Purge. What I need is to remove all cache items wh…

---

## [Regexp bug - max quantifier](https://www.ruby-forum.com/t/regexp-bug-max-quantifier/215973)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 21, 2012, 8:30am UTC](https://www.ruby-forum.com/t/regexp-bug-max-quantifier/215973 "2012-01-21T08:30:27Z")

</div>

regex for matching 1 to 4 caps alpha, followed by 1 to 4 digits seems to fail for 5 alpha (tho not 5 digits) see examples below, 1, 3 and 4 give expected response, but 2 does not. Using “http://myregexp.com/” gives ex…

---

## [Rubygems instalation on ubuntu](https://www.ruby-forum.com/t/rubygems-instalation-on-ubuntu/211226)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 30, 2011, 5:08pm UTC](https://www.ruby-forum.com/t/rubygems-instalation-on-ubuntu/211226 "2011-08-30T17:08:38Z")

</div>

Hi When I decided to install gem in ubuntu yesterday ( with this command : sudo gem install algorithms ) , bash gave me an error. How can I install gem in ubuntu like that installing on windows ? The error is Load E…

---

## [How are people speccing Rails 3 ActiveRecord queries?](https://www.ruby-forum.com/t/how-are-people-speccing-rails-3-activerecord-queries/191754)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 4\
**Last updated:** [July 17, 2010, 7:43pm UTC](https://www.ruby-forum.com/t/how-are-people-speccing-rails-3-activerecord-queries/191754 "2010-07-17T19:43:11Z")

</div>

Hi – how are people speccing Rails 3 ActiveRecord queries? At the minute I’m chaining a load of should\_receive calls on mock relation objects, but can’t help thinking that there must be a more elegant way of going a…

---

## [:lib in config.gem](https://www.ruby-forum.com/t/lib-in-config-gem/177082)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 4\
**Last updated:** [October 29, 2009, 8:37am UTC](https://www.ruby-forum.com/t/lib-in-config-gem/177082 "2009-10-29T08:37:06Z")

</div>

Hi – I’m confused what :lib in config.gem(). When do I need it to specify? What should I specify? I know that I need to put the name of the library, but the name is always the same with the gem name? Also do I need t…

---

## [/usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in \`initialize': Permission denied](https://www.ruby-forum.com/t/usr-local-lib-ruby-1-9-1-rdoc-ri-driver-rbin-initialize-permission-denied/177601)

<div class="topic-metadata">

**Author:** [@eepeterson](https://www.ruby-forum.com/u/eepeterson)\
**Replies:** 4\
**Last updated:** [October 20, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/usr-local-lib-ruby-1-9-1-rdoc-ri-driver-rbin-initialize-permission-denied/177601 "2009-10-20T21:25:37Z")

</div>

I’m getting the following error when I try to run ‘ri’ command. I’m running on Snow Leopard if that helps at all. /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in initialize': Permission denied - /Users/erik\_mbp/.ri/…

---

## [Freeze Rails](https://www.ruby-forum.com/t/freeze-rails/158553)

<div class="topic-metadata">

**Author:** [@andresgutgon](https://www.ruby-forum.com/u/andresgutgon)\
**Replies:** 4\
**Last updated:** [January 25, 2009, 10:57am UTC](https://www.ruby-forum.com/t/freeze-rails/158553 "2009-01-25T10:57:05Z")

</div>

Hola, el otro dÃ­a me recomendo Raul \[1\] , que congelase Rails en Vendor y que “trasteara” en mi App trastear para aprender. Me dijo que una buena forma de aprender ruby es coger el codigo de rails y debugearlo (rub…

---

## [Http://localhost/3000 cant see my pages](https://www.ruby-forum.com/t/http-localhost-3000-cant-see-my-pages/155796)

<div class="topic-metadata">

**Author:** [@goneale](https://www.ruby-forum.com/u/goneale)\
**Replies:** 4\
**Last updated:** [December 17, 2008, 9:17am UTC](https://www.ruby-forum.com/t/http-localhost-3000-cant-see-my-pages/155796 "2008-12-17T09:17:40Z")

</div>

I think I’m going to cry. I have been trying to get this to work for the last 6 hours and cant get anywhere. My installation was working fine yesterday now I cant get it to work. I have IIS turned off My apache serv…

---

## [Any one working on...C# to IronRuby Converter...?](https://www.ruby-forum.com/t/any-one-working-on-c-to-ironruby-converter/145042)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 4\
**Last updated:** [August 6, 2008, 8:58am UTC](https://www.ruby-forum.com/t/any-one-working-on-c-to-ironruby-converter/145042 "2008-08-06T08:58:09Z")

</div>

Hello, We have C# to Vb.Net and Vb.Net to C# converter at the moment. This make our life as a programmer more easy. Just wondering, if any one is working or thinking to implement a Converter that deals with C# to Iro…

---

## [Acts\_as\_paranoid is making me crazy](https://www.ruby-forum.com/t/acts-as-paranoid-is-making-me-crazy/135105)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 4\
**Last updated:** [July 2, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/acts-as-paranoid-is-making-me-crazy/135105 "2008-07-02T17:58:23Z")

</div>

Acts\_as\_paranoid is giving me a headache when performing migrations. For some reason when I perform a migration I get a “stack level too deep” error. If I comment out the database inserts that are performed (countrie…

---

## [PATCH for MySQL/Ruby](https://www.ruby-forum.com/t/patch-for-mysql-ruby/140751)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 4\
**Last updated:** [June 20, 2008, 8:46am UTC](https://www.ruby-forum.com/t/patch-for-mysql-ruby/140751 "2008-06-20T08:46:50Z")

</div>

e$B$J$+$@$G$9!#e(B MySQL/Ruby 2.8pre2e$B$r$$F$$?$N$G$9$,!"$d$dLdBj$,$"$k$h$&$G$9!#e(B = e$BJL%G%#%l%/%H%j$G%3%s%Q%$%k$G$-$J$$!#e(B \*.ce$B$r\<+F0$GC5$9$N$O%=!\<%9%G%#%l%/%H%j$G$9!#$3$N\>l9g$O%=!\<%9A4e(B e$BBN$r%3%T!\<$7$J…

---

## [Detect if required or executed?](https://www.ruby-forum.com/t/detect-if-required-or-executed/140707)

<div class="topic-metadata">

**Author:** [@ISESSmith-Heister](https://www.ruby-forum.com/u/ISESSmith-Heister)\
**Replies:** 4\
**Last updated:** [June 17, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/detect-if-required-or-executed/140707 "2008-06-17T20:18:04Z")

</div>

Hi all, Is anyone aware of a way to detect if a file has been required from another ruby process, or is being executed from the commandline? I’ve been doing this hack: do\_executable\_behavior unless ENV\[‘DONT\_RUN’\] b…

---

## [Error while trying to install rails on JRuby](https://www.ruby-forum.com/t/error-while-trying-to-install-rails-on-jruby/136597)

<div class="topic-metadata">

**Author:** [@rgmoganti](https://www.ruby-forum.com/u/rgmoganti)\
**Replies:** 4\
**Last updated:** [May 10, 2008, 8:00am UTC](https://www.ruby-forum.com/t/error-while-trying-to-install-rails-on-jruby/136597 "2008-05-10T08:00:33Z")

</div>

Hi, I am new to JRuby and trying to install the rails on JRuby and getting the below error. “The filename, directory name, or volume label syntax is incorrect.” For your convenience, I printed the environment variab…

---

## [Scripts installed](https://www.ruby-forum.com/t/scripts-installed/120224)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [November 15, 2007, 12:50am UTC](https://www.ruby-forum.com/t/scripts-installed/120224 "2007-11-15T00:50:45Z")

</div>

On a debian production server and my os x development mcahine, there is a script at /usr/local/bin/mongrel\_rails On an ubuntu 7.1 machine, this script appears at /var/lib/gems/1.8/bin/mongrel\_rails mongrel was insta…

---

## [Generating a Grouped Output](https://www.ruby-forum.com/t/generating-a-grouped-output/116693)

<div class="topic-metadata">

**Author:** [@Martin\_Austin](https://www.ruby-forum.com/u/Martin_Austin)\
**Replies:** 4\
**Last updated:** [October 9, 2007, 7:55pm UTC](https://www.ruby-forum.com/t/generating-a-grouped-output/116693 "2007-10-09T19:55:53Z")

</div>

Hi all, first time poster. I am currently learning RoR, and have run into a snag. I have a table called Games that has several fields, including title, desc, genre, system, etc. What I am looking to do in a view is …

---

## [Personalizar columnas con AJAXScaffold plugin](https://www.ruby-forum.com/t/personalizar-columnas-con-ajaxscaffold-plugin/82593)

<div class="topic-metadata">

**Author:** [@jgoi](https://www.ruby-forum.com/u/jgoi)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:47pm UTC](https://www.ruby-forum.com/t/personalizar-columnas-con-ajaxscaffold-plugin/82593 "2007-09-25T22:47:36Z")

</div>

Hola a todos. Desde que descrubrí este plugin he estado investigando como funciona y como usarlo. He descubierto por ejemplo como crear columnas dinámicas y personalizadas que no estén definidas en la DB: http://blog.…

---

## [Replacing ERB with Erubis](https://www.ruby-forum.com/t/replacing-erb-with-erubis/90973)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 4\
**Last updated:** [April 4, 2007, 3:18pm UTC](https://www.ruby-forum.com/t/replacing-erb-with-erubis/90973 "2007-04-04T15:18:56Z")

</div>

Hey guys, I’ve been hearing a lot about erubis: http://www.kuwata-lab.com/erubis/ Especially about how much faster it is than straight ERB. In their Ruby on Rails support docs: http://www.kuwata-lab.com/erubis/users-…

---

## [Using MS Access on linux through ruby on rails](https://www.ruby-forum.com/t/using-ms-access-on-linux-through-ruby-on-rails/88543)

<div class="topic-metadata">

**Author:** [@spashokkumar](https://www.ruby-forum.com/u/spashokkumar)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 12:32pm UTC](https://www.ruby-forum.com/t/using-ms-access-on-linux-through-ruby-on-rails/88543 "2007-03-14T12:32:24Z")

</div>

hi, i want to access “Microsoft access files(\*.mdb)” on linux through ruby on rails framework. is it possible? if so how? any examples available? can any one give me some pointers? Ashok

---

## [Programmatically turning a Regexp into an anchored Regexp](https://www.ruby-forum.com/t/programmatically-turning-a-regexp-into-an-anchored-regexp/85579)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [February 14, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/programmatically-turning-a-regexp-into-an-anchored-regexp/85579 "2007-02-14T19:40:18Z")

</div>

Is there any programmatic way to take a Regexp like /foo/ and turn it into an anchored Regexp (/^foo/)? I’m looking for a programmatic way to do this because the actual Regexp is dynamic, not known until run time. I’…

---

## [Select and link\_to edit](https://www.ruby-forum.com/t/select-and-link-to-edit/77610)

<div class="topic-metadata">

**Author:** [@rosoft2001](https://www.ruby-forum.com/u/rosoft2001)\
**Replies:** 4\
**Last updated:** [November 29, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/select-and-link-to-edit/77610 "2006-11-29T15:49:27Z")

</div>

I have a select box like: \<%= select(‘tournament’, ‘name’, Tournament.find\_all.collect {|tournament| tournament.name}) %\> and I want to place a link\_to near it to Edit, like \<%= link\_to 'Edit, :action =\> ‘edit’ %\> t…

---

## [Problemas con ajax](https://www.ruby-forum.com/t/problemas-con-ajax/76971)

<div class="topic-metadata">

**Author:** [@sebacipo](https://www.ruby-forum.com/u/sebacipo)\
**Replies:** 4\
**Last updated:** [November 23, 2006, 12:04am UTC](https://www.ruby-forum.com/t/problemas-con-ajax/76971 "2006-11-23T00:04:44Z")

</div>

hola gente, bueno les comento q es la primera vez q intento hacer algo con ajax y estoy teniendo dificultades. mi aplicacion tiene un carro de compras q esta en el layout y cada vez q alguien alquila una pelicula quie…

---

## [Systemu-1.0.0](https://www.ruby-forum.com/t/systemu-1-0-0/74888)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:03am UTC](https://www.ruby-forum.com/t/systemu-1-0-0/74888 "2006-11-07T11:03:18Z")

</div>

NAME systemu.rb SYNOPSIS univeral capture of stdout and stderr and handling of child process pid for windows, \*nix, etc. URIS http://rubyforge.org/projects/codeforpeople/ http://codeforpeople.com/lib/ruby/ INSTAL…

---

## [Basic RX/TX](https://www.ruby-forum.com/t/basic-rx-tx/95312)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [May 30, 2006, 9:07am UTC](https://www.ruby-forum.com/t/basic-rx-tx/95312 "2006-05-30T09:07:07Z")

</div>

Hi, I have a question about the basic RX/TX boards. What should I see if I hook the basic TX board to an oscilloscope if I send out a QPSK signal? Here is what I do: I generate a QPSK signal in GnuRadio I send the s…

---

## [Observe\_field with dynamic forms](https://www.ruby-forum.com/t/observe-field-with-dynamic-forms/51416)

<div class="topic-metadata">

**Author:** [@jasonwold](https://www.ruby-forum.com/u/jasonwold)\
**Replies:** 4\
**Last updated:** [January 1, 2006, 12:03am UTC](https://www.ruby-forum.com/t/observe-field-with-dynamic-forms/51416 "2006-01-01T00:03:20Z")

</div>

I have a form where I dynamically add form elements based on user input. An example is that when a user selects a “server” from a select box I add (via AJAX calls back to server) a “type” select box pre-populated with…

---

## [Animation courses in chennai](https://www.ruby-forum.com/t/animation-courses-in-chennai/260262)

<div class="topic-metadata">

**Author:** [@arena](https://www.ruby-forum.com/u/arena)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 8:34am UTC](https://www.ruby-forum.com/t/animation-courses-in-chennai/260262 "2020-09-14T08:34:49Z")

</div>

Which is the best animation courses in chennai?

---

## [SSI URI path decoding/encoding issue](https://www.ruby-forum.com/t/ssi-uri-path-decoding-encoding-issue/243714)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 28, 2015, 5:25pm UTC](https://www.ruby-forum.com/t/ssi-uri-path-decoding-encoding-issue/243714 "2015-12-28T17:25:28Z")

</div>

Hi, we experienced an issue with SSIs (include virtual): nginx at first decodes the URI path and encodes it before passing the request to the upstream. If an URI path segment contains %2F (encoded slash), the decode…

---

## [Using NGINX in non-fork mode](https://www.ruby-forum.com/t/using-nginx-in-non-fork-mode/241548)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 14, 2015, 8:35am UTC](https://www.ruby-forum.com/t/using-nginx-in-non-fork-mode/241548 "2015-04-14T08:35:28Z")

</div>

Hi, I am using a single worker process and master\_process off in nginx.conf. Now as per my understanding, the flow of operation would be something like: NGiNX master process will be created which will spawn a single …

---

## [Integrating typo into website](https://www.ruby-forum.com/t/integrating-typo-into-website/193515)

<div class="topic-metadata">

**Author:** [@weliwarmer](https://www.ruby-forum.com/u/weliwarmer)\
**Replies:** 1\
**Last updated:** [September 6, 2010, 9:55pm UTC](https://www.ruby-forum.com/t/integrating-typo-into-website/193515 "2010-09-06T21:55:41Z")

</div>

Is there a way to integrate typo into web site? I would like most of my pages to have other content, and one of my pages would have the Typo blog but it would use my layout and typo blog would be inserted into it, si…

---

## [DateTime optionally containing microseconds](https://www.ruby-forum.com/t/datetime-optionally-containing-microseconds/176433)

<div class="topic-metadata">

**Author:** [@ambrice](https://www.ruby-forum.com/u/ambrice)\
**Replies:** 1\
**Last updated:** [September 30, 2009, 5:23pm UTC](https://www.ruby-forum.com/t/datetime-optionally-containing-microseconds/176433 "2009-09-30T17:23:39Z")

</div>

Hi all, I’m sending DateTimes over soap to JADE agent system. If I send DateTime.now over it is accepted fine… and ends up as: 2009-09-30T09:20:52.959452-03:00 However, if I convert a Rails model field to datetime an…

---

## [BinData (or alternative)](https://www.ruby-forum.com/t/bindata-or-alternative/138543)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 1\
**Last updated:** [May 24, 2008, 12:08pm UTC](https://www.ruby-forum.com/t/bindata-or-alternative/138543 "2008-05-24T12:08:03Z")

</div>

Is there any documentation out there that shows the full use of this gem (like, for example, how to actually use the “BinData::Choice” class in a non-trivial example)? Alternatively, is there an easier/better-documen…

---

## [Error: “compass:dist” Fatal error: spawn /usr/bin/compass ENOENT](https://www.ruby-forum.com/t/error-compass-dist-fatal-error-spawn-usr-bin-compass-enoent/242161)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [June 1, 2015, 6:15pm UTC](https://www.ruby-forum.com/t/error-compass-dist-fatal-error-spawn-usr-bin-compass-enoent/242161 "2015-06-01T18:15:14Z")

</div>

Guys, I’m generating build my application with the grunt, it uses the compass. I set some variables: export GEM\_PATH =/usr/local/rvm/gems/ruby-2.1.2:/usr/local/rvm/gems/ruby-2.1.2@global export PATH=$PATH:/usr/local/…

---

## [Very confused - scaffold action does - sends NULL to db](https://www.ruby-forum.com/t/very-confused-scaffold-action-does-sends-null-to-db/199264)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [November 17, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/very-confused-scaffold-action-does-sends-null-to-db/199264 "2010-11-17T18:45:55Z")

</div>

Hi, I’m a bit confused with this. If you follow the steps below in Rails 3: 1- rails new act -d mysql 2- cd act 3- rails g scaffold action name:string 4- rake db:create 5- rake db:migrate 6- rails server when I a…

---

## [For Loop](https://www.ruby-forum.com/t/for-loop/179219)

<div class="topic-metadata">

**Author:** [@unix4linux](https://www.ruby-forum.com/u/unix4linux)\
**Replies:** 8\
**Last updated:** [November 20, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/for-loop/179219 "2009-11-20T17:04:53Z")

</div>

Hello All, I am starting to experiment with Ruby for Sys Admin tasks. Now, I have been working with Shell scripting for a few years now. Currently, I am trying to figure out how I can create a “for loop” in Ruby. I…

---

## [Dealing with a retry inside of a rescue block](https://www.ruby-forum.com/t/dealing-with-a-retry-inside-of-a-rescue-block/153573)

<div class="topic-metadata">

**Author:** [@jgeiger](https://www.ruby-forum.com/u/jgeiger)\
**Replies:** 0\
**Last updated:** [November 18, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/dealing-with-a-retry-inside-of-a-rescue-block/153573 "2008-11-18T22:22:48Z")

</div>

I’m trying to spec this method which is attempting to connect to beanstalkd message queue. I’m trying to figure out how to spec this so it catches the retry without actually retrying the block forever. Any help would …

---

## [Question about rewrite](https://www.ruby-forum.com/t/question-about-rewrite/133943)

<div class="topic-metadata">

**Author:** [@Sasa\_Ugrenovic](https://www.ruby-forum.com/u/Sasa_Ugrenovic)\
**Replies:** 8\
**Last updated:** [April 5, 2008, 11:52am UTC](https://www.ruby-forum.com/t/question-about-rewrite/133943 "2008-04-05T11:52:03Z")

</div>

Hello, I moved one site from apache to nginx, and I must say… Im very satisfied. Wont get into details about that now, just to say - thanks on the cool project. Anyway, to get to the point. Im running mostly mobile…

---

## [How to be cool with map](https://www.ruby-forum.com/t/how-to-be-cool-with-map/112744)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 8\
**Last updated:** [August 22, 2007, 11:36pm UTC](https://www.ruby-forum.com/t/how-to-be-cool-with-map/112744 "2007-08-22T23:36:20Z")

</div>

So I’ve got this file-checking script: def check ok = true for\_every\_app do |app,app\_info| ok = File.exists?(app\_info\[:root\]) end ok end And it has a bug, which is that if it evaluates a good file after a bad fi…

---

## [PHP & Ruby -- Rendered to One Page](https://www.ruby-forum.com/t/php-ruby-rendered-to-one-page/107675)

<div class="topic-metadata">

**Author:** [@bill](https://www.ruby-forum.com/u/bill)\
**Replies:** 8\
**Last updated:** [June 27, 2007, 8:02pm UTC](https://www.ruby-forum.com/t/php-ruby-rendered-to-one-page/107675 "2007-06-27T20:02:38Z")

</div>

All, I’ve been looking through these boards and the Internet at large for the last few hours trying to determine if it’s possible to render a single page that has both PHP and Ruby elements in it. Specifically, I am…

---

## [Including SWFs as part of rails content](https://www.ruby-forum.com/t/including-swfs-as-part-of-rails-content/106043)

<div class="topic-metadata">

**Author:** [@rocky](https://www.ruby-forum.com/u/rocky)\
**Replies:** 8\
**Last updated:** [June 12, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/including-swfs-as-part-of-rails-content/106043 "2007-06-12T14:57:08Z")

</div>

I’m having difficulties developing pages that include simple SWFs as part of the content. Specifically, they won’t play in MSIE 6. In Firefox and Opera the pages play exactly as planned, both Mac and Windows. SWFs are…

---

## [Some General Questions about Ruby](https://www.ruby-forum.com/t/some-general-questions-about-ruby/91121)

<div class="topic-metadata">

**Author:** [@chuckychuck](https://www.ruby-forum.com/u/chuckychuck)\
**Replies:** 8\
**Last updated:** [April 5, 2007, 12:23am UTC](https://www.ruby-forum.com/t/some-general-questions-about-ruby/91121 "2007-04-05T00:23:20Z")

</div>

Hi ! I think i’ll soon begin to learn programming in ruby, as so many people find it ( and its buddy RoR ) awesome. I’m a beginner programmer ( Basic, PHP, Caml, and i’m currently reading some C/C++ tutorials ) Ruby…

---

## [HABTM Reading Rows From Two Tables](https://www.ruby-forum.com/t/habtm-reading-rows-from-two-tables/80354)

<div class="topic-metadata">

**Author:** [@newbie](https://www.ruby-forum.com/u/newbie)\
**Replies:** 8\
**Last updated:** [December 26, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/habtm-reading-rows-from-two-tables/80354 "2006-12-26T21:10:30Z")

</div>

I’m a newbie and loving rails but I’m stuck. All I want to do is to be able to show in my “list.rhtml” view the information between two tables who both have a HABTM relationship. So this is what I have as follows. T…

---

## [What is wrong with my code](https://www.ruby-forum.com/t/what-is-wrong-with-my-code/73146)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 8\
**Last updated:** [October 22, 2006, 11:16pm UTC](https://www.ruby-forum.com/t/what-is-wrong-with-my-code/73146 "2006-10-22T23:16:44Z")

</div>

Hi folks, I write two srcipts to check files in a given directory. Version 1 uses regular expression and works but I cann’t find the size for each file. Version 2 uses Ruby built-in File.file? method but it doesn’t …

---

## [Ruby & Lavoro](https://www.ruby-forum.com/t/ruby-lavoro/94157)

<div class="topic-metadata">

**Author:** [@uncino](https://www.ruby-forum.com/u/uncino)\
**Replies:** 8\
**Last updated:** [April 24, 2006, 11:00am UTC](https://www.ruby-forum.com/t/ruby-lavoro/94157 "2006-04-24T11:00:39Z")

</div>

Ciao a tutti, sto facendo pressioni affinchè la società per cui lavoro utilizzi ruby per sviluppare ma tra le caratteristiche necessarie (e che io non ho mai usato) hanno richiesto: possibilità di usare a basso livel…

---

## [Define\_method fun](https://www.ruby-forum.com/t/define-method-fun/53954)

<div class="topic-metadata">

**Author:** [@patrickreilly](https://www.ruby-forum.com/u/patrickreilly)\
**Replies:** 8\
**Last updated:** [February 21, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/define-method-fun/53954 "2006-02-21T14:58:09Z")

</div>

Hi All, I just setup the following in one of my classes, I’ll let the code speak for itself: \["\<", “\<=”, “\>”, “\>=”, “==”, “\<=\>”\].each do |op| define\_method(op) { |comparison| eval “#{self.order} #{op} #{comparison.o…

---

## [Comparison between C++ and Ruby Variables](https://www.ruby-forum.com/t/comparison-between-c-and-ruby-variables/204302)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [March 9, 2011, 7:06pm UTC](https://www.ruby-forum.com/t/comparison-between-c-and-ruby-variables/204302 "2011-03-09T19:06:23Z")

</div>

I have blogged about the comparison between c++ and ruby variables and it would great if people can comment on it if something should be changed or I am missing some concept. Accordingly I can update the blog as I wan…

---

## [Errore ruby script/server](https://www.ruby-forum.com/t/errore-ruby-script-server/198126)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [October 27, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/errore-ruby-script-server/198126 "2010-10-27T20:37:13Z")

</div>

Salve a tutti, sono nuovo del mondo di ruby, talmente nuovo che ancora non sono riuscito a installarlo sul mac, o comunque a farlo partire. Ho seguito delle guide che ho trovato on line per installare tutto sul mac os…

---

## [\<button type="button"](https://www.ruby-forum.com/t/button-type-button/189630)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 6\
**Last updated:** [June 7, 2010, 11:00am UTC](https://www.ruby-forum.com/t/button-type-button/189630 "2010-06-07T11:00:13Z")

</div>

Hi I would like to construct a button like Add And I used the helper button\_to\_remote for this like \<%= button\_to\_remote(“Add”, { :url =\> some\_url(@id), :condition =\> “check\_valid()”, :with=\> “‘ids=’+user\_ids”}, …

---

## [Setting attribute via send in Ruby 1.8.6](https://www.ruby-forum.com/t/setting-attribute-via-send-in-ruby-1-8-6/177782)

<div class="topic-metadata">

**Author:** [@cmcfab](https://www.ruby-forum.com/u/cmcfab)\
**Replies:** 6\
**Last updated:** [October 24, 2009, 10:33am UTC](https://www.ruby-forum.com/t/setting-attribute-via-send-in-ruby-1-8-6/177782 "2009-10-24T10:33:59Z")

</div>

Using Ruby 1.8.6. I’ve run into an instance in which I’d like to set attributes of an instance using the send method. I’ve looked around, but found nothing, most likely because I’m using the wrong search terms. Exam…

---

## [Ruby and PostgreSQL?](https://www.ruby-forum.com/t/ruby-and-postgresql/176294)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 6\
**Last updated:** [September 29, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/ruby-and-postgresql/176294 "2009-09-29T23:48:32Z")

</div>

Hi- Not sure if this is the right place to post this, however I am looking for documentation for using Ruby with a Postgres database. I found the ruby-pg gem, however nothing in the way of docs and Google isn’t givi…

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

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