# Top

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

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

---

## [MySQL binding problem on Max OS X 10.4](https://www.ruby-forum.com/t/mysql-binding-problem-on-max-os-x-10-4/100801)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 7\
**Last updated:** [August 1, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/mysql-binding-problem-on-max-os-x-10-4/100801 "2006-08-01T21:23:24Z")

</div>

Hi all. No matter what I do I can’t get rails to see my MySQL database. All details are below. I really appreciate any assistance. Thanks!!! DETAILS I’m using Rails 1.1.4 with Ruby 1.8.4 on Mac OS X 10.4.7. I have …

---

## [RJS head scratcher](https://www.ruby-forum.com/t/rjs-head-scratcher/60699)

<div class="topic-metadata">

**Author:** [@bdaily](https://www.ruby-forum.com/u/bdaily)\
**Replies:** 7\
**Last updated:** [May 16, 2006, 11:01pm UTC](https://www.ruby-forum.com/t/rjs-head-scratcher/60699 "2006-05-16T23:01:36Z")

</div>

I’ve been joyfully using RJS in a lot of our work lately, with no issues whatsoever. However, I am porting an application to RJS templates that we’ve had for a while, and having some issues. When I use Firebug to see …

---

## [Is anyone doing serious dev using the one-click Ruby?](https://www.ruby-forum.com/t/is-anyone-doing-serious-dev-using-the-one-click-ruby/58119)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 7\
**Last updated:** [April 19, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/is-anyone-doing-serious-dev-using-the-one-click-ruby/58119 "2006-04-19T15:35:58Z")

</div>

I’m getting started with Rails on Windows and really like the convenience of the one-click Ruby installer but the stable releases are too few and far between – only about once a year it seems – which means you get stu…

---

## [How to copy a selected value into a text\_field](https://www.ruby-forum.com/t/how-to-copy-a-selected-value-into-a-text-field/186674)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 8\
**Last updated:** [April 13, 2010, 9:04pm UTC](https://www.ruby-forum.com/t/how-to-copy-a-selected-value-into-a-text-field/186674 "2010-04-13T21:04:35Z")

</div>

In app\\views\\expenses\\new.html.erb, I (mistakenly) replaced the script/generated: \<%= f.label :vendor %\> \<%= f.text\_field :vendor %\> with: \<%= f.label :vendor %\> \<% @current\_vendors = Vendor.find(:all, :order=\>“…

---

## [Ruby bug database](https://www.ruby-forum.com/t/ruby-bug-database/142634)

<div class="topic-metadata">

**Author:** [@stefans](https://www.ruby-forum.com/u/stefans)\
**Replies:** 8\
**Last updated:** [July 10, 2008, 2:25am UTC](https://www.ruby-forum.com/t/ruby-bug-database/142634 "2008-07-10T02:25:21Z")

</div>

Hello, where has the Ruby bug database gone? It used to be at http://www.ruby-lang.org/cgi-bin/ruby-bugs but that address doesn’t work anymore. I cannot find it on the website. Cheers, Stefan

---

## [NoMethodError](https://www.ruby-forum.com/t/nomethoderror/136097)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 8\
**Last updated:** [May 1, 2008, 6:16am UTC](https://www.ruby-forum.com/t/nomethoderror/136097 "2008-05-01T06:16:57Z")

</div>

I have created a simple login form… form is like this… \<% form\_tag :controller =\> “user”, :action =\> “login\_submit” do %\> Username: Password: \<%= submit\_tag “Login”%\> \<% end %\> METHOD IN USER CONTROLLER IS …

---

## [\[OT\] rimuhosting and VPS experiences wanted](https://www.ruby-forum.com/t/ot-rimuhosting-and-vps-experiences-wanted/96357)

<div class="topic-metadata">

**Author:** [@lkfken](https://www.ruby-forum.com/u/lkfken)\
**Replies:** 8\
**Last updated:** [June 29, 2006, 5:10am UTC](https://www.ruby-forum.com/t/ot-rimuhosting-and-vps-experiences-wanted/96357 "2006-06-29T05:10:59Z")

</div>

All - I am considering signing up for hosting at rimuhosting for rails, PHP, and email, and would like to hear some personal experiences with their service, especially compared to shared hosting services like Dreamhos…

---

## [Send mail if disk is fully occupied](https://www.ruby-forum.com/t/send-mail-if-disk-is-fully-occupied/200736)

<div class="topic-metadata">

**Author:** [@rubarachni](https://www.ruby-forum.com/u/rubarachni)\
**Replies:** 0\
**Last updated:** [May 3, 2017, 9:37pm UTC](https://www.ruby-forum.com/t/send-mail-if-disk-is-fully-occupied/200736 "2017-05-03T21:37:05Z")

</div>

Hello everybody I’m working on a script. This can delete “only” log data from given drives and compress it. With the time I noticed that it is very stupid, if my program in the drives delete the logfiles, if these ar…

---

## [Help me about Test-Unit in Ruby on Rails](https://www.ruby-forum.com/t/help-me-about-test-unit-in-ruby-on-rails/227368)

<div class="topic-metadata">

**Author:** [@haxuanlac](https://www.ruby-forum.com/u/haxuanlac)\
**Replies:** 3\
**Last updated:** [March 16, 2013, 10:18am UTC](https://www.ruby-forum.com/t/help-me-about-test-unit-in-ruby-on-rails/227368 "2013-03-16T10:18:39Z")

</div>

I’m using RubyMine for developing RoR and i found in RubyMine have Test file.But I read in rubyforge http://test-unit.rubyforge.org/ have Test-Unit for RoR.Could you help me about 2 problem: how is different between …

---

## [NoMethodError: undefined method ‘describe’ for main:Object when running rspec test in TextMate](https://www.ruby-forum.com/t/nomethoderror-undefined-method-describe-for-main-object-when-running-rspec-test-in-textmate/220669)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 15, 2012, 7:38pm UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-describe-for-main-object-when-running-rspec-test-in-textmate/220669 "2012-06-15T19:38:03Z")

</div>

I am trying to run rspec test but I can’t seem to get it to work on my Mac? The player\_spec.rb file contains: require ‘player’ describe Player do end All other related files are in the same folder Running rspec pl…

---

## [Nginx proxy config problem](https://www.ruby-forum.com/t/nginx-proxy-config-problem/219995)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 24, 2012, 1:27pm UTC](https://www.ruby-forum.com/t/nginx-proxy-config-problem/219995 "2012-05-24T13:27:17Z")

</div>

2 question: i want to put the pic,css,js etc. files on the frontend server, but with below config, i put a tar file to /var/www/a.com/test.tar and visite http://a.com/test.tar it return a 404 herder. how can i fix i…

---

## [Devise authenticate\_user! causing test fail](https://www.ruby-forum.com/t/devise-authenticate-user-causing-test-fail/218523)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 3, 2012, 6:04pm UTC](https://www.ruby-forum.com/t/devise-authenticate-user-causing-test-fail/218523 "2012-04-03T18:04:30Z")

</div>

Hi all, I could not run a simple test case. My app uses devise,rspec, etc. The problem code is at http://pastie.org/3719793 can anyone please help Thank you, Aashish

---

## [\[Backport93 - Backport #5636\]\[Open\] Re: Continuation causes Bus Error on Debian sparc](https://www.ruby-forum.com/t/backport93-backport-5636-open-re-continuation-causes-bus-error-on-debian-sparc/213882)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 3, 2012, 11:14am UTC](https://www.ruby-forum.com/t/backport93-backport-5636-open-re-continuation-causes-bus-error-on-debian-sparc/213882 "2012-01-03T11:14:33Z")

</div>

Issue #5636 has been reported by Naohisa G… Backport #5636: Re: Continuation causes Bus Error on Debian sparc Author: Naohisa G. Status: Open Priority: Normal Assignee: Category: Target version: Please backport…

---

## [DPSK2 Demodulator](https://www.ruby-forum.com/t/dpsk2-demodulator/208887)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 6, 2011, 3:03pm UTC](https://www.ruby-forum.com/t/dpsk2-demodulator/208887 "2011-07-06T15:03:54Z")

</div>

Hi, we are trying to use DPSK2 modulator and demodulator during our first trials. As far as we can see there is hardly any documentation available on this. We would appreciate a few explaining words from somebody wh…

---

## [Keep getting an error, "rescue in load\_missing\_constant': uninitialized constant Paperclip::Glue (Na](https://www.ruby-forum.com/t/keep-getting-an-error-rescue-in-load-missing-constant-uninitialized-constant-paperclip-glue-na/204226)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 8, 2011, 7:01am UTC](https://www.ruby-forum.com/t/keep-getting-an-error-rescue-in-load-missing-constant-uninitialized-constant-paperclip-glue-na/204226 "2011-03-08T07:01:13Z")

</div>

hi, there rails: 2.3.8 machine os: Ubuntu 10.04 Lucid I’m having some problems with my rails installation in one of my new development machines. I have installed all the gems in my config/environment.rb file. When …

---

## [Caching front page depending on cookie](https://www.ruby-forum.com/t/caching-front-page-depending-on-cookie/195141)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/caching-front-page-depending-on-cookie/195141 "2010-09-17T16:19:18Z")

</div>

If a user is not logged in, the front page is exactly the same. I asked a question a while back and it worked for my scenario then: http://www.ruby-forum.com/topic/210602 That was when I had nginx on the front and apa…

---

## [Question regarding controller actions (And a little bit of REST)](https://www.ruby-forum.com/t/question-regarding-controller-actions-and-a-little-bit-of-rest/191745)

<div class="topic-metadata">

**Author:** [@mffreire](https://www.ruby-forum.com/u/mffreire)\
**Replies:** 3\
**Last updated:** [July 17, 2010, 2:16pm UTC](https://www.ruby-forum.com/t/question-regarding-controller-actions-and-a-little-bit-of-rest/191745 "2010-07-17T14:16:34Z")

</div>

Hi Guys, I am developing a blog system with Rails and I have a question about the following matter: My client wants me to create an approve and disapprove action for the comments. So, I did create two actions in th…

---

## [Io/console IO#raw error when io is closed in the block](https://www.ruby-forum.com/t/io-console-io-raw-error-when-io-is-closed-in-the-block/188253)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [May 9, 2010, 6:00am UTC](https://www.ruby-forum.com/t/io-console-io-raw-error-when-io-is-closed-in-the-block/188253 "2010-05-09T06:00:03Z")

</div>

io/console e$B$r;H$C$F$\_$?$N$G$9$,!"$A$g$C$H$&$^$/;H$($^$;$s!#e(B IO#raw e$B$,e(B tty e$B$N\>uBV$rI,$:85$K$b$I$9$s$G$9$,!"$=$l$,$A$g$C$H:$$j$^$9!#e(B e$B0J2\<$N$h$&$K!"e(Bpty e$B$rDL$7$Fe(B factor e$B%3%^%s%I$r;H$&$3$H…

---

## [Observe\_field, how to use input to toggle checkbox?](https://www.ruby-forum.com/t/observe-field-how-to-use-input-to-toggle-checkbox/186029)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 3\
**Last updated:** [April 1, 2010, 5:09pm UTC](https://www.ruby-forum.com/t/observe-field-how-to-use-input-to-toggle-checkbox/186029 "2010-04-01T17:09:29Z")

</div>

This may seem like a bit of a silly question, but here’s the reason: I have an app where a large number of options may need to be selected. Some are simply on/off with a checkbox but others have an additional text inp…

---

## [Referring to Hash and Array Elements](https://www.ruby-forum.com/t/referring-to-hash-and-array-elements/184056)

<div class="topic-metadata">

**Author:** [@saeed](https://www.ruby-forum.com/u/saeed)\
**Replies:** 3\
**Last updated:** [February 24, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/referring-to-hash-and-array-elements/184056 "2010-02-24T15:17:17Z")

</div>

Hi All, I am a beginner to Ruby. Currently I am working with Hashes and Arrays. I have a loop where the code saves several objects into a Hash. Everytime the loop is run the objects in the Hash are overwritten, there…

---

## [Bad requests with 0-byte response](https://www.ruby-forum.com/t/bad-requests-with-0-byte-response/180402)

<div class="topic-metadata">

**Author:** [@Jean-Baptiste\_Q](https://www.ruby-forum.com/u/Jean-Baptiste_Q)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/bad-requests-with-0-byte-response/180402 "2009-12-19T15:25:27Z")

</div>

Hello, I’m using nginx 0.6.35 with syslog patch, and have a few POST requests everyday that are aborted by nginx, with no error message being reported to the error log. The status code returned is 400, and there is …

---

## [Question about request\_body and redirect](https://www.ruby-forum.com/t/question-about-request-body-and-redirect/174011)

<div class="topic-metadata">

**Author:** [@quan\_nexthop](https://www.ruby-forum.com/u/quan_nexthop)\
**Replies:** 3\
**Last updated:** [August 19, 2009, 4:12pm UTC](https://www.ruby-forum.com/t/question-about-request-body-and-redirect/174011 "2009-08-19T16:12:23Z")

</div>

Hi all: I try to implemente a module based on NGINX, which will filter the content of request body. Now, I met a problem: I can not get the whole request body my code is as following: len = rb-\>buf-\>last - rb-\>bu…

---

## [Variabili e manipolazione stringhe, dove sbaglio?](https://www.ruby-forum.com/t/variabili-e-manipolazione-stringhe-dove-sbaglio/173627)

<div class="topic-metadata">

**Author:** [@lucac81](https://www.ruby-forum.com/u/lucac81)\
**Replies:** 3\
**Last updated:** [August 12, 2009, 10:28am UTC](https://www.ruby-forum.com/t/variabili-e-manipolazione-stringhe-dove-sbaglio/173627 "2009-08-12T10:28:57Z")

</div>

Il subject non Ã¨ dei migliori, ma non sapevo come scriverlo, mi Ã¨ capitata una cosa strana: In rails ricevo da una form una stringa (contenente una data in formato GGMMAAAA) che viene inserita in un db mysql (e fin …

---

## [Assert\_recognizes example throws syntax error](https://www.ruby-forum.com/t/assert-recognizes-example-throws-syntax-error/173531)

<div class="topic-metadata">

**Author:** [@Cynthia\_K](https://www.ruby-forum.com/u/Cynthia_K)\
**Replies:** 3\
**Last updated:** [August 11, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/assert-recognizes-example-throws-syntax-error/173531 "2009-08-11T18:36:57Z")

</div>

I am trying to test some restful routes and the example from the API docs (suitably munged) is failing. What am I not seeing? Example from API docs on api.rubyonrails.com Check the default route (i.e., the index act…

---

## [Unit test problem with time update](https://www.ruby-forum.com/t/unit-test-problem-with-time-update/165309)

<div class="topic-metadata">

**Author:** [@ps\_gem](https://www.ruby-forum.com/u/ps_gem)\
**Replies:** 3\
**Last updated:** [April 12, 2009, 8:43pm UTC](https://www.ruby-forum.com/t/unit-test-problem-with-time-update/165309 "2009-04-12T20:43:10Z")

</div>

Hi all, I am new to Ruby on Rails and struggling to finish my class project. I have problem with unit testing, if any body could help. I have a function that updates ‘feeds’ table. It has a columns: id, feeddata, la…

---

## [Packaging up gems with jruby-complete](https://www.ruby-forum.com/t/packaging-up-gems-with-jruby-complete/156448)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 3\
**Last updated:** [February 24, 2009, 2:51am UTC](https://www.ruby-forum.com/t/packaging-up-gems-with-jruby-complete/156448 "2009-02-24T02:51:52Z")

</div>

Hi, I’m using jruby-complete and would like to bundle up some other gems (Hpricot etc.). What’s the easiest way to do this? Thanks, Matt

---

## [\-l command line option broken?](https://www.ruby-forum.com/t/l-command-line-option-broken/152000)

<div class="topic-metadata">

**Author:** [@lennylmiller](https://www.ruby-forum.com/u/lennylmiller)\
**Replies:** 3\
**Last updated:** [October 30, 2008, 4:36am UTC](https://www.ruby-forum.com/t/l-command-line-option-broken/152000 "2008-10-30T04:36:49Z")

</div>

Ooops. I meant the -l option not -n. It seems that ‘-l’ command line option for rspec stopped working as of rspec 1.1.3. I think this may be related to why I can’t get NetBeans to run focussed specs anymore. Does this…

---

## [Huge performance issue with ActiveRecord::Base exists?](https://www.ruby-forum.com/t/huge-performance-issue-with-activerecord-base-exists/150720)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 3\
**Last updated:** [October 12, 2008, 1:28am UTC](https://www.ruby-forum.com/t/huge-performance-issue-with-activerecord-base-exists/150720 "2008-10-12T01:28:13Z")

</div>

I was just running a relative simple exists? query: Page.exists?(\[“id \> ?”,i\]) which equates to SELECT COUNT(\*) FROM pages WHERE (id \> 1400000) LIMIT 1 You would think with a COUNT and a LIMIT 1, that things wou…

---

## [Using ruby on rails to call the web service in java](https://www.ruby-forum.com/t/using-ruby-on-rails-to-call-the-web-service-in-java/149945)

<div class="topic-metadata">

**Author:** [@ruby\_on\_rail](https://www.ruby-forum.com/u/ruby_on_rail)\
**Replies:** 3\
**Last updated:** [October 2, 2008, 9:45am UTC](https://www.ruby-forum.com/t/using-ruby-on-rails-to-call-the-web-service-in-java/149945 "2008-10-02T09:45:03Z")

</div>

Hi Rail experts, I am learning to use ruby on rail to replace our old php based web application. I have one question: originally we have some web services developed in java, and they are running on the jSoapServer (j…

---

## [Copying variables between rows](https://www.ruby-forum.com/t/copying-variables-between-rows/142022)

<div class="topic-metadata">

**Author:** [@MalHayn](https://www.ruby-forum.com/u/MalHayn)\
**Replies:** 3\
**Last updated:** [July 6, 2008, 9:22am UTC](https://www.ruby-forum.com/t/copying-variables-between-rows/142022 "2008-07-06T09:22:31Z")

</div>

Is there an elegant way of copying some variables from one row to another row? Here is the current code: color = Color.find(id, :select =\> “a, b, c, d, e, f”) copy = Color.find(copy, :select =\> “c, d, e”) color.c = …

---

## [Michael Koziarski Ã  paris cet Ã©tÃ©?](https://www.ruby-forum.com/t/michael-koziarski-a-paris-cet-a-ta/141414)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 4:34am UTC](https://www.ruby-forum.com/t/michael-koziarski-a-paris-cet-a-ta/141414 "2008-07-01T04:34:16Z")

</div>

http://www.koziarski.net/archives/2008/4/27/the-paris-project je suis pas sur d’avoir tout compris, mais un membre de la core team devrait passer l’Ã©tÃ© Ã paris. Les railers parisien on d’la chance !!!

---

## [Enumeration sum](https://www.ruby-forum.com/t/enumeration-sum/137418)

<div class="topic-metadata">

**Author:** [@emeratius](https://www.ruby-forum.com/u/emeratius)\
**Replies:** 3\
**Last updated:** [May 13, 2008, 2:38am UTC](https://www.ruby-forum.com/t/enumeration-sum/137418 "2008-05-13T02:38:50Z")

</div>

Any idees why I can do this: @sum = @selected.inject(0) { |sum, player| sum + player.value } but not this: @sum = @selected.sum { |player| player.value } @sum = @selected.sum(&:value) The last two give me following …

---

## [So pty is no longer supported?](https://www.ruby-forum.com/t/so-pty-is-no-longer-supported/122758)

<div class="topic-metadata">

**Author:** [@rubyoncrack](https://www.ruby-forum.com/u/rubyoncrack)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 9:22pm UTC](https://www.ruby-forum.com/t/so-pty-is-no-longer-supported/122758 "2007-12-11T21:22:33Z")

</div>

it would make sense, since it’s a POS.

---

## [Scaffold leaving out column names ending in \_id?](https://www.ruby-forum.com/t/scaffold-leaving-out-column-names-ending-in-id/121769)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 1, 2007, 4:05am UTC](https://www.ruby-forum.com/t/scaffold-leaving-out-column-names-ending-in-id/121769 "2007-12-01T04:05:33Z")

</div>

I’ve been trying to get scaffold to display all fields in a simple table. I noticed that if a column name ends in ‘\_id’ the scaffold ignores it, also the scaffold does not display the primary key, named ‘id’. Where c…

---

## [Tablas muy grandes y consumo de memoria](https://www.ruby-forum.com/t/tablas-muy-grandes-y-consumo-de-memoria/116843)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [October 10, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/tablas-muy-grandes-y-consumo-de-memoria/116843 "2007-10-10T17:47:14Z")

</div>

Hola, supongamos que tengo una tabla con muchas entradas, pero que la aplicaciÃ³n web en Rails nunca va a tener que acceder a toda ella, ya que hay una columna “cliente”, y a cada cliente sÃ³lo se le van a mostrar vÃ­…

---

## [Again search engine question](https://www.ruby-forum.com/t/again-search-engine-question/113507)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 3\
**Last updated:** [September 1, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/again-search-engine-question/113507 "2007-09-01T21:51:47Z")

</div>

Hello, who can tell me how i make a search engine that satisfy following requiments: support for UTF-8 search by part of word, example: dem\* \<- returns demo, demon, demor… UTF-8 search ignoring case sensitive symbols…

---

## [Diferentes Layouts en el mismo controlador](https://www.ruby-forum.com/t/diferentes-layouts-en-el-mismo-controlador/110956)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 3\
**Last updated:** [August 1, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/diferentes-layouts-en-el-mismo-controlador/110956 "2007-08-01T13:39:13Z")

</div>

Buenas, tengo el tÃ­pico controlador que controla el acceso con varios mÃ©todos, uno de ellos login. tengo un layout para una zona privada y otro para una zona pÃºblica. Me gustarÃ­a que en el caso de que se pida la a…

---

## [Set intersection with a specific criteria: a better idiom?](https://www.ruby-forum.com/t/set-intersection-with-a-specific-criteria-a-better-idiom/105566)

<div class="topic-metadata">

**Author:** [@kuyarico](https://www.ruby-forum.com/u/kuyarico)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/set-intersection-with-a-specific-criteria-a-better-idiom/105566 "2007-06-01T13:25:47Z")

</div>

Hi, I have been trying to intersect 2 sets of objects that where I want the “intersected” objects to share a common property. This is what I came up with: Here, I want to get all the Errors having the same file name: …

---

## [High packet error and reception problems with RFX 2400](https://www.ruby-forum.com/t/high-packet-error-and-reception-problems-with-rfx-2400/91027)

<div class="topic-metadata">

**Author:** [@Syed\_Faisal\_Shah](https://www.ruby-forum.com/u/Syed_Faisal_Shah)\
**Replies:** 3\
**Last updated:** [April 5, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/high-packet-error-and-reception-problems-with-rfx-2400/91027 "2007-04-05T22:04:36Z")

</div>

Hi fellows, We just purchased USRP from Ettus equipped with daughter board RFX 2400. We are trying to test these boards and have following problems: The benchmark\_tx.py and benchmark\_rx.py from the GNU radio tar ba…

---

## [Table name of an object](https://www.ruby-forum.com/t/table-name-of-an-object/87542)

<div class="topic-metadata">

**Author:** [@ralph](https://www.ruby-forum.com/u/ralph)\
**Replies:** 3\
**Last updated:** [March 3, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/table-name-of-an-object/87542 "2007-03-03T18:22:48Z")

</div>

Hello, how can I find out the table name of an object? For example I have the object ua of the class UserArticle: ua = UserArticle.find(1) How can I find out it is saved in the table user\_articles?

---

## [Patterns of semantic contradictions?](https://www.ruby-forum.com/t/patterns-of-semantic-contradictions/84824)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 3\
**Last updated:** [February 8, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/patterns-of-semantic-contradictions/84824 "2007-02-08T18:36:35Z")

</div>

Hi list I just could not resist to post a stupid remark - which was taken very gracefully ty :wink: - to a thread where somebody corrected his typo with the well known sub idiom, only that he did something like “abc…

---

## [Upload file -\> StringIO; perchÃ©?](https://www.ruby-forum.com/t/upload-file-stringio-percha/83987)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [January 31, 2007, 11:28am UTC](https://www.ruby-forum.com/t/upload-file-stringio-percha/83987 "2007-01-31T11:28:51Z")

</div>

ciao, Rails. Form con campo type=“file”. Submit. params.inspect: { “commit”=\>“Salva”, “channel\_id”=\>“1”, “media”=\> { “filename”=\>“fds”, “data”=\>#StringIO:0x35576d0}, “action”=\>“create”, “container\_id”=\>“3”, “…

---

## [Hacer consulta con Group](https://www.ruby-forum.com/t/hacer-consulta-con-group/81989)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 3\
**Last updated:** [January 17, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/hacer-consulta-con-group/81989 "2007-01-17T16:17:53Z")

</div>

Holas quiero hacer esta seleccion: SELECT A,MAX(MY\_DATE) GROUP BY A en RoR como seria?? gracias

---

## [Does eql? do a deep comparison of objects?](https://www.ruby-forum.com/t/does-eql-do-a-deep-comparison-of-objects/80676)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [January 1, 2007, 7:15pm UTC](https://www.ruby-forum.com/t/does-eql-do-a-deep-comparison-of-objects/80676 "2007-01-01T19:15:36Z")

</div>

If I have two objects A and B where each is of the same type but have arbitrarily complex object graphs, will the result of A eql? B be false if ANY part of the object graph differs, no matter how deep it is? In my sp…

---

## [Local Variables vs. Instance Variables inside breakpointer](https://www.ruby-forum.com/t/local-variables-vs-instance-variables-inside-breakpointer/70792)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 9, 2006, 6:43pm UTC](https://www.ruby-forum.com/t/local-variables-vs-instance-variables-inside-breakpointer/70792 "2006-11-09T18:43:44Z")

</div>

Hi, I have a quick question about breakpoints. I am testing a class method inside a model in development mode and when I get to the breakpoint, I can’t seem to inspect any of the local variables inside the method. H…

---

## [Ez-where plugin and type mismatch](https://www.ruby-forum.com/t/ez-where-plugin-and-type-mismatch/72331)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 3\
**Last updated:** [October 16, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/ez-where-plugin-and-type-mismatch/72331 "2006-10-16T15:57:40Z")

</div>

I’m getting an error type mismatch: String given RAILS\_ROOT: ./script/…/config/… Application Trace http://localhost:3000/ajaxsearch/index# | Framework Trace http://localhost:3000/ajaxsearch/index# | Full Tracehttp:/…

---

## [Radius related problem with code\_behavior plugin](https://www.ruby-forum.com/t/radius-related-problem-with-code-behavior-plugin/67341)

<div class="topic-metadata">

**Author:** [@rane](https://www.ruby-forum.com/u/rane)\
**Replies:** 3\
**Last updated:** [September 2, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/radius-related-problem-with-code-behavior-plugin/67341 "2006-09-02T14:16:22Z")

</div>

Hello, I am having following problem with third party plugin code\_behaviour. \<r:code \[lang=“ruby”\]\> \[anything\] \</r:code\> in any page in Radiant CMS outputs this error: end tag not found for start tag \`’. After goo…

---

## [Can you do an XY scatter plot with Gruff graphs?](https://www.ruby-forum.com/t/can-you-do-an-xy-scatter-plot-with-gruff-graphs/66945)

<div class="topic-metadata">

**Author:** [@dot](https://www.ruby-forum.com/u/dot)\
**Replies:** 3\
**Last updated:** [August 31, 2006, 8:59am UTC](https://www.ruby-forum.com/t/can-you-do-an-xy-scatter-plot-with-gruff-graphs/66945 "2006-08-31T08:59:06Z")

</div>

I can’t see how to do it! Am I missing something obvious?

---

## [Is cartographer recommended for using google maps?](https://www.ruby-forum.com/t/is-cartographer-recommended-for-using-google-maps/101353)

<div class="topic-metadata">

**Author:** [@trees](https://www.ruby-forum.com/u/trees)\
**Replies:** 3\
**Last updated:** [August 4, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/is-cartographer-recommended-for-using-google-maps/101353 "2006-08-04T15:24:18Z")

</div>

been doing some searches on how to get googlemaps working in a ror app. seems like cartographer is the main one? is this true? Thanks

---

## [CRUD, REST and associations](https://www.ruby-forum.com/t/crud-rest-and-associations/100148)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [July 27, 2006, 12:13pm UTC](https://www.ruby-forum.com/t/crud-rest-and-associations/100148 "2006-07-27T12:13:18Z")

</div>

Let’s say I have the model class Reader and Magazine, connected by join model Subscription. It looks something like this class Reader \< ActiveRecord::Base has\_many :subscriptions, :dependent =\> :delete\_all has\_many :…

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

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