# Top

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

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

---

## [404 not showing up in error logs (for PHP files)](https://www.ruby-forum.com/t/404-not-showing-up-in-error-logs-for-php-files/215486)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [February 10, 2014, 4:27pm UTC](https://www.ruby-forum.com/t/404-not-showing-up-in-error-logs-for-php-files/215486 "2014-02-10T16:27:46Z")

</div>

Hi All, When a user enters an invalid php file name they are correctly routed to our default 404.html: try\_files $fastcgi\_script\_name =404; The problem is that the 404 error is not showing up in our error logs. Othe…

---

## [F.send in form?](https://www.ruby-forum.com/t/f-send-in-form/221784)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [July 31, 2012, 8:00am UTC](https://www.ruby-forum.com/t/f-send-in-form/221784 "2012-07-31T08:00:00Z")

</div>

Can you do f.send in a form? I have questions and the data type stored in a db. \<% Question.all.each do |question| %\> \<%= f.send(:label, question.name), :class =\> ‘control-label’ %\> \<%= f.send(question.data\_…

---

## [Calling perl function in ruby](https://www.ruby-forum.com/t/calling-perl-function-in-ruby/161183)

<div class="topic-metadata">

**Author:** [@loganathan](https://www.ruby-forum.com/u/loganathan)\
**Replies:** 5\
**Last updated:** [February 25, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/calling-perl-function-in-ruby/161183 "2009-02-25T17:58:56Z")

</div>

Below code is used for calling c function in ruby. #! /usr/bin/ruby require ‘/usr/lib/ruby/1.8/inline.rb’ puts “Inline module…” class MyTest inline do |builder| builder.c " long factorial(int max) { int i=max, re…

---

## [Creating and saving multiple instances to subclass of Active](https://www.ruby-forum.com/t/creating-and-saving-multiple-instances-to-subclass-of-active/92393)

<div class="topic-metadata">

**Author:** [@gberz3](https://www.ruby-forum.com/u/gberz3)\
**Replies:** 5\
**Last updated:** [April 19, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/creating-and-saving-multiple-instances-to-subclass-of-active/92393 "2007-04-19T23:10:06Z")

</div>

Perhaps I’m missing something, but. . .Is it not possible to create and save multiple instances of an ActiveRecord subclass in a single control loop? For instance: require ‘net/pop’ require ‘md5’ def check\_mail #D…

---

## [Ruby/LDAP on Rails](https://www.ruby-forum.com/t/ruby-ldap-on-rails/54580)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 5\
**Last updated:** [April 10, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/ruby-ldap-on-rails/54580 "2006-04-10T21:29:19Z")

</div>

This is wierd. I’m trying to get Ruby/LDAP up and working, and at least the basics work fine under irb: irb(main):001:0\> require ‘ldap’ =\> true irb(main):002:0\> LDAP::Conn.new() =\> #LDAP::Conn:0x1b87ac irb(main):0…

---

## [Aggregation/composed model attribute](https://www.ruby-forum.com/t/aggregation-composed-model-attribute/95498)

<div class="topic-metadata">

**Author:** [@alien8](https://www.ruby-forum.com/u/alien8)\
**Replies:** 5\
**Last updated:** [December 10, 2005, 4:04am UTC](https://www.ruby-forum.com/t/aggregation-composed-model-attribute/95498 "2005-12-10T04:04:53Z")

</div>

First off, apologies about my previous empty post. Also, apologies for the newbie nature of this post. I am new to rails and I’m working on a simple relational database to be administered and accessible to the public …

---

## [Why an Object is\_a? Module?](https://www.ruby-forum.com/t/why-an-object-is-a-module/237599)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 21, 2013, 11:58am UTC](https://www.ruby-forum.com/t/why-an-object-is-a-module/237599 "2013-11-21T11:58:04Z")

</div>

I have a piece of code (derived from How do I create a class instance from a string name in ruby? - Stack Overflow), which works like a charm, but I don’t fully understand WHY it works. Here is a small example which d…

---

## [Trouble with $uri in subrequest](https://www.ruby-forum.com/t/trouble-with-uri-in-subrequest/245843)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 18, 2013, 10:40am UTC](https://www.ruby-forum.com/t/trouble-with-uri-in-subrequest/245843 "2013-07-18T10:40:18Z")

</div>

Hi there, i’m having trouble getting the request\_uri via lua in a subrequest. ngx.var.uri will always return the uri of the parent request whereas something like ngx.req.get\_uri\_args will return the correct args for t…

---

## [\[HELP\] Couldn't find Search with id= from controller](https://www.ruby-forum.com/t/help-couldnt-find-search-with-id-from-controller/245665)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [June 26, 2013, 9:29pm UTC](https://www.ruby-forum.com/t/help-couldnt-find-search-with-id-from-controller/245665 "2013-06-26T21:29:11Z")

</div>

I have been working on the search form for my app. The advanced search works fine, however I am unable to get the regular search form to work. It should be able to search the entire user database, and I should be able…

---

## [Second App in localhost](https://www.ruby-forum.com/t/second-app-in-localhost/190996)

<div class="topic-metadata">

**Author:** [@railsfan\_radha](https://www.ruby-forum.com/u/railsfan_radha)\
**Replies:** 7\
**Last updated:** [July 2, 2010, 10:55pm UTC](https://www.ruby-forum.com/t/second-app-in-localhost/190996 "2010-07-02T22:55:52Z")

</div>

Env: In VirtualBox / Ubuntu Lucid / current stable version of Ruby on Rails / Apache2 / Passenger I have one app called “firstapp” hosted in my localhost I think i added one entry to apache2.conf file to view this app…

---

## [Redirect\_to Vs Render\_component](https://www.ruby-forum.com/t/redirect-to-vs-render-component/160256)

<div class="topic-metadata">

**Author:** [@srividya\_sharma](https://www.ruby-forum.com/u/srividya_sharma)\
**Replies:** 7\
**Last updated:** [February 15, 2009, 5:15pm UTC](https://www.ruby-forum.com/t/redirect-to-vs-render-component/160256 "2009-02-15T17:15:26Z")

</div>

Hello I am using Rails 2.2.2. Here is my problem: I have a controller action which will receive several parameters, validate them, process them and create a new set of parameters out of them. Then, this controller …

---

## [General query about ruby libraries](https://www.ruby-forum.com/t/general-query-about-ruby-libraries/139321)

<div class="topic-metadata">

**Author:** [@sandman](https://www.ruby-forum.com/u/sandman)\
**Replies:** 7\
**Last updated:** [June 5, 2008, 6:31am UTC](https://www.ruby-forum.com/t/general-query-about-ruby-libraries/139321 "2008-06-05T06:31:31Z")

</div>

Hi all, I would like to know where exactly to unpack external ruby libraries for future use. I’m using aaronp’s mechanize library (zip file)…and it uses the require ‘mechanize’ directive. Thanks, Sandip

---

## [Few Small Examples in Linq with IronRuby](https://www.ruby-forum.com/t/few-small-examples-in-linq-with-ironruby/131788)

<div class="topic-metadata">

**Author:** [@webreservoir](https://www.ruby-forum.com/u/webreservoir)\
**Replies:** 7\
**Last updated:** [March 27, 2008, 7:18am UTC](https://www.ruby-forum.com/t/few-small-examples-in-linq-with-ironruby/131788 "2008-03-27T07:18:51Z")

</div>

Hello, I know that its too early to ask or it. But can someone provide few examples, how Linq with IronRuby will look alike. Since i am reading few books on LINQ in C#, i want to gradually try to understand it with …

---

## [How to replace keywords with values to merge into an email template](https://www.ruby-forum.com/t/how-to-replace-keywords-with-values-to-merge-into-an-email-template/124832)

<div class="topic-metadata">

**Author:** [@tonypm](https://www.ruby-forum.com/u/tonypm)\
**Replies:** 7\
**Last updated:** [January 17, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/how-to-replace-keywords-with-values-to-merge-into-an-email-template/124832 "2008-01-17T13:34:50Z")

</div>

I am making an email template system, in which certain keywords are to be replaced by values from the model. eg {ORDERNO}, {NAME} etc My plan is to do the following. find all keywords in the text (subject and body a…

---

## [How to install ruby in home folder?](https://www.ruby-forum.com/t/how-to-install-ruby-in-home-folder/119932)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 7\
**Last updated:** [November 13, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/how-to-install-ruby-in-home-folder/119932 "2007-11-13T15:14:31Z")

</div>

I don’t have root access Is there any idea to install ruby in home folder(/home/username/) only ?

---

## [Getting a complete URL from Rails](https://www.ruby-forum.com/t/getting-a-complete-url-from-rails/92679)

<div class="topic-metadata">

**Author:** [@miles](https://www.ruby-forum.com/u/miles)\
**Replies:** 7\
**Last updated:** [April 24, 2007, 10:55am UTC](https://www.ruby-forum.com/t/getting-a-complete-url-from-rails/92679 "2007-04-24T10:55:01Z")

</div>

Hello, I’m sending out an e-mail message to new users of my service. I want to send a particular link in this e-mail but I can’t figure out how to get a complete URL from the url\_for method. Is there a way to do this …

---

## [E-mail library for Ruby?](https://www.ruby-forum.com/t/e-mail-library-for-ruby/89551)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 7\
**Last updated:** [March 22, 2007, 5:18pm UTC](https://www.ruby-forum.com/t/e-mail-library-for-ruby/89551 "2007-03-22T17:18:59Z")

</div>

Okay, I’ll detail my problem and, hopefully, people can suggest a solution to me. I have an account on a Linux machine that I use as my e-mail address. I use Pine as my mail client. I have let my inbox accumulate e…

---

## [The dreaded Unicode issue](https://www.ruby-forum.com/t/the-dreaded-unicode-issue/80973)

<div class="topic-metadata">

**Author:** [@daveh](https://www.ruby-forum.com/u/daveh)\
**Replies:** 7\
**Last updated:** [January 2, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/the-dreaded-unicode-issue/80973 "2007-01-02T21:44:06Z")

</div>

Hi all, I’m trying to store the following in a mysql DB but am having no luck: PÃ¤r BjÃ¶rn gÃ¶sta (hopefully the encodings came out correct in this message) I’ve looked into Ruby’s Unicode library and have tried thi…

---

## [Reverse proxy tuning](https://www.ruby-forum.com/t/reverse-proxy-tuning/244766)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 10, 2016, 7:36pm UTC](https://www.ruby-forum.com/t/reverse-proxy-tuning/244766 "2016-06-10T19:36:08Z")

</div>

Hello ! I have a nginx reverse proxy http/https for a node.js application with websockets (an extract of the nginx config follows). I would like to know if there is a way to : force nginx to retry connection to the…

---

## [Debian Jessie, Nginx, PHP, UWSGI quick start](https://www.ruby-forum.com/t/debian-jessie-nginx-php-uwsgi-quick-start/243764)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [January 3, 2016, 3:01am UTC](https://www.ruby-forum.com/t/debian-jessie-nginx-php-uwsgi-quick-start/243764 "2016-01-03T03:01:53Z")

</div>

Hello, I had to host a potential unsecure PHP web application. So I though about writing a small c programm which creates a network, filesystem, pid, uts, and ipc namespace and run php-fpm inside it. I needd from the…

---

## [Comparison of new USRP, HackRF and bladeRF](https://www.ruby-forum.com/t/comparison-of-new-usrp-hackrf-and-bladerf/236300)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 23, 2013, 7:02am UTC](https://www.ruby-forum.com/t/comparison-of-new-usrp-hackrf-and-bladerf/236300 "2013-08-23T07:02:43Z")

</div>

Hello, I’ve spent a lot of time researching and comparing the different Software Defined Radios that are available for purchase. This year, three new SDRs are being released from three different companies, the HackR…

---

## [Fastthread error](https://www.ruby-forum.com/t/fastthread-error/159968)

<div class="topic-metadata">

**Author:** [@leojoesdb](https://www.ruby-forum.com/u/leojoesdb)\
**Replies:** 1\
**Last updated:** [February 10, 2009, 3:13pm UTC](https://www.ruby-forum.com/t/fastthread-error/159968 "2009-02-10T15:13:30Z")

</div>

Is anybody testing mongrel on ruby 1.9.1 I just tried installing mongrel and got this error \[root@mysql02 fastthread-1.0.1\]# gem install mongrel Building native extensions. This could take a while… /usr/local/lib/ru…

---

## [Will\_paginate with group\_by](https://www.ruby-forum.com/t/will-paginate-with-group-by/156337)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 1\
**Last updated:** [December 25, 2008, 7:26am UTC](https://www.ruby-forum.com/t/will-paginate-with-group-by/156337 "2008-12-25T07:26:42Z")

</div>

I am trying to use will\_paginate with group\_by but i keep getting “undefined method \`total\_pages’ for”. –Controller– @records = Record.paginate( :conditions =\> \[‘this\_id = ? and that\_id = ?’,session\[:this\_id\],session…

---

## [Rails 3.0.7 - validates uniqueness, factory girl, and transactions with rspec](https://www.ruby-forum.com/t/rails-3-0-7-validates-uniqueness-factory-girl-and-transactions-with-rspec/213591)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 7, 2011, 11:15pm UTC](https://www.ruby-forum.com/t/rails-3-0-7-validates-uniqueness-factory-girl-and-transactions-with-rspec/213591 "2011-11-07T23:15:41Z")

</div>

Hi, We have a number of rspec tests that started failing with uniqueness validation failures once we added uniqueness constraints to our models despite their being no uniqueness violations at the DB level - we have u…

---

## [N:m relationship, joining table record creation issue](https://www.ruby-forum.com/t/n-m-relationship-joining-table-record-creation-issue/166947)

<div class="topic-metadata">

**Author:** [@Ahad\_LSAmdani](https://www.ruby-forum.com/u/Ahad_LSAmdani)\
**Replies:** 3\
**Last updated:** [May 6, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/n-m-relationship-joining-table-record-creation-issue/166947 "2009-05-06T23:13:15Z")

</div>

Hey all, I have an n:m relationship between lpl\_short\_form\_apps and practice\_areas. The joining table is called practices. The definitions are as follows (minus validation/business logic): LPLSFAs Model: class LPLSh…

---

## [New to Ruby](https://www.ruby-forum.com/t/new-to-ruby/91281)

<div class="topic-metadata">

**Author:** [@fairylights](https://www.ruby-forum.com/u/fairylights)\
**Replies:** 3\
**Last updated:** [July 2, 2007, 1:47am UTC](https://www.ruby-forum.com/t/new-to-ruby/91281 "2007-07-02T01:47:25Z")

</div>

class ArrayPlus count = sum = 0 def sums 11.times do count += 1 sum += count print "sum at " + count.to\_s + “=” + sum.to\_s end when I executed this code Ruby points at the last line of the code and gives me this…

---

## [STI Troubles in a has\_many : belongs\_to relationship](https://www.ruby-forum.com/t/sti-troubles-in-a-has-many-belongs-to-relationship/71891)

<div class="topic-metadata">

**Author:** [@dstocks](https://www.ruby-forum.com/u/dstocks)\
**Replies:** 3\
**Last updated:** [October 12, 2006, 5:35am UTC](https://www.ruby-forum.com/t/sti-troubles-in-a-has-many-belongs-to-relationship/71891 "2006-10-12T05:35:33Z")

</div>

I’m having difficulty with single table inheritance when the STI table is the “belongs\_to” in a has\_many / belongs\_to relationship. Here’s what the models look like (contrived and simplified) : pie\_lover.rb class Pi…

---

## [Rinominare file con ruby](https://www.ruby-forum.com/t/rinominare-file-con-ruby/245922)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 3, 2013, 11:36am UTC](https://www.ruby-forum.com/t/rinominare-file-con-ruby/245922 "2013-08-03T11:36:38Z")

</div>

Salve a tutti, ho un programmino molto semplice che sto cercando di realizzare con ruby, questo programmino altro non fa che prendere degli input dall’utente, memorizzarli, prendere il contenuto di un altro file, memo…

---

## [\[ruby-trunk - Feature #5550\]\[Open\] Hash#depth, Hash#flat\_length for recursive hashes](https://www.ruby-forum.com/t/ruby-trunk-feature-5550-open-hash-depth-hash-flat-length-for-recursive-hashes/213457)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 20, 2012, 1:01pm UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-5550-open-hash-depth-hash-flat-length-for-recursive-hashes/213457 "2012-11-20T13:01:13Z")

</div>

Issue #5550 has been reported by Tsuyoshi Sawada. Feature #5550: Hash#depth, Hash#flat\_length for recursive hashes Author: Tsuyoshi Sawada Status: Open Priority: Normal Assignee: Category: Target version: I oft…

---

## [wxRuby & RubyScript2exe](https://www.ruby-forum.com/t/wxruby-rubyscript2exe/133112)

<div class="topic-metadata">

**Author:** [@Matthew\_Webb](https://www.ruby-forum.com/u/Matthew_Webb)\
**Replies:** 4\
**Last updated:** [March 28, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/wxruby-rubyscript2exe/133112 "2008-03-28T15:53:25Z")

</div>

I’ve got wxruby (1.9.5) & rubyscript2exe (0.5.3) installed & I’m using Windows Vista. I’m trying to use rubyscript2exe to turn one of the wxruby sample programs into an .exe. The sample is in the controls folder & i…

---

## [Migration, BigInts, and string lengths](https://www.ruby-forum.com/t/migration-bigints-and-string-lengths/59190)

<div class="topic-metadata">

**Author:** [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Replies:** 4\
**Last updated:** [May 8, 2006, 9:58am UTC](https://www.ruby-forum.com/t/migration-bigints-and-string-lengths/59190 "2006-05-08T09:58:52Z")

</div>

Howdy Y’all, I was thrilled to recently discover migrations, as that framework addresses a common problem in an elegant way. I have, however, gotten tripped up a bit as I’ve worked with them. The first problem I enco…

---

## [Invalid pc in LineNumberTable in class file com/mysql/jdbc/MysqlIO](https://www.ruby-forum.com/t/invalid-pc-in-linenumbertable-in-class-file-com-mysql-jdbc-mysqlio/206028)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 23, 2011, 2:13pm UTC](https://www.ruby-forum.com/t/invalid-pc-in-linenumbertable-in-class-file-com-mysql-jdbc-mysqlio/206028 "2011-04-23T14:13:38Z")

</div>

Hi, I am trying to configure Ruby project to use JRuby 1.6.1, MySQL, Ruby 1.9.2-p180 using jdk1.6.0\_22. After configuration, when I am trying to access the application I face following error. RuntimeError (The drive…

---

## [Is the session hash available to tests or the rails console?](https://www.ruby-forum.com/t/is-the-session-hash-available-to-tests-or-the-rails-console/123440)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/is-the-session-hash-available-to-tests-or-the-rails-console/123440 "2007-12-17T20:05:12Z")

</div>

My guess is that the answer is no because the session hash is available only if you’re storing a cookie, and you can’t store a cookie if you’re using the rails console or using the built-in testing functionality. Can …

---

## [Inherited\_resources e inherited\_views sono di default in rails3.1?](https://www.ruby-forum.com/t/inherited-resources-e-inherited-views-sono-di-default-in-rails3-1/211606)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [September 9, 2011, 2:27pm UTC](https://www.ruby-forum.com/t/inherited-resources-e-inherited-views-sono-di-default-in-rails3-1/211606 "2011-09-09T14:27:02Z")

</div>

Come da oggetto.

---

## [Rails, background threads, ActiveRecord](https://www.ruby-forum.com/t/rails-background-threads-activerecord/108673)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 6\
**Last updated:** [July 9, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/rails-background-threads-activerecord/108673 "2007-07-09T16:45:28Z")

</div>

Let’s start out without ActiveRecord, just to make the case. So, I have a calculation that will take a while to run in my Rails app. One doesn’t really want to just hold a HTTP connection open until it’s done, for a v…

---

## [Simple blog too complex: what does this code do?](https://www.ruby-forum.com/t/simple-blog-too-complex-what-does-this-code-do/88108)

<div class="topic-metadata">

**Author:** [@modhelius](https://www.ruby-forum.com/u/modhelius)\
**Replies:** 6\
**Last updated:** [March 8, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/simple-blog-too-complex-what-does-this-code-do/88108 "2007-03-08T17:36:27Z")

</div>

I have based http://smpl.se on the “simple blog” included in Radiant 0.6 RC1. There is one piece of code in the “Normal” layout that I don’t quite understand: \<r:if\_url matches=“^/articles/\\d{4}/\\d{2}/\\d{2}/.+”\>\<r:unl…

---

## [Experience with ferret on Dreamhost?](https://www.ruby-forum.com/t/experience-with-ferret-on-dreamhost/65153)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 6\
**Last updated:** [October 26, 2006, 10:00am UTC](https://www.ruby-forum.com/t/experience-with-ferret-on-dreamhost/65153 "2006-10-26T10:00:26Z")

</div>

Does anybody have experience with running ferret on dreamhost ? My app is running ok until I install the acts\_as\_ferret plugin, at which point I get “Rails application failed to start properly” errors. I’ve used scrip…

---

## [Functor Opinion](https://www.ruby-forum.com/t/functor-opinion/83853)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 6\
**Last updated:** [March 19, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/functor-opinion/83853 "2006-03-19T16:54:04Z")

</div>

So here’s the Functor class: class Functor \< BasicObject def initialize(\*obj, &func) @obj = obj @func = func end def method\_missing(op, \*args) if @obj.empty? @func.call(op, \*args) else @func.call(op, \*(@obj + a…

---

## [User stores - how to setup in theory](https://www.ruby-forum.com/t/user-stores-how-to-setup-in-theory/233343)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [December 13, 2014, 4:29pm UTC](https://www.ruby-forum.com/t/user-stores-how-to-setup-in-theory/233343 "2014-12-13T16:29:50Z")

</div>

hi, i have an rails app and users can pay to ‘my’ paypal account via active merchant. now i want to expand and allow users to have their own store , but im not sure how to deal with the users - store payments, aka a…

---

## [In Rails 3.1 Model.count() ignores :include - no outer join in generated SQL](https://www.ruby-forum.com/t/in-rails-3-1-model-count-ignores-include-no-outer-join-in-generated-sql/211495)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [September 7, 2011, 12:29am UTC](https://www.ruby-forum.com/t/in-rails-3-1-model-count-ignores-include-no-outer-join-in-generated-sql/211495 "2011-09-07T00:29:01Z")

</div>

Hello! Just upgraded to Rails 3.1, ran my test and found this issue: class Trade \< ActiveRecord::Base has\_many :transaction\_trades … def Trade.do\_something stale\_trades = Trade.count(‘transaction\_trades.id’, :incl…

---

## [Are blocks objects? What messages can they handle?](https://www.ruby-forum.com/t/are-blocks-objects-what-messages-can-they-handle/209028)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [July 6, 2011, 2:22am UTC](https://www.ruby-forum.com/t/are-blocks-objects-what-messages-can-they-handle/209028 "2011-07-06T02:22:44Z")

</div>

Stop me if I’m making any unwarranted assumptions here: Blocks are basically just a special kind of object passed to a method in Ruby – aren’t they? That makes them objects – right? So . . . how does one send a messa…

---

## [GRC + USRP2 + WBFM: synchronization problem?](https://www.ruby-forum.com/t/grc-usrp2-wbfm-synchronization-problem/205068)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [April 3, 2011, 11:17pm UTC](https://www.ruby-forum.com/t/grc-usrp2-wbfm-synchronization-problem/205068 "2011-04-03T23:17:47Z")

</div>

Hello, I have created FM transmitter in GRC: http://szelest.org/question/TX\_RX.grc.png Unfortunately demodulated audio has poor quality and annoying distortions. I have spent a lot of time on it without positive effe…

---

## [\[Bug:trunk\] Dir.\[\] returns unmatched path](https://www.ruby-forum.com/t/bug-trunk-dir-returns-unmatched-path/184246)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [April 9, 2010, 1:28pm UTC](https://www.ruby-forum.com/t/bug-trunk-dir-returns-unmatched-path/184246 "2010-04-09T13:28:10Z")

</div>

e$B1sF#$G$9!#e(B mingw e$B$Ge(B sample/test.rb e$B$,\<:GT$7$^$9!#D4$Y$F$\_$k$H!"0J2\<$Ne(B Dir.\[\] e$B$Ne(B e$B8F$S=P$77k2L$,$\*$+$7$$$h$&$J5$$,$7$^$9!#e(B $ cat t.rb p Dir\[“C:/Ruby/ruby/{lib,sample,ext,test}/\*\*/\*.rb”\].s…

---

## [Implementing conditional read-only attributes of ActiveRecord objects](https://www.ruby-forum.com/t/implementing-conditional-read-only-attributes-of-activerecord-objects/161827)

<div class="topic-metadata">

**Author:** [@jens](https://www.ruby-forum.com/u/jens)\
**Replies:** 0\
**Last updated:** [March 2, 2009, 9:49pm UTC](https://www.ruby-forum.com/t/implementing-conditional-read-only-attributes-of-activerecord-objects/161827 "2009-03-02T21:49:04Z")

</div>

Hello, my goal is to implement the option of specifying a condition in attr\_protected, attr\_readonly and possibly other attribute methods in ActiveRecord objects. Rationale (example): class User \< AR:Base User shou…

---

## [OutOfMemoryError](https://www.ruby-forum.com/t/outofmemoryerror/137123)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [May 9, 2008, 10:15pm UTC](https://www.ruby-forum.com/t/outofmemoryerror/137123 "2008-05-09T22:15:22Z")

</div>

I’m having an OutOfMemory problem. We’re running a rails 2.0.1 app on jruby 1.1.1 with MSSQL 2005 via ar-jdbc 0.7.2. The server is a linux machine running WebSphere 6.1, and goldspike 1.6.1 is the glue between rails a…

---

## [Testing for Form Submission?](https://www.ruby-forum.com/t/testing-for-form-submission/133691)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 8\
**Last updated:** [April 4, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/testing-for-form-submission/133691 "2008-04-04T15:42:35Z")

</div>

Hi- I’m trying to create a file upload script using RoR but I am getting “You have a nil object when you didn’t expect it!” and I think this is caused by the fact that the no form has been submitted. Is that right? …

---

## [Just want a good Rich Text Editor for RoR](https://www.ruby-forum.com/t/just-want-a-good-rich-text-editor-for-ror/83937)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 8\
**Last updated:** [January 31, 2007, 1:29am UTC](https://www.ruby-forum.com/t/just-want-a-good-rich-text-editor-for-ror/83937 "2007-01-31T01:29:47Z")

</div>

I have tried: TinyMCE - would not let me ‘edit’ content from the DB FCKEditor - could not get it installed widgEditor - won’t let me create content, only edit it RTE - couldn’t get it to work Please if you have used…

---

## [Large file storing in postgres sucks?](https://www.ruby-forum.com/t/large-file-storing-in-postgres-sucks/59317)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [June 19, 2006, 4:11am UTC](https://www.ruby-forum.com/t/large-file-storing-in-postgres-sucks/59317 "2006-06-19T04:11:22Z")

</div>

Hi, I’m not sure if this is a postgres issue or not, but I’m using Postgres 8.1. I have (in my functional tests) the following code: upload = fixture\_file\_upload('/files/podcast.mp3', 'audio/mpeg') post :create, :pro…

---

## [Raisl 4.2 + Capybara + Paperclip = Race condition](https://www.ruby-forum.com/t/raisl-4-2-capybara-paperclip-race-condition/233723)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 11, 2015, 2:25pm UTC](https://www.ruby-forum.com/t/raisl-4-2-capybara-paperclip-race-condition/233723 "2015-01-11T14:25:13Z")

</div>

Hi! I’m upgrading a small Rails 4.1.x app to 4.2. All my test suite is passing, except one spec: scenario "showing a video called from a track" do visit video\_path(video, level\_id: level.id) sign\_in create(:confir…

---

## [Creating a Desktop application with Ruby, datagrid needed](https://www.ruby-forum.com/t/creating-a-desktop-application-with-ruby-datagrid-needed/236836)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 8, 2013, 1:05am UTC](https://www.ruby-forum.com/t/creating-a-desktop-application-with-ruby-datagrid-needed/236836 "2013-10-08T01:05:13Z")

</div>

hey guys, Im trying to build a desktop app that can run on Win, Mac and Linux. I would like to use some grids to present data as I did on ExtJS. Im new on Ruby, could you point where to look for some examples to star…

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

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