# Top

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

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

---

## [ROR return JSON with 406 Not Acceptable error](https://www.ruby-forum.com/t/ror-return-json-with-406-not-acceptable-error/214693)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 9, 2011, 4:33pm UTC](https://www.ruby-forum.com/t/ror-return-json-with-406-not-acceptable-error/214693 "2011-12-09T16:33:55Z")

</div>

When we return JSON output using ‘render :json =\>@profiles’, the output will return the required results with a 406 error. How can avoid that 406 Not Acceptable error ? Function def import #json= params\[:data\] @deta…

---

## [Client closed prematurely connection while reading client request line](https://www.ruby-forum.com/t/client-closed-prematurely-connection-while-reading-client-request-line/213136)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [October 25, 2011, 12:34am UTC](https://www.ruby-forum.com/t/client-closed-prematurely-connection-while-reading-client-request-line/213136 "2011-10-25T00:34:04Z")

</div>

Very basic configuration, strictly for serving static files. I’ve got the error\_log setting configured to “info” to get more information as to what’s happening with connections, etc. While monitoring the error log an…

---

## [ActiveRecord abstract\_class and model inheritance](https://www.ruby-forum.com/t/activerecord-abstract-class-and-model-inheritance/177533)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 1\
**Last updated:** [October 20, 2009, 9:14pm UTC](https://www.ruby-forum.com/t/activerecord-abstract-class-and-model-inheritance/177533 "2009-10-20T21:14:45Z")

</div>

Hi everybody, I’m having problems on a testcase that I’m working on. I hope that I can explain the problem properly and that some of you can help me out becouse I’m realy stuck on this one. Ok, I have a Page model th…

---

## [Form removing leading zeros for a string](https://www.ruby-forum.com/t/form-removing-leading-zeros-for-a-string/117583)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 1\
**Last updated:** [October 18, 2007, 11:31am UTC](https://www.ruby-forum.com/t/form-removing-leading-zeros-for-a-string/117583 "2007-10-18T11:31:35Z")

</div>

Hi, I have a drop down select see below which populates from the below, select(:record, :visually\_similar\_to, Sample.find(:all).collect {|p| p.sample\_ref, p.id \] }) sample\_ref is varchar field so the values that popu…

---

## [Indexing problems 10.9/10.10](https://www.ruby-forum.com/t/indexing-problems-10-9-10-10/71703)

<div class="topic-metadata">

**Author:** [@blewis](https://www.ruby-forum.com/u/blewis)\
**Replies:** 1\
**Last updated:** [October 11, 2006, 5:25am UTC](https://www.ruby-forum.com/t/indexing-problems-10-9-10-10/71703 "2006-10-11T05:25:36Z")

</div>

I’ve been having trouble with indexing a large amount of documents (2.4M). Essentially, I have one process that is following the tutorial dumping documents to an index stored on the file system. If I open the index …

---

## [Confusion over ERB delimiters in Rails form partial](https://www.ruby-forum.com/t/confusion-over-erb-delimiters-in-rails-form-partial/244538)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 28, 2016, 6:18pm UTC](https://www.ruby-forum.com/t/confusion-over-erb-delimiters-in-rails-form-partial/244538 "2016-04-28T18:18:19Z")

</div>

“Agile Web D. with Rails 5”, p.76 lists a form partial which begins: \<%= form\_for(product) do |f| %\> \<% if product.errors.any? %\> \<%= pluralize(product.errors.count, “error”) %\> prohibited this product from bei…

---

## [Ability for users to insert images into text area](https://www.ruby-forum.com/t/ability-for-users-to-insert-images-into-text-area/240707)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 29, 2014, 3:36am UTC](https://www.ruby-forum.com/t/ability-for-users-to-insert-images-into-text-area/240707 "2014-04-29T03:36:02Z")

</div>

So like many other beginners in Rails I’m following along to Michael Hartl’s tutorial. I’m nearing the end, and I’m thinking I would like to implement the ability for users (in the social network) to upload pics alon…

---

## [Stripped down JRuby.jar?](https://www.ruby-forum.com/t/stripped-down-jruby-jar/239893)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 18, 2014, 7:32pm UTC](https://www.ruby-forum.com/t/stripped-down-jruby-jar/239893 "2014-03-18T19:32:17Z")

</div>

Hi, we were looking into using the UnmarshallStream class from the Jruby.jar within out java web application and realized that the jar contains some third party library which are getting in conflicts with out own depe…

---

## [Ruby + erlang + database: qualcuno ha esperienze?](https://www.ruby-forum.com/t/ruby-erlang-database-qualcuno-ha-esperienze/238964)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 5, 2014, 7:55pm UTC](https://www.ruby-forum.com/t/ruby-erlang-database-qualcuno-ha-esperienze/238964 "2014-02-05T19:55:23Z")

</div>

Ciao a tutti, sono interessato alla creazione di simulazioni multi-agente in concorrenza. Un esempio puo essere quello dei social games sto guardando le presentazioni di questa company: Wooga | SlideShare (Social Gam…

---

## [RubyArray to List\<T\>?](https://www.ruby-forum.com/t/rubyarray-to-list-t/189554)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [June 3, 2010, 10:10pm UTC](https://www.ruby-forum.com/t/rubyarray-to-list-t/189554 "2010-06-03T22:10:50Z")

</div>

Hello, I have a block of code which returns me a RubyArray back into C# code. While I can get access to the strongly typed objects inside using reflection, I was wondering if there was any way to get the data back as…

---

## [Undefined Method Refresh Token in AuthenticatedSystem](https://www.ruby-forum.com/t/undefined-method-refresh-token-in-authenticatedsystem/180024)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 2\
**Last updated:** [December 11, 2009, 11:28pm UTC](https://www.ruby-forum.com/t/undefined-method-refresh-token-in-authenticatedsystem/180024 "2009-12-11T23:28:41Z")

</div>

On my site, I have a series of protected tabs and a series of public tabs. Depending on the level of authentication, the tabs are viewable to specific groups. I’ve encountered an old issue and I feel it’s time to co…

---

## [Calling Java from JRuby problem](https://www.ruby-forum.com/t/calling-java-from-jruby-problem/151764)

<div class="topic-metadata">

**Author:** [@fla](https://www.ruby-forum.com/u/fla)\
**Replies:** 2\
**Last updated:** [November 4, 2009, 10:30pm UTC](https://www.ruby-forum.com/t/calling-java-from-jruby-problem/151764 "2009-11-04T22:30:26Z")

</div>

Hello, I was playing to load my own Java code in JRuby, but my little example does not work and I do not understand why. public class Test02 { public void output() { System.out.print("From Java"); } } To creat…

---

## [Serving a PDF document](https://www.ruby-forum.com/t/serving-a-pdf-document/150502)

<div class="topic-metadata">

**Author:** [@sijomo](https://www.ruby-forum.com/u/sijomo)\
**Replies:** 2\
**Last updated:** [October 9, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/serving-a-pdf-document/150502 "2008-10-09T13:46:47Z")

</div>

Hi all, Been banging my head against this for a little while so figured I see if anyone here could light the way. Our site receives input from fillable pdfs as XML (XFDF to be precise) and processes the information.…

---

## [Ajax with Radius Tag in Frontend](https://www.ruby-forum.com/t/ajax-with-radius-tag-in-frontend/149220)

<div class="topic-metadata">

**Author:** [@pascal\_n](https://www.ruby-forum.com/u/pascal_n)\
**Replies:** 2\
**Last updated:** [September 23, 2008, 1:36pm UTC](https://www.ruby-forum.com/t/ajax-with-radius-tag-in-frontend/149220 "2008-09-23T13:36:14Z")

</div>

Hi I started with Radiant a few days ago and want to use Ajax in the fronted. I would like to do it as radius tag so that I can use functionality in layouts and snippets. Everywhere I searched for possible solution I…

---

## [Problems with oniguruma lookahead](https://www.ruby-forum.com/t/problems-with-oniguruma-lookahead/148169)

<div class="topic-metadata">

**Author:** [@xiongchiamiov](https://www.ruby-forum.com/u/xiongchiamiov)\
**Replies:** 2\
**Last updated:** [September 10, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/problems-with-oniguruma-lookahead/148169 "2008-09-10T17:59:46Z")

</div>

Ruby 1.8.6 with Oniguruama installed and working (everywhere else, this seems to be my problem). Let me preface this by saying that I am new to Ruby (and kinda jumped in, rather than learning it properly), and regexes…

---

## [In the callback why I must use self](https://www.ruby-forum.com/t/in-the-callback-why-i-must-use-self/139059)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 2\
**Last updated:** [May 30, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/in-the-callback-why-i-must-use-self/139059 "2008-05-30T16:22:16Z")

</div>

class User \< ActiveRecord::Base def before\_save self.name1 = fname + ’ ’ + lname name2 = fname + ’ ’ + lname end end In the callback I am using self for name1 and NOT using self for name2. When a record is saved i…

---

## [Problems using Gettext 1.90.0 update\_pofiles](https://www.ruby-forum.com/t/problems-using-gettext-1-90-0-update-pofiles/135986)

<div class="topic-metadata">

**Author:** [@vaughanjackson](https://www.ruby-forum.com/u/vaughanjackson)\
**Replies:** 2\
**Last updated:** [May 1, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/problems-using-gettext-1-90-0-update-pofiles/135986 "2008-05-01T19:57:05Z")

</div>

Hi, I’m a newbie to Ruby and Rails. I am following Sascha E.'s tutorial on Gettext at Peak Obsession. This tutorial describes a step in which update\_pofiles is used to generate the .pot and .po files from .rb and .rh…

---

## [Handle a special foramt error when importing csv](https://www.ruby-forum.com/t/handle-a-special-foramt-error-when-importing-csv/122583)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 2\
**Last updated:** [December 9, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/handle-a-special-foramt-error-when-importing-csv/122583 "2007-12-09T23:46:52Z")

</div>

hello, I have to import lots of csv files, and sometimes, there’s one with the .csv that is not quite good formatted, and Ruby send a: CSV::IllegalFormatError in DadeController#import\_file\_data\_ajax CSV::IllegalForma…

---

## [Help - Hash.to\_params](https://www.ruby-forum.com/t/help-hash-to-params/84951)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/help-hash-to-params/84951 "2007-02-08T22:27:03Z")

</div>

This is my current implementation for Hash.to\_params If you have spare time, please help me optimize this. Thanks. class Hash def to\_params(parent = ‘’) ret = ‘’ self.keys.each do |key| if self\[key\].is\_a? Hash if…

---

## [Routing issue on match '/:locale'](https://www.ruby-forum.com/t/routing-issue-on-match-locale/224478)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 14, 2012, 12:11pm UTC](https://www.ruby-forum.com/t/routing-issue-on-match-locale/224478 "2012-11-14T12:11:23Z")

</div>

I have set match ‘/:locale’ =\> “welcome#home”, :as =\> :root but it doesn’t cover the default case, when user enter the domain url wo locale, http://www.myapp.com Is there any way to default it to the app default loc…

---

## [Efficient way of using multple Database](https://www.ruby-forum.com/t/efficient-way-of-using-multple-database/222468)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 7, 2012, 10:25am UTC](https://www.ruby-forum.com/t/efficient-way-of-using-multple-database/222468 "2012-11-07T10:25:17Z")

</div>

Is there a efficient way of using multiple databases in a Rails application. I saw DB Charmer but, it did not work with 3.2.8 and even in Rails 3.2.3 it gave problems.

---

## [Nginx-1.3.3](https://www.ruby-forum.com/t/nginx-1-3-3/221356)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 10, 2012, 6:35pm UTC](https://www.ruby-forum.com/t/nginx-1-3-3/221356 "2012-07-10T18:35:19Z")

</div>

Changes with nginx 1.3.3 10 Jul 2012 \*) Feature: entity tags support and the "etag" directive. \*) Bugfix: trailing dot in a source value was not ignored if the “map” directiv…

---

## [Macruby versus MRI 1.9](https://www.ruby-forum.com/t/macruby-versus-mri-1-9/213070)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [October 24, 2011, 12:24am UTC](https://www.ruby-forum.com/t/macruby-versus-mri-1-9/213070 "2011-10-24T00:24:36Z")

</div>

I was wondering what the differences between these two releases are. I was looking over the code and it does seem that macruby is sort of a fork of the MRI 1.9 release. Is this correct? Regards, Carter.

---

## [Converting traversal fn into Enumeration](https://www.ruby-forum.com/t/converting-traversal-fn-into-enumeration/200956)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 27, 2010, 7:10pm UTC](https://www.ruby-forum.com/t/converting-traversal-fn-into-enumeration/200956 "2010-12-27T19:10:36Z")

</div>

I’ve not quite wrapped my head around Enumerations, but I suspect I’m just being dense. Assume the following small code fragment: TNode = Struct.new(:left, :right, :value) class TNode def traverse(&block) left.trave…

---

## [\[Ruby 1.9-Bug#4121\]\[Open\] test getpty nonexistentで止まることがある](https://www.ruby-forum.com/t/ruby-1-9-bug-4121-open-test-getpty-nonexistent/200147)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 22, 2010, 8:55am UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4121-open-test-getpty-nonexistent/200147 "2010-12-22T08:55:42Z")

</div>

Bug #4121: test\_getpty\_nonexistentで止まることがある http://redmine.ruby-lang.org/issues/show/4121 起票者: Kouhei Y. ステータス: Open, 優先度: Normal ruby -v: ruby 1.9.3dev (2010-12-06 trunk 30091) \[x86\_64-linux\] CentOS 5.5 で、test\_pty.…

---

## [EEPROM Burning for WBX\_NG](https://www.ruby-forum.com/t/eeprom-burning-for-wbx-ng/200001)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 3, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/eeprom-burning-for-wbx-ng/200001 "2010-12-03T18:23:55Z")

</div>

I have done complete new installation of Ubuntu 9.04 Jaunty and installed Binary packege of GNURADIO(3.2.2). I have checked under usrpm folder usrp\_dbid.py file. Following are the lines in the file Machine generat…

---

## [SOT MySQL index question](https://www.ruby-forum.com/t/sot-mysql-index-question/198554)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 6\
**Last updated:** [November 8, 2010, 4:41pm UTC](https://www.ruby-forum.com/t/sot-mysql-index-question/198554 "2010-11-08T16:41:52Z")

</div>

How should I index the terms table for maximum speed? It doesn’t have to be Rails migration doable. E.g. a primary key of (user\_id, article\_id, fnv) is okay. fnv is a 63 bit Fowler-Noll-Vo hash. def self.neighbor…

---

## [CMS and REST - best practices](https://www.ruby-forum.com/t/cms-and-rest-best-practices/167727)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [May 13, 2009, 9:45am UTC](https://www.ruby-forum.com/t/cms-and-rest-best-practices/167727 "2009-05-13T09:45:12Z")

</div>

OK I need a bit of direction for this. I want to build an app where I have a CMS side that edits everything (which is all private), then a public side which just views is all. My dilemma is how to set this up. What is…

---

## [Getting list of drives using ruby on rails](https://www.ruby-forum.com/t/getting-list-of-drives-using-ruby-on-rails/166260)

<div class="topic-metadata">

**Author:** [@murwath](https://www.ruby-forum.com/u/murwath)\
**Replies:** 6\
**Last updated:** [April 24, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/getting-list-of-drives-using-ruby-on-rails/166260 "2009-04-24T21:39:40Z")

</div>

Hi All, I had been assigned work of ruby on rails from two days . Using ruby on rails how do we get the list of drives present in a system ex : c:\\ , d:\\ etc If anyone know this pls send me the code. Thanks & Regard…

---

## [Creating an object from a pp string?](https://www.ruby-forum.com/t/creating-an-object-from-a-pp-string/158853)

<div class="topic-metadata">

**Author:** [@yannimac](https://www.ruby-forum.com/u/yannimac)\
**Replies:** 6\
**Last updated:** [January 28, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/creating-an-object-from-a-pp-string/158853 "2009-01-28T21:37:37Z")

</div>

When I use pp on an object in rails, it prints out a nice string representation of the object. I am trying to pass objects from one server to another and I am wondering if I can just pass this string and create an ob…

---

## [REST and multiple resources in a view?](https://www.ruby-forum.com/t/rest-and-multiple-resources-in-a-view/145194)

<div class="topic-metadata">

**Author:** [@billis](https://www.ruby-forum.com/u/billis)\
**Replies:** 6\
**Last updated:** [August 10, 2008, 10:18pm UTC](https://www.ruby-forum.com/t/rest-and-multiple-resources-in-a-view/145194 "2008-08-10T22:18:04Z")

</div>

hello all, I’m trying to get my feet wet with a small webapp but it’s getting frustrating to put together all the pieces of the REST/CRUD/restful controllers/composite views (composite meaning with more than 1 resour…

---

## [Best way to code a bunch of unit tests?](https://www.ruby-forum.com/t/best-way-to-code-a-bunch-of-unit-tests/142653)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 6\
**Last updated:** [July 19, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/best-way-to-code-a-bunch-of-unit-tests/142653 "2008-07-19T22:40:31Z")

</div>

Hi All, I’ve got a single unit test working on a two-variable Portfolio model. The model has transformations, pattern-matching etc. to clean up user sloppiness and ensure data quality. To make sure the transformatio…

---

## [Regexp Matching Not Blank And Not A Specific Word?](https://www.ruby-forum.com/t/regexp-matching-not-blank-and-not-a-specific-word/123062)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 6\
**Last updated:** [December 14, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/regexp-matching-not-blank-and-not-a-specific-word/123062 "2007-12-14T14:05:14Z")

</div>

Hi, Please could somebody show me how to write a regular expression that matches when the input is not blank and it’s not a specific word, e.g. dog. For example, I would hope for these results: ‘’ =~ regexp # …

---

## [Rails and ySlow](https://www.ruby-forum.com/t/rails-and-yslow/115401)

<div class="topic-metadata">

**Author:** [@eddiewould](https://www.ruby-forum.com/u/eddiewould)\
**Replies:** 6\
**Last updated:** [September 26, 2007, 7:34am UTC](https://www.ruby-forum.com/t/rails-and-yslow/115401 "2007-09-26T07:34:56Z")

</div>

If anyone has followed Steve Soulder’s tips on optimizing web performance (Yahoo chief performance guy), his most important rule of thumb could be deadly to your rails app. My first blog post: http://www.dominicson.c…

---

## [Where is my Class?](https://www.ruby-forum.com/t/where-is-my-class/88770)

<div class="topic-metadata">

**Author:** [@sur](https://www.ruby-forum.com/u/sur)\
**Replies:** 6\
**Last updated:** [March 14, 2007, 10:45am UTC](https://www.ruby-forum.com/t/where-is-my-class/88770 "2007-03-14T10:45:04Z")

</div>

Hi all, There isn’t any way to have a class name starting with lowercase letter. I was trying it as class a end SyntaxError: compile error class/module name must be CONSTANT so then i tried a = Class.new #Class:0…

---

## [Deployment options with Merb or Camping](https://www.ruby-forum.com/t/deployment-options-with-merb-or-camping/85000)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 6\
**Last updated:** [February 9, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/deployment-options-with-merb-or-camping/85000 "2007-02-09T16:04:45Z")

</div>

Hi all, Sorry if this is off topic, I’ll be happy to post elsewhere if it’s inappropriate. (Pointer please) I have a light weight web app that I would like to get going and I think that rails is way overkill and wil…

---

## [Champ type et =?iso-8859-15?q?red=E9finition\_objet?=](https://www.ruby-forum.com/t/champ-type-et-iso-8859-15-q-red-e9finition-objet/82261)

<div class="topic-metadata">

**Author:** [@juba](https://www.ruby-forum.com/u/juba)\
**Replies:** 6\
**Last updated:** [January 18, 2007, 6:04pm UTC](https://www.ruby-forum.com/t/champ-type-et-iso-8859-15-q-red-e9finition-objet/82261 "2007-01-18T18:04:00Z")

</div>

Bonjour, Je viens de constater quelquechose d’assez suprennant. J’ai un champ de ma table en base qui porte le nom type. Lorsque j’appelle cette mÃ©thode sur mon modÃ¨le, j’ai le warning suivant : script/../config/..…

---

## [Login generator ALWAYS says login unseccesfull](https://www.ruby-forum.com/t/login-generator-always-says-login-unseccesfull/59645)

<div class="topic-metadata">

**Author:** [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Replies:** 6\
**Last updated:** [May 5, 2006, 12:42am UTC](https://www.ruby-forum.com/t/login-generator-always-says-login-unseccesfull/59645 "2006-05-05T00:42:43Z")

</div>

Hey I just ran this “ruby script/generate login loging\_in” here is my SQL: CREATE TABLE users ( id int(11) NOT NULL auto\_increment, user\_name varchar(80) default NULL, login varchar(120) NOT NULL default ‘’, last\_u…

---

## [Best way to start new ruby script?](https://www.ruby-forum.com/t/best-way-to-start-new-ruby-script/54576)

<div class="topic-metadata">

**Author:** [@marcan](https://www.ruby-forum.com/u/marcan)\
**Replies:** 6\
**Last updated:** [March 9, 2006, 12:21am UTC](https://www.ruby-forum.com/t/best-way-to-start-new-ruby-script/54576 "2006-03-09T00:21:04Z")

</div>

I have a long running process that I want to start from a Rails request. But, because it takes so long to execute, I want to start it in a separate process and then return. What is the best way to do that? Thanks /Ma…

---

## [The Duck Problem, or accessing one instance var from another](https://www.ruby-forum.com/t/the-duck-problem-or-accessing-one-instance-var-from-another/53071)

<div class="topic-metadata">

**Author:** [@mourner](https://www.ruby-forum.com/u/mourner)\
**Replies:** 6\
**Last updated:** [January 24, 2006, 8:10pm UTC](https://www.ruby-forum.com/t/the-duck-problem-or-accessing-one-instance-var-from-another/53071 "2006-01-24T20:10:10Z")

</div>

Hi! What is the best way to access class’ instance variables from a method of another instance variable of the same class that is a class itself? :slight\_smile: OK, Let’s say I have Duck class with an instance variab…

---

## [RE: newbie - Apache problem two apps](https://www.ruby-forum.com/t/re-newbie-apache-problem-two-apps/91785)

<div class="topic-metadata">

**Author:** [@HOGANBP](https://www.ruby-forum.com/u/HOGANBP)\
**Replies:** 6\
**Last updated:** [December 2, 2005, 3:59am UTC](https://www.ruby-forum.com/t/re-newbie-apache-problem-two-apps/91785 "2005-12-02T03:59:25Z")

</div>

Heheheheh that can be a HUGE pain in the butt and it depends largely on what OS you’re using. Most folks don’t do it that way… They prefer to use vhosts. http://wiki.rubyonrails.com/rails/pages/HowtoDeployMoreThanOne…

---

## ["Invalid argument - \*" when creating a new rails project](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530)

<div class="topic-metadata">

**Author:** [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Replies:** 6\
**Last updated:** [November 18, 2005, 11:43am UTC](https://www.ruby-forum.com/t/invalid-argument-when-creating-a-new-rails-project/48530 "2005-11-18T11:43:40Z")

</div>

I was having problems creating new projects, so I uninstalled ruby and rebooted. I then reinstalled ruby with gems from the Ruby-1.8.2-15 installer and then tried to create a new rails project with “rails depot”. No…

---

## [Wrong value for belongs\_to?](https://www.ruby-forum.com/t/wrong-value-for-belongs-to/177375)

<div class="topic-metadata">

**Author:** [@RussK](https://www.ruby-forum.com/u/RussK)\
**Replies:** 8\
**Last updated:** [October 23, 2009, 7:05pm UTC](https://www.ruby-forum.com/t/wrong-value-for-belongs-to/177375 "2009-10-23T19:05:09Z")

</div>

I have a class that represents a simple tree (but usually it’s flat). It appears that the belongs\_to relationship is returning the wrong ID. The class looks like: class AssetNode \< ActiveRecord::Base belongs\_to :ass…

---

## [Ruby List Roast - A Tentative Attempt](https://www.ruby-forum.com/t/ruby-list-roast-a-tentative-attempt/174061)

<div class="topic-metadata">

**Author:** [@hoplis](https://www.ruby-forum.com/u/hoplis)\
**Replies:** 8\
**Last updated:** [August 21, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/ruby-list-roast-a-tentative-attempt/174061 "2009-08-21T16:19:32Z")

</div>

Dear ruby list members Ruby is great…no, it’s awesome! And you people make it even better by answering all those questions that Ruby users sometimes have. But you’re one funny bunch fore sure. After reading this list …

---

## [Analysis\_filterbank question](https://www.ruby-forum.com/t/analysis-filterbank-question/156948)

<div class="topic-metadata">

**Author:** [@Sebastiaan\_H](https://www.ruby-forum.com/u/Sebastiaan_H)\
**Replies:** 8\
**Last updated:** [June 13, 2009, 2:27am UTC](https://www.ruby-forum.com/t/analysis-filterbank-question/156948 "2009-06-13T02:27:50Z")

</div>

Hi I’m trying to use blks2.analysis\_filterbank. I assume that I need to instantiate it like this: self.channeliser = blks2.analysis\_filterbank(num\_fft,taps) where num\_fft refers to the number of channels and taps ca…

---

## [Opod](https://www.ruby-forum.com/t/opod/152728)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 0\
**Last updated:** [November 6, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/opod/152728 "2008-11-06T22:00:14Z")

</div>

Also, there is Opod. I do not know if Nitro actually uses this anymore. It did at one point, but maybe it is was an optional thing. In any case, I need to turn this project over to someone else too, if anyone is inter…

---

## [Not running correct specs under autotest:](https://www.ruby-forum.com/t/not-running-correct-specs-under-autotest/139505)

<div class="topic-metadata">

**Author:** [@mattmcswain](https://www.ruby-forum.com/u/mattmcswain)\
**Replies:** 8\
**Last updated:** [June 4, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/not-running-correct-specs-under-autotest/139505 "2008-06-04T16:17:14Z")

</div>

I know this isn’t autotest-users but I’m not sure where else to bring this up: \[\[“app/controllers/contents\_controller.rb”, Wed Jun 04 14:11:03 +0100 2008\]\] \[\[“app/controllers/contents\_controller.rb”, Wed Jun 04 14:11…

---

## [\*\*\* How the "RASCAL" President Woodrow Wilson was blackmailed like PUPPET by the AGGRESIVE, MANIPUL](https://www.ruby-forum.com/t/how-the-rascal-president-woodrow-wilson-was-blackmailed-like-puppet-by-the-aggresive-manipul/139222)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [June 2, 2008, 12:35am UTC](https://www.ruby-forum.com/t/how-the-rascal-president-woodrow-wilson-was-blackmailed-like-puppet-by-the-aggresive-manipul/139222 "2008-06-02T00:35:27Z")

</div>

Google is Khazar owned and controlled company. The Khazars plan to electronify and accumulate the whole intellectual property on earth, esp US, Europe and Australia thru google and already have accumulated all the min…

---

## [Railsy Question about redefining ruby methods](https://www.ruby-forum.com/t/railsy-question-about-redefining-ruby-methods/138533)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 8\
**Last updated:** [May 27, 2008, 1:40pm UTC](https://www.ruby-forum.com/t/railsy-question-about-redefining-ruby-methods/138533 "2008-05-27T13:40:34Z")

</div>

Please this is a Ruby question, not, at least as the main focus, a rails one, as you’ll see if you read all the way through. Say, I’ve got a case in Rails where I want all my links to be prepended with something like …

---

## [Using local gems](https://www.ruby-forum.com/t/using-local-gems/116098)

<div class="topic-metadata">

**Author:** [@edhel](https://www.ruby-forum.com/u/edhel)\
**Replies:** 8\
**Last updated:** [October 2, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/using-local-gems/116098 "2007-10-02T12:39:42Z")

</div>

Hello, I have successfully installed some local gems on my rails host. I checked that through irb: irb(main):002:0\> require ‘rubygems’ =\> true irb(main):003:0\> require\_gem ‘mylocalgem’ =\> true irb(main):003:0\> a =…

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

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