# Top

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

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

---

## [IL Generator syntax proposal](https://www.ruby-forum.com/t/il-generator-syntax-proposal/49331)

<div class="topic-metadata">

**Author:** [@drjflam](https://www.ruby-forum.com/u/drjflam)\
**Replies:** 5\
**Last updated:** [December 4, 2005, 3:31am UTC](https://www.ruby-forum.com/t/il-generator-syntax-proposal/49331 "2005-12-04T03:31:34Z")

</div>

In my rewrite of my Ruby \<=\> CLR bridge, I’ve been thinking about pushing most of the logic into Ruby, and leaving as little as possible in Managed C++. I was just hacking around this morning in emacs thinking about …

---

## [Canonicalization of $uri with "/?.\*" content](https://www.ruby-forum.com/t/canonicalization-of-uri-with-content/241580)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 18, 2015, 10:28am UTC](https://www.ruby-forum.com/t/canonicalization-of-uri-with-content/241580 "2015-04-18T10:28:48Z")

</div>

The last security audit revealed the following: V:Wed Apr 15 20:58:19 2015 - 200 for GET: /?mod=node&nid=some\_thing&op=view V:Wed Apr 15 20:58:43 2015 - 200 for GET: /?Open V:Wed Apr 15 20:58:43 2015 - 200 for GET: /…

---

## [Configure restful web service in rails](https://www.ruby-forum.com/t/configure-restful-web-service-in-rails/240487)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [April 16, 2014, 4:08pm UTC](https://www.ruby-forum.com/t/configure-restful-web-service-in-rails/240487 "2014-04-16T16:08:05Z")

</div>

Hi, I am trying to create a Rest web service in my rails application. I need to configure urls for it as below. localhost:3000/book/book\_id/new/param1/param2/param3/param4/... localhost:3000/book/book\_id/next local…

---

## [Ruby equivalent of Template Toolkit (Perl)?](https://www.ruby-forum.com/t/ruby-equivalent-of-template-toolkit-perl/239113)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 13, 2014, 5:58pm UTC](https://www.ruby-forum.com/t/ruby-equivalent-of-template-toolkit-perl/239113 "2014-02-13T17:58:43Z")

</div>

I’ve been using Template Toolkit (Perl) for many years and need something similar in Ruby to process static html files. In Template Toolkit I have a config file and a go.sh one-liner (see below) with which I can recur…

---

## [Rails book](https://www.ruby-forum.com/t/rails-book/246465)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 25, 2013, 11:00am UTC](https://www.ruby-forum.com/t/rails-book/246465 "2013-10-25T11:00:36Z")

</div>

Hi there, i’m a new RoR developer and i need your feedback about this book : Is it good for learning Rails ? I mean, i already read Michael H. tutorial. Is it useful to me to buy this book ? Are there other good boo…

---

## [Can't log/print in header\_filter\_by\_lua](https://www.ruby-forum.com/t/cant-log-print-in-header-filter-by-lua/234948)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [May 21, 2013, 2:19am UTC](https://www.ruby-forum.com/t/cant-log-print-in-header-filter-by-lua/234948 "2013-05-21T02:19:03Z")

</div>

Hi all, I’ve been experimenting with rewriting ‘Set Cookie’ headers in a nginx-reverse-proxy effort. The Set-Cookie rewrite doesn’t seem to work yet, and more importantly, my log/print statements don’t print to erro…

---

## [Bug #7311 DRb test suite fails when hostname cannot be reached](https://www.ruby-forum.com/t/bug-7311-drb-test-suite-fails-when-hostname-cannot-be-reached/226700)

<div class="topic-metadata">

**Author:** [@Masatoshi\_SEKI](https://www.ruby-forum.com/u/Masatoshi_SEKI)\
**Replies:** 3\
**Last updated:** [February 20, 2013, 1:54am UTC](https://www.ruby-forum.com/t/bug-7311-drb-test-suite-fails-when-hostname-cannot-be-reached/226700 "2013-02-20T01:54:18Z")

</div>

$B31$H$$$$$^$9!#(B $B$A$g$C$H65$($F$/$@$5$$!#(B hostname$B$,@\_Dj$5$l$F$$$F$=$3$K\<+?H$+$i(BIP$B$,FO$+$J$$%1!\<%9$G(B dRuby$B$N%F%9%H$,\<:GT$9$k$H$N$3$H$G$9!#(B($B$?$V$s(B) $B;d$O!"$3$N\>u67$KBP1~$9$k$Y$-$+$I$&$+LB$C$F$$$…

---

## [\[ruby-trunk - Bug #7141\]\[Open\] ALT\_STACK\_SIZE is not enough](https://www.ruby-forum.com/t/ruby-trunk-bug-7141-open-alt-stack-size-is-not-enough/223627)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 15, 2012, 3:38pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7141-open-alt-stack-size-is-not-enough/223627 "2012-12-15T15:38:57Z")

</div>

Issue #7141 has been reported by authorNari (Narihiro N.). Bug #7141: ALT\_STACK\_SIZE is not enough Author: authorNari (Narihiro N.) Status: Open Priority: Normal Assignee: Category: core Target version: 2.0.0 r…

---

## [First post - need projects to practice](https://www.ruby-forum.com/t/first-post-need-projects-to-practice/220397)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 7, 2012, 10:59pm UTC](https://www.ruby-forum.com/t/first-post-need-projects-to-practice/220397 "2012-06-07T22:59:36Z")

</div>

Hello there! I have been learning Ruby since a few days and I feel I’m ready to get my hands dirty. I want to practice by writing a few, even if trivial, programs. So could anyone suggest a few programs or projects t…

---

## [How to use constellation plot in python](https://www.ruby-forum.com/t/how-to-use-constellation-plot-in-python/218214)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [March 24, 2012, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-use-constellation-plot-in-python/218214 "2012-03-24T13:44:47Z")

</div>

Hello All I was trying to implement in my python program a constellation plot. I found this function called const\_sink\_c() \[Hope its the right one, there is one called scope\_sink too\]. Can you please explain me how t…

---

## [Index to coordinates conversion, according the matrix shape](https://www.ruby-forum.com/t/index-to-coordinates-conversion-according-the-matrix-shape/206739)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 9, 2011, 9:50am UTC](https://www.ruby-forum.com/t/index-to-coordinates-conversion-according-the-matrix-shape/206739 "2011-05-09T09:50:59Z")

</div>

Hello, I would like to converte an index (of a flatten array) to a multi-dimensions coordinates (of the multi-dimensions version of the previous flatten array). Example: Considering the following 2 dimensions array …

---

## [No server response in https](https://www.ruby-forum.com/t/no-server-response-in-https/206519)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [May 5, 2011, 5:25pm UTC](https://www.ruby-forum.com/t/no-server-response-in-https/206519 "2011-05-05T17:25:59Z")

</div>

I’m running 0.8.53 on QNX Neutrino 6.5.0 with SSL on and the server doesn’t respond to the client. Instead it times out, as below. It does work properly with SSL off. Can you provide any suggestions? Thanks. 2011/05/0…

---

## [Problem with / location stanza](https://www.ruby-forum.com/t/problem-with-location-stanza/205712)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 15, 2011, 2:58am UTC](https://www.ruby-forum.com/t/problem-with-location-stanza/205712 "2011-04-15T02:58:22Z")

</div>

I’m trying to make it so that if I get a request to / on my host to any hostname that doesn’t start with ‘www’ it will check for a static page on the server, and if that doesn’t exist it goes back to my uwsgi process …

---

## [Overwrite java method with specify signature](https://www.ruby-forum.com/t/overwrite-java-method-with-specify-signature/199449)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 25, 2010, 9:05am UTC](https://www.ruby-forum.com/t/overwrite-java-method-with-specify-signature/199449 "2010-11-25T09:05:23Z")

</div>

Hi, my JRuby class looks something like: class DefaultBaseRenderer \< StyledLabel include TableCellRenderer include Serializable end The question is how to implement the methods with the following signatures i…

---

## [Building Custom jSon hashes](https://www.ruby-forum.com/t/building-custom-json-hashes/197460)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 14, 2010, 8:27pm UTC](https://www.ruby-forum.com/t/building-custom-json-hashes/197460 "2010-10-14T20:27:56Z")

</div>

Hi, I’m building a web service that will be accessed from a phone. So what I’m seeing so far is that building json responses seems to be quite limited (but I think I’m just missing something) Lets say I have users, a…

---

## [\#to\_set but no #to\_hash?](https://www.ruby-forum.com/t/to-set-but-no-to-hash/194749)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [September 14, 2010, 5:23pm UTC](https://www.ruby-forum.com/t/to-set-but-no-to-hash/194749 "2010-09-14T17:23:42Z")

</div>

Hi all. Noticed this: ss #Java::JavaUtil::HashMap:0x1d648e2 this map has a “to\_set” method ss.to\_set.class Set but what I was most hoping for would be a to\_hash method. Would this be a reasonable feature …

---

## [Does jason convert to hash?](https://www.ruby-forum.com/t/does-jason-convert-to-hash/193151)

<div class="topic-metadata">

**Author:** [@shortnose](https://www.ruby-forum.com/u/shortnose)\
**Replies:** 3\
**Last updated:** [August 12, 2010, 7:24am UTC](https://www.ruby-forum.com/t/does-jason-convert-to-hash/193151 "2010-08-12T07:24:50Z")

</div>

I am trying to work with the Etsy API. I make a HTTP request and get data back in json format. I call JSON.parse(table) and the parse method returns the data in something that appears to be a hash. Here is a simplifie…

---

## [Need help reading a yaml file on upload with form](https://www.ruby-forum.com/t/need-help-reading-a-yaml-file-on-upload-with-form/181492)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 3\
**Last updated:** [January 12, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/need-help-reading-a-yaml-file-on-upload-with-form/181492 "2010-01-12T21:30:06Z")

</div>

Here is the current basic information: new (views/file\_uploads/new.html.erb) \<% form\_for( @file\_upload, :html =\> { :multipart =\> true } ) do |f| %\> \<%= f.error\_messages -%\> \<%= f.label :upload, 'File' -%\> \<%…

---

## [Handling ruby types and CallSiteStorage in std library](https://www.ruby-forum.com/t/handling-ruby-types-and-callsitestorage-in-std-library/179538)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 3\
**Last updated:** [December 16, 2009, 5:01am UTC](https://www.ruby-forum.com/t/handling-ruby-types-and-callsitestorage-in-std-library/179538 "2009-12-16T05:01:21Z")

</div>

I’m working on adding code to the OpenSSL extension of the standard library and I need to understand the design for invoking and typing Ruby code. I read the ‘Modifying the sources’ github page and it mentions using …

---

## [Rubygems 1.3.5 thinks it's 1.3.1](https://www.ruby-forum.com/t/rubygems-1-3-5-thinks-its-1-3-1/175793)

<div class="topic-metadata">

**Author:** [@Arthaey\_Angosii](https://www.ruby-forum.com/u/Arthaey_Angosii)\
**Replies:** 3\
**Last updated:** [September 21, 2009, 10:37am UTC](https://www.ruby-forum.com/t/rubygems-1-3-5-thinks-its-1-3-1/175793 "2009-09-21T10:37:20Z")

</div>

I upgraded to Rails to 2.3.4, and now some things aren’t working in a freshly created Rails project. For example: $ script/plugin -l Rails requires RubyGems \>= 1.3.2 (you have 1.3.1). Please gem update --system and tr…

---

## [GNU Radio Packets](https://www.ruby-forum.com/t/gnu-radio-packets/163959)

<div class="topic-metadata">

**Author:** [@devin\_kelly](https://www.ruby-forum.com/u/devin_kelly)\
**Replies:** 3\
**Last updated:** [March 26, 2009, 9:29pm UTC](https://www.ruby-forum.com/t/gnu-radio-packets/163959 "2009-03-26T21:29:54Z")

</div>

Hello, I am trying to figure out how information is sent between a PC and the USRP. So far I can tell they are all customized packets, i.e. raw sockets are used, which is why you need to be root. But I’ve been havi…

---

## [PresentaciÃ³n y primera duda](https://www.ruby-forum.com/t/presentacia-n-y-primera-duda/162209)

<div class="topic-metadata">

**Author:** [@sebasstyle](https://www.ruby-forum.com/u/sebasstyle)\
**Replies:** 3\
**Last updated:** [March 7, 2009, 12:38am UTC](https://www.ruby-forum.com/t/presentacia-n-y-primera-duda/162209 "2009-03-07T00:38:32Z")

</div>

Hola! Soy Sebas y llego aquÃ­ por recomendaciÃ³n de Jose Galisteo, de Flowers. Estoy comenzando con esto de RoR y me he encontrado con un problema insalvable por el momento, os cuento: Estoy trabajando con Ubuntu 8.1…

---

## [Problem running an demo application](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080)

<div class="topic-metadata">

**Author:** [@Rajasekaramya](https://www.ruby-forum.com/u/Rajasekaramya)\
**Replies:** 3\
**Last updated:** [January 19, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/problem-running-an-demo-application/158080 "2009-01-19T19:51:41Z")

</div>

hi there, I am very new to ruby on rails and trying to run an demo application I created an application rails demo. i created a controller Say i started the server ruby/script server I used port http://localhost:3…

---

## [\[Bug #780\] Time#strftime $B$G!"%U%i%0(B 0 $B$,I}$H2r\<a$5$l$k(B](https://www.ruby-forum.com/t/bug-780-time-strftime-b-g-u-i-0-b-0-b-i-h2r-a-5-l-k-b/153991)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 3\
**Last updated:** [November 24, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/bug-780-time-strftime-b-g-u-i-0-b-0-b-i-h2r-a-5-l-k-b/153991 "2008-11-24T15:04:46Z")

</div>

Bug #780: Time#strftime e$B$G!"%U%i%0e(B 0 e$B$,I}$H2r\<a$5$l$ke(B http://redmine.ruby-lang.org/issues/show/780 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal $ ./ruby -e “p Time.mktime(19…

---

## [Segmentation fault in eval](https://www.ruby-forum.com/t/segmentation-fault-in-eval/150567)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-eval/150567 "2008-10-14T16:28:16Z")

</div>

e$B@\>;3OB9-$G$9!#e(B http://d.hatena.ne.jp/mamamoto/20081007/1223349255 e$B$N%9%/%j%W%H$r85$K$$$8$C$F$$$?$ie(Bs="n=$\*"e$B$GMn$A$^$7$?!#e(B e$B:G\>.$^$G$O9J$C$F$$$^$;$s$,!“$”$kDxEY9J$j$3$s$Ge(B e$B:F8=%9%/%j%W%H$O0J2\<$…

---

## [Simple IMAP client?](https://www.ruby-forum.com/t/simple-imap-client/147493)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 3\
**Last updated:** [September 3, 2008, 7:12pm UTC](https://www.ruby-forum.com/t/simple-imap-client/147493 "2008-09-03T19:12:17Z")

</div>

People, I am thinking about writing a very simple IMAP client in Ruby (mostly for access from mobile phones) - anyone done anything like this? Suggestions? Thanks, Phil. Philip R. GPO Box 3411 Sydney NSW 2001 Au…

---

## [Syntax Highlighting](https://www.ruby-forum.com/t/syntax-highlighting/143135)

<div class="topic-metadata">

**Author:** [@joshs](https://www.ruby-forum.com/u/joshs)\
**Replies:** 3\
**Last updated:** [July 15, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/syntax-highlighting/143135 "2008-07-15T16:22:20Z")

</div>

Is anyone using the syntax\_highlighting extension? http://github.com/marcoow/syntax\_highlighting/tree/master It seems to be doing the parsing, but when it renders in a page, it’s strictly as “code” html, so all the t…

---

## [Accessing a model from controller not working](https://www.ruby-forum.com/t/accessing-a-model-from-controller-not-working/142431)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 3\
**Last updated:** [July 8, 2008, 12:12am UTC](https://www.ruby-forum.com/t/accessing-a-model-from-controller-not-working/142431 "2008-07-08T00:12:59Z")

</div>

Hi could someone please put me right. I am not having any success at accessing my model from a controller.Please look at the code: Model: class Region \< ActiveRecord::Base def self.get\_region\_code(region) find\_by\_re…

---

## [Word Search Generator (#159, again)](https://www.ruby-forum.com/t/word-search-generator-159-again/134521)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 3\
**Last updated:** [April 16, 2008, 1:54am UTC](https://www.ruby-forum.com/t/word-search-generator-159-again/134521 "2008-04-16T01:54:05Z")

</div>

Okay, hopefully the third time with #159 is the charm. I decided to give myself a week before representing the Guardian of Middle-earth quiz, so instead we have something new. I’ve focused on the core problem and not …

---

## [Plugin](https://www.ruby-forum.com/t/plugin/121596)

<div class="topic-metadata">

**Author:** [@mako](https://www.ruby-forum.com/u/mako)\
**Replies:** 3\
**Last updated:** [December 1, 2007, 12:59am UTC](https://www.ruby-forum.com/t/plugin/121596 "2007-12-01T00:59:03Z")

</div>

hola a todos quisiera me pudieran decir que plugin de autenticacion me recomiendan ya que nesesito tres tipos de usuarios (usuario,empresa,admin). Gracias

---

## [XML parser; maybe ruby is too slow?](https://www.ruby-forum.com/t/xml-parser-maybe-ruby-is-too-slow/114681)

<div class="topic-metadata">

**Author:** [@nutsmuggler](https://www.ruby-forum.com/u/nutsmuggler)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/xml-parser-maybe-ruby-is-too-slow/114681 "2007-09-25T23:08:09Z")

</div>

Hello folks. I managed to write a SGML parser with the hpricot library. As I explained in a previous thread, I just need to compare source and traget tags of translation memory files from IBM Translation manager. The…

---

## [Help with system() call and pipe](https://www.ruby-forum.com/t/help-with-system-call-and-pipe/109154)

<div class="topic-metadata">

**Author:** [@DoanS\_Alex](https://www.ruby-forum.com/u/DoanS_Alex)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/help-with-system-call-and-pipe/109154 "2007-07-12T19:49:57Z")

</div>

I’m using system call and pipping the output to a log. Something funny happen when I have more then two escaped quotes and ‘\>\>’ in my call. Can someone shed some light on the issue: Case: command\_to\_execute = ““c:/pr…

---

## [Dealing With Rails Single Thread Design](https://www.ruby-forum.com/t/dealing-with-rails-single-thread-design/103523)

<div class="topic-metadata">

**Author:** [@someone1111](https://www.ruby-forum.com/u/someone1111)\
**Replies:** 3\
**Last updated:** [May 7, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/dealing-with-rails-single-thread-design/103523 "2007-05-07T16:30:17Z")

</div>

I hope Rails becomes mutli-threaded in a not-to-distant future release. That would relieve much of the criticism of Rails due to its single threadness. In reading Dave T.’ book, Agile Web Development with Rails, 2nd…

---

## [NameError - uninitialized constant](https://www.ruby-forum.com/t/nameerror-uninitialized-constant/93069)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 3\
**Last updated:** [April 27, 2007, 4:32am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant/93069 "2007-04-27T04:32:44Z")

</div>

I just deployed my application on MediaTemple. I get the following error and I am not sure what is wrong. Processing ApplicationController#editor (for 68.147.211.95 at 2007-04-26 18:38:40) \[GET\] Session ID: df1f7ec62…

---

## [Rake db:migrate doesn't work anymore](https://www.ruby-forum.com/t/rake-db-migrate-doesnt-work-anymore/81710)

<div class="topic-metadata">

**Author:** [@Kai](https://www.ruby-forum.com/u/Kai)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/rake-db-migrate-doesnt-work-anymore/81710 "2007-01-19T16:31:48Z")

</div>

Hi! Up to now, i had no problems with my migrations and rake (rake db:migrate). Today, i got a project from a svn repository, but i can’t do “rake db:migrate”: “rake aborted! No Rakefile found (looking for: rakefile…

---

## [Forms: handle foreign keys (AssociationTypeMismatch)](https://www.ruby-forum.com/t/forms-handle-foreign-keys-associationtypemismatch/100410)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [August 1, 2006, 11:30am UTC](https://www.ruby-forum.com/t/forms-handle-foreign-keys-associationtypemismatch/100410 "2006-08-01T11:30:33Z")

</div>

Hi all I tried and tried and tried, but I still fail in creating a form with proper validation and stuff for foreign keys… So I’d really like to get some help here. I’m creating a booking site for DJ’s, and for every…

---

## [My GD2 is not working](https://www.ruby-forum.com/t/my-gd2-is-not-working/58848)

<div class="topic-metadata">

**Author:** [@tomingy](https://www.ruby-forum.com/u/tomingy)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/my-gd2-is-not-working/58848 "2006-05-03T18:57:01Z")

</div>

I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: RuntimeError unknown symbol “gdImageSquareToCircle” RAILS\_ROOT: /home/virtual/site1/fst/var/www/html/im…

---

## ["Undefined method" problem in "Agile Web Development With Ra](https://www.ruby-forum.com/t/undefined-method-problem-in-agile-web-development-with-ra/54457)

<div class="topic-metadata">

**Author:** [@Emil\_Gustafsson](https://www.ruby-forum.com/u/Emil_Gustafsson)\
**Replies:** 3\
**Last updated:** [March 22, 2006, 5:39am UTC](https://www.ruby-forum.com/t/undefined-method-problem-in-agile-web-development-with-ra/54457 "2006-03-22T05:39:56Z")

</div>

Hi, I’m reading the “Agile Web D. With Rails” book. So long, everything has worked fine, but now I got this annoying error message that I just can’t understand. The error appears for me around page 87, chapter 8. No…

---

## [Nested class, require](https://www.ruby-forum.com/t/nested-class-require/50902)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 3:16am UTC](https://www.ruby-forum.com/t/nested-class-require/50902 "2005-12-23T03:16:29Z")

</div>

How does ruby view nested classes - that is, to define a class within another class? I know that you cannot define a class within a method (not sure why)? Also, is require the same thing as “copy and paste dynamically…

---

## [How much css do I need to know for becoming a Ruby on Rails Develoepr?](https://www.ruby-forum.com/t/how-much-css-do-i-need-to-know-for-becoming-a-ruby-on-rails-develoepr/236546)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 14, 2013, 6:04pm UTC](https://www.ruby-forum.com/t/how-much-css-do-i-need-to-know-for-becoming-a-ruby-on-rails-develoepr/236546 "2013-09-14T18:04:18Z")

</div>

I have a bachelor degree in Comp Sci. I know the basics of CSS. I can change fonts, backgrounds, colors, etc but I can not make complex layouts. I am planning to learn Ruby on Rails so I can apply for jobs as a Web A…

---

## [Build-gnuradio under Ubuntu 13.04](https://www.ruby-forum.com/t/build-gnuradio-under-ubuntu-13-04/228687)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 6\
**Last updated:** [May 8, 2013, 12:05am UTC](https://www.ruby-forum.com/t/build-gnuradio-under-ubuntu-13-04/228687 "2013-05-08T00:05:27Z")

</div>

Has anyone experienced any build failures in UHD on Ubuntu 13.04 using build-gnuradio? I haven’t upgraded my Ubuntu system yet, and I have had one report of a UHD build failure on Ubuntu 13.04 due to libboost1.49, bu…

---

## [ApplicationController needs a #delete method](https://www.ruby-forum.com/t/applicationcontroller-needs-a-delete-method/215264)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [December 29, 2011, 7:04pm UTC](https://www.ruby-forum.com/t/applicationcontroller-needs-a-delete-method/215264 "2011-12-29T19:04:55Z")

</div>

I’ve just finished a toy project that I call “righteously ubiquitous javascript”: https://github.com/rdpoor/righteous\_ujs and the experience has convinced me that Rails controllers need a #delete method that parallel…

---

## [App\_Controller and partial issues with has\_many through](https://www.ruby-forum.com/t/app-controller-and-partial-issues-with-has-many-through/186229)

<div class="topic-metadata">

**Author:** [@quangn](https://www.ruby-forum.com/u/quangn)\
**Replies:** 6\
**Last updated:** [April 3, 2010, 3:13pm UTC](https://www.ruby-forum.com/t/app-controller-and-partial-issues-with-has-many-through/186229 "2010-04-03T15:13:33Z")

</div>

I have a User model, a Post model, and an Interest model: User has\_many posts through interests User has\_many interests, dependent destroy Post has\_many users through interests has\_many interests, dependent destroy …

---

## [Rounding problem](https://www.ruby-forum.com/t/rounding-problem/186004)

<div class="topic-metadata">

**Author:** [@JanneKo](https://www.ruby-forum.com/u/JanneKo)\
**Replies:** 6\
**Last updated:** [March 30, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/rounding-problem/186004 "2010-03-30T18:05:23Z")

</div>

Hi, I have a strange problem with number rounding: If I try “a\_number.round(2)” in console - it works, but the same line thru passenger fails: “wrong number of arguments (1 for 0)”. Any ideas why? I’m running rails …

---

## [Eager Loading a Relationship That Has No PK/FK](https://www.ruby-forum.com/t/eager-loading-a-relationship-that-has-no-pk-fk/176962)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 6\
**Last updated:** [October 9, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/eager-loading-a-relationship-that-has-no-pk-fk/176962 "2009-10-09T20:00:52Z")

</div>

I’m attempting to wrestle an old DB into Rails. This relationship is giving me trouble: class Show \< AR::Base has\_many :segments end class Segment \< AR::Base belongs\_to :show has\_one :media #this has no PK/FK rel…

---

## [Having an integer matrix inside model](https://www.ruby-forum.com/t/having-an-integer-matrix-inside-model/168059)

<div class="topic-metadata">

**Author:** [@p-b](https://www.ruby-forum.com/u/p-b)\
**Replies:** 6\
**Last updated:** [May 16, 2009, 3:07pm UTC](https://www.ruby-forum.com/t/having-an-integer-matrix-inside-model/168059 "2009-05-16T15:07:27Z")

</div>

Hey, Is there any way I can have a model to store an N by N integer matrix? Something that would be able to keep record of rows and seats. n\[i\]\[j\] = 1 if the seat is empty n\[i\]\[j\] = 2 if the seat is reserved

---

## [Installing Ruby on Rails](https://www.ruby-forum.com/t/installing-ruby-on-rails/157275)

<div class="topic-metadata">

**Author:** [@crazy\_canuck](https://www.ruby-forum.com/u/crazy_canuck)\
**Replies:** 6\
**Last updated:** [January 9, 2009, 5:51pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/157275 "2009-01-09T17:51:16Z")

</div>

I am completely new to all of this. I was told by a potential employer if I learned Ruby on Rails and PostgreSQL I would have a job in 6-9 months. My dilemma is that I cant even seem to install it properly lol. Please…

---

## [Error with gems 1.2.0 on ubuntu hardy](https://www.ruby-forum.com/t/error-with-gems-1-2-0-on-ubuntu-hardy/150585)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 6\
**Last updated:** [October 10, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/error-with-gems-1-2-0-on-ubuntu-hardy/150585 "2008-10-10T21:13:50Z")

</div>

First I apologize my poor English. After to install the ruby 1.8.7 patch level 22 on ubuntu 8.04 hardy succefully.Then I tryed to install rubygems 1.2 in sequence and I received this error message: xyz@xyz: /usr/loc…

---

## [Getting a list of models, AND custom model directory](https://www.ruby-forum.com/t/getting-a-list-of-models-and-custom-model-directory/148339)

<div class="topic-metadata">

**Author:** [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Replies:** 6\
**Last updated:** [September 13, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-models-and-custom-model-directory/148339 "2008-09-13T18:56:10Z")

</div>

I’m building an a client/web application that will rely on custom, simple plugins that will be written as models with single table inheritance to a Widget class. Ideally somebody would just need to create a simple mo…

---

## [Suggestions for a parsing strategy?](https://www.ruby-forum.com/t/suggestions-for-a-parsing-strategy/143483)

<div class="topic-metadata">

**Author:** [@robb](https://www.ruby-forum.com/u/robb)\
**Replies:** 6\
**Last updated:** [July 19, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/suggestions-for-a-parsing-strategy/143483 "2008-07-19T14:05:48Z")

</div>

Hi all, I have input strings that can look like this: Common, Commerc(e, ial) I need to parse these into the three words that this represents: Common, Commerce, Commercial. I’m a little new to ruby, and hence wonder…

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

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