# Top

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

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

---

## [Explanation of # and @#](https://www.ruby-forum.com/t/explanation-of-and/223634)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [October 13, 2012, 1:57am UTC](https://www.ruby-forum.com/t/explanation-of-and/223634 "2012-10-13T01:57:44Z")

</div>

I am relatively new to Ruby. In the below code which redefines the attr\_accessor method i cannot understand the #{attr} and @#{attr}. I know # as comment and @ as required for a instance variable in Ruby. class Class …

---

## [Database design question](https://www.ruby-forum.com/t/database-design-question/217472)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 3, 2012, 4:41am UTC](https://www.ruby-forum.com/t/database-design-question/217472 "2012-03-03T04:41:07Z")

</div>

Hello, i’m developing a Rails3 application mixing together Gmap4rails and Devise to build a CMS that allows web developers to make maps application quickly. The CMS now is based on 2 models. Location, stores latitude,…

---

## [Find all association methods](https://www.ruby-forum.com/t/find-all-association-methods/215846)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 18, 2012, 10:31am UTC](https://www.ruby-forum.com/t/find-all-association-methods/215846 "2012-01-18T10:31:34Z")

</div>

Hi all, I want to get all association methods in one single model… Any default method is provided by Active Record ??? i am using ruby 1.9.3 and rails 3.1.3 Please reply me … Thanks, kingston.s

---

## [NameError problem](https://www.ruby-forum.com/t/nameerror-problem/212555)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 6, 2011, 10:47am UTC](https://www.ruby-forum.com/t/nameerror-problem/212555 "2011-10-06T10:47:31Z")

</div>

Hi. I’m sure it’s been asked before, but I can’t find the specific answer. Basically I am doing the following… 1.Created a ruby file Person.rb class Person def initialize(name,age) @name = name @age = age end def…

---

## [Faking constants with methods](https://www.ruby-forum.com/t/faking-constants-with-methods/199122)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 15, 2010, 11:22am UTC](https://www.ruby-forum.com/t/faking-constants-with-methods/199122 "2010-11-15T11:22:17Z")

</div>

Hi. I was wondering why this wouldn’t work: class Bar end class Foo def initialize # doesn’t call the method, but gives me the class instead. p Bar.inspect end def Bar "whatever" end end I know this is bad s…

---

## [Problem about "no action" error](https://www.ruby-forum.com/t/problem-about-no-action-error/195228)

<div class="topic-metadata">

**Author:** [@kun\_niu](https://www.ruby-forum.com/u/kun_niu)\
**Replies:** 4\
**Last updated:** [September 20, 2010, 1:35pm UTC](https://www.ruby-forum.com/t/problem-about-no-action-error/195228 "2010-09-20T13:35:14Z")

</div>

Hi all, I’m a ROR newbie. I’m writing ROR application on Ubuntu 10.04, ruby 1.8.7-p249, rails 2.3.5, mongrel 1.1.5. I wrote a controller called “admin”. I also defined a function in the corresponding controller calle…

---

## [Installation and versioning issues](https://www.ruby-forum.com/t/installation-and-versioning-issues/194929)

<div class="topic-metadata">

**Author:** [@nsputnik](https://www.ruby-forum.com/u/nsputnik)\
**Replies:** 4\
**Last updated:** [September 14, 2010, 2:51am UTC](https://www.ruby-forum.com/t/installation-and-versioning-issues/194929 "2010-09-14T02:51:30Z")

</div>

Ok, I’m new to Rails, and I was hoping to get some advice on how to get started. I’m coming from a .NET background, and from what I’ve seen of Rails, it looks perfect for a little web idea I had. So I got a book from …

---

## [Simple View Template Question](https://www.ruby-forum.com/t/simple-view-template-question/192425)

<div class="topic-metadata">

**Author:** [@esjd](https://www.ruby-forum.com/u/esjd)\
**Replies:** 4\
**Last updated:** [July 30, 2010, 5:16pm UTC](https://www.ruby-forum.com/t/simple-view-template-question/192425 "2010-07-30T17:16:39Z")

</div>

I’m trying to render a list of div’s with ids “item1”, “item2”, “item3”, etc… Trying to do it like this: \<% for i in removed\_email\_address@domain.invalid %\> .. blah blah .. \<% end %\> Pretty sure the syntax is wron…

---

## [How to use rdebug in ruby script](https://www.ruby-forum.com/t/how-to-use-rdebug-in-ruby-script/183307)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 4\
**Last updated:** [February 14, 2010, 4:49am UTC](https://www.ruby-forum.com/t/how-to-use-rdebug-in-ruby-script/183307 "2010-02-14T04:49:34Z")

</div>

Hi, how to use rdebug in a pure ruby script file.Please me thanks, Nike

---

## [Same partial different results](https://www.ruby-forum.com/t/same-partial-different-results/183052)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 4\
**Last updated:** [February 9, 2010, 9:39am UTC](https://www.ruby-forum.com/t/same-partial-different-results/183052 "2010-02-09T09:39:07Z")

</div>

Hey everyone. I’m using a partial 3 times in my applications.html.erb file. When the index is loaded everything works exactly like it should. (the partial contains a collection\_select with prompts). If i goto the show…

---

## [Happy new Year](https://www.ruby-forum.com/t/happy-new-year/180935)

<div class="topic-metadata">

**Author:** [@Ralf\_M](https://www.ruby-forum.com/u/Ralf_M)\
**Replies:** 4\
**Last updated:** [January 2, 2010, 8:31am UTC](https://www.ruby-forum.com/t/happy-new-year/180935 "2010-01-02T08:31:40Z")

</div>

to all of you from germany! And thanks to all the helpful people out there. with good wished… ralf

---

## [Threaded model for USRP2 source](https://www.ruby-forum.com/t/threaded-model-for-usrp2-source/172587)

<div class="topic-metadata">

**Author:** [@dgalindo](https://www.ruby-forum.com/u/dgalindo)\
**Replies:** 4\
**Last updated:** [July 24, 2009, 9:46pm UTC](https://www.ruby-forum.com/t/threaded-model-for-usrp2-source/172587 "2009-07-24T21:46:10Z")

</div>

In my messing around with a custom USRP2 source block (since I’m trying to get time-aligned samples out from multiple USRP2’s), I’ve run into what is probably the main issue with getting full-bandwidth samples (-d 4 …

---

## [sqlite3....Ugghhh\`](https://www.ruby-forum.com/t/sqlite3-ugghhh/170565)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 4\
**Last updated:** [June 19, 2009, 11:28pm UTC](https://www.ruby-forum.com/t/sqlite3-ugghhh/170565 "2009-06-19T23:28:30Z")

</div>

Hi all, I have been reading and trying all the google links/forums for 2 nights now on how to fix my issue with getting sqlite3 installed so I can use rails. Im running SLED 11. plese help! thank you! $ uname -a …

---

## [Quick question](https://www.ruby-forum.com/t/quick-question/163268)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 4\
**Last updated:** [March 18, 2009, 8:45pm UTC](https://www.ruby-forum.com/t/quick-question/163268 "2009-03-18T20:45:57Z")

</div>

rewrites happen before location {} blocks are considered (if the rewrite is on a global level) correct? so location /foo { this will never be computed } rewrite /foo/bar /somethingelse permanent; That’s at least w…

---

## [Please help forms](https://www.ruby-forum.com/t/please-help-forms/153281)

<div class="topic-metadata">

**Author:** [@smartee](https://www.ruby-forum.com/u/smartee)\
**Replies:** 4\
**Last updated:** [November 14, 2008, 11:53am UTC](https://www.ruby-forum.com/t/please-help-forms/153281 "2008-11-14T11:53:50Z")

</div>

Hi friends, please help me… my template is: view.rhtml My controller is… def create @firstname=params\[:empfirstname\] @lastname=params\[:emplastname\] @contacts = Contactbook.get :firstname =\> @firstname, …

---

## [Migration File](https://www.ruby-forum.com/t/migration-file/152974)

<div class="topic-metadata">

**Author:** [@bert\_a](https://www.ruby-forum.com/u/bert_a)\
**Replies:** 4\
**Last updated:** [November 11, 2008, 4:07am UTC](https://www.ruby-forum.com/t/migration-file/152974 "2008-11-11T04:07:13Z")

</div>

All of the books I have show the migration file naming convention is 001, 002, etc When I ran script/generate model, the migration file was named: 20081110174511\_create\_users.rb Why does it have this complex number i…

---

## [About user domain](https://www.ruby-forum.com/t/about-user-domain/152751)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 4\
**Last updated:** [November 10, 2008, 11:54am UTC](https://www.ruby-forum.com/t/about-user-domain/152751 "2008-11-10T11:54:30Z")

</div>

I have an application which has the common content sharing and customized content for the registered users,the registered user use his control panel to make his customized part for the app.When anyone browse this regi…

---

## [Not able to set TX freq from c++ (branch trondeau/dbs)](https://www.ruby-forum.com/t/not-able-to-set-tx-freq-from-c-branch-trondeau-dbs/147835)

<div class="topic-metadata">

**Author:** [@Stefan\_BrSSS\_ns](https://www.ruby-forum.com/u/Stefan_BrSSS_ns)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 2:26pm UTC](https://www.ruby-forum.com/t/not-able-to-set-tx-freq-from-c-branch-trondeau-dbs/147835 "2008-09-16T14:26:53Z")

</div>

Hi, I tried setting TX frequency using the c++ db branch. Setting the RX frequency works fine, setting the TX frequency using the python code works as well. The problem, as far as I could pin it down, is the missing…

---

## [About rails hosting](https://www.ruby-forum.com/t/about-rails-hosting/145518)

<div class="topic-metadata">

**Author:** [@mostafa\_badawi](https://www.ruby-forum.com/u/mostafa_badawi)\
**Replies:** 4\
**Last updated:** [August 11, 2008, 8:00pm UTC](https://www.ruby-forum.com/t/about-rails-hosting/145518 "2008-08-11T20:00:14Z")

</div>

Hi all, Does any one knows a site supporting free ror hosting?

---

## [BIG memory problem](https://www.ruby-forum.com/t/big-memory-problem/145364)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [August 8, 2008, 5:52pm UTC](https://www.ruby-forum.com/t/big-memory-problem/145364 "2008-08-08T17:52:00Z")

</div>

Hi all, I’m having a really odd memory problem with a small ruby program I’ve written. It basically takes in lines from input files (which represent router flows), deduplicates them (based on elements of the line) and …

---

## [Where to begin](https://www.ruby-forum.com/t/where-to-begin/145241)

<div class="topic-metadata">

**Author:** [@rhubbell](https://www.ruby-forum.com/u/rhubbell)\
**Replies:** 4\
**Last updated:** [August 8, 2008, 3:20am UTC](https://www.ruby-forum.com/t/where-to-begin/145241 "2008-08-08T03:20:04Z")

</div>

Hello all, What would be the cheapest way to set up a rx for ULF, like Schumann – 5Hz to 50Hz (and above)? I searched through the archives and don’t see any mention of vlf or ulf. (not entirely true as there is a di…

---

## [Curling REST controllers behind restful\_authentication](https://www.ruby-forum.com/t/curling-rest-controllers-behind-restful-authentication/142807)

<div class="topic-metadata">

**Author:** [@thejackal](https://www.ruby-forum.com/u/thejackal)\
**Replies:** 4\
**Last updated:** [July 11, 2008, 11:56pm UTC](https://www.ruby-forum.com/t/curling-rest-controllers-behind-restful-authentication/142807 "2008-07-11T23:56:18Z")

</div>

Hello, I am trying to access a REST controller from a Native C# Windows Mobile client and I am having some problems since I am using the restful\_authentication plug in. I decided to test the availability of the resou…

---

## [Render partial](https://www.ruby-forum.com/t/render-partial/137741)

<div class="topic-metadata">

**Author:** [@claus](https://www.ruby-forum.com/u/claus)\
**Replies:** 4\
**Last updated:** [May 16, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/render-partial/137741 "2008-05-16T20:38:42Z")

</div>

hallo! momentan steht meine seite so, dass ich gewisse dinge mit link\_to\_remote auf bedarf nachlade. was mach ich jetzt, wenn javascript deaktiviert ist? kann ich das irgend wie mit render partial lÃ¶sen? kann ich mi…

---

## [Possible regular expression](https://www.ruby-forum.com/t/possible-regular-expression/136747)

<div class="topic-metadata">

**Author:** [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Replies:** 4\
**Last updated:** [May 6, 2008, 6:33am UTC](https://www.ruby-forum.com/t/possible-regular-expression/136747 "2008-05-06T06:33:35Z")

</div>

Ruby’s regular expression engine appears to act incorrectly when given a non-greedy match-range of the form {m,n}? Take this example: “Age: 21” =~ /Age.{0,60}: (\[\\w\]+)/ This returns 0, as expected and $1 is set to “2…

---

## [Filtering find by values in associated models?](https://www.ruby-forum.com/t/filtering-find-by-values-in-associated-models/134263)

<div class="topic-metadata">

**Author:** [@Isak\_H](https://www.ruby-forum.com/u/Isak_H)\
**Replies:** 4\
**Last updated:** [April 11, 2008, 9:22am UTC](https://www.ruby-forum.com/t/filtering-find-by-values-in-associated-models/134263 "2008-04-11T09:22:39Z")

</div>

Given class Customer belongs\_to :invoice\_address, :class\_name =\> “Address”, … belongs\_to :delivery\_address, :class\_name =\> “Address”, … belongs\_to :contact, :class\_name =\> “Employee”, … end How would you go about f…

---

## [Probably common n00b question: Default id](https://www.ruby-forum.com/t/probably-common-n00b-question-default-id/131196)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 4\
**Last updated:** [March 6, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/probably-common-n00b-question-default-id/131196 "2008-03-06T22:55:20Z")

</div>

Hi, I’m new to Rails but I develop in PHP somtimes. I figured that the best way to learn Rails is to create a simple CMS. While I understand the basics of ruby and rails, one issue has caught me: how can I set a defau…

---

## [Aliasing, and another regex question](https://www.ruby-forum.com/t/aliasing-and-another-regex-question/130370)

<div class="topic-metadata">

**Author:** [@nefigah](https://www.ruby-forum.com/u/nefigah)\
**Replies:** 4\
**Last updated:** [February 27, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/aliasing-and-another-regex-question/130370 "2008-02-27T20:21:46Z")

</div>

Is there a preferred way to alias inconveniently long things like Oniguruma::ORegexp? Is it possible to have one regex that matches all lines that have word “foo”, but only if word “bar” doesn’t appear anywhere on the…

---

## [Syntax of session's updated\_at field?](https://www.ruby-forum.com/t/syntax-of-sessions-updated-at-field/196594)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 4\
**Last updated:** [February 14, 2008, 5:08am UTC](https://www.ruby-forum.com/t/syntax-of-sessions-updated-at-field/196594 "2008-02-14T05:08:32Z")

</div>

What’s the syntax to acquire the updated\_at value of a session stored in a db? session.updated\_at doesn’t work. can’t find any docs on this. – gw

---

## [Lining up delimiter separated text](https://www.ruby-forum.com/t/lining-up-delimiter-separated-text/127375)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [January 28, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/lining-up-delimiter-separated-text/127375 "2008-01-28T19:21:45Z")

</div>

BEFORE: fname ;; lname ;; age ;; sex ;; homer ;; simpson ;; 33 ;; male maggie;; simpson ;; 03 ;; female bart;;simpson;;10;;male AFTER: fname ;; lname ;; age ;; sex homer ;; simpson ;; 33 ;; male ma…

---

## [From "int cfunc(char \*data,int \*num) " how can I get the value of 'num' in ruby/dl?](https://www.ruby-forum.com/t/from-int-cfunc-char-data-int-num-how-can-i-get-the-value-of-num-in-ruby-dl/126418)

<div class="topic-metadata">

**Author:** [@bbmerong](https://www.ruby-forum.com/u/bbmerong)\
**Replies:** 4\
**Last updated:** [January 18, 2008, 6:09am UTC](https://www.ruby-forum.com/t/from-int-cfunc-char-data-int-num-how-can-i-get-the-value-of-num-in-ruby-dl/126418 "2008-01-18T06:09:16Z")

</div>

I have a question about “ruby/dl”. I define the function in “ruby/dl” like the belows require ‘dl’ LIB=DL.dlopen(‘libfunc.dll’) cfunc=LIB\[‘cfunc’,‘ISi’\] # int cfunc(char \*data,int \*num) After typing in irb, I typed…

---

## [New replica encodings and encoding aliases](https://www.ruby-forum.com/t/new-replica-encodings-and-encoding-aliases/125901)

<div class="topic-metadata">

**Author:** [@NARUSES\_Yui](https://www.ruby-forum.com/u/NARUSES_Yui)\
**Replies:** 4\
**Last updated:** [January 16, 2008, 1:48pm UTC](https://www.ruby-forum.com/t/new-replica-encodings-and-encoding-aliases/125901 "2008-01-16T13:48:48Z")

</div>

e$B@.@%$G$9!#e(B e$B\<j85$N4D6-$rD/$a$D$D!"?’!9$He(B replica e$B$de(B alias e$B$r@Dj$7$F$$^$7$?!#8=:\_;Xe(B e$BDj2DG=$J%(%s%3!\<%G%#%s%0$O0J2\<$N$H$\*$j$G$9!#e(BISO 8859 e$B%7%j!\<%:$O$H$j$"$(e(B e$B$:$=$l$C$\]$$$N$Ne(B re…

---

## [Resource routing methods -- what am I missing?](https://www.ruby-forum.com/t/resource-routing-methods-what-am-i-missing/121935)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 4\
**Last updated:** [December 4, 2007, 7:46pm UTC](https://www.ruby-forum.com/t/resource-routing-methods-what-am-i-missing/121935 "2007-12-04T19:46:03Z")

</div>

Alright, I’ve been doing map.resources routing for a while now, so whatever I’m missing must be something stupid and obvious… Anyone care to help me out? – routes.rb: … map.resources :algorithms, :collection =\> { :s…

---

## [Count By Group SQL Syntax](https://www.ruby-forum.com/t/count-by-group-sql-syntax/117558)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 4\
**Last updated:** [October 18, 2007, 9:53am UTC](https://www.ruby-forum.com/t/count-by-group-sql-syntax/117558 "2007-10-18T09:53:48Z")

</div>

Dear all, I’m trying to figure out how many rows I have for each group in the following query: @trails = Trail.find(:all, :select =\> "country", :group =\> "country") How can I…

---

## [Navigational Menus](https://www.ruby-forum.com/t/navigational-menus/88414)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 4\
**Last updated:** [March 11, 2007, 7:14pm UTC](https://www.ruby-forum.com/t/navigational-menus/88414 "2007-03-11T19:14:35Z")

</div>

Hi, this is my 2nd and last naive question for the day. Based on the observation that Rails addresses so many issues and handles them so well, I was a little surprised that it seems that Rails doesn’t appear to have …

---

## [Legacy fieldnames in model](https://www.ruby-forum.com/t/legacy-fieldnames-in-model/87084)

<div class="topic-metadata">

**Author:** [@shauna](https://www.ruby-forum.com/u/shauna)\
**Replies:** 4\
**Last updated:** [February 28, 2007, 12:51pm UTC](https://www.ruby-forum.com/t/legacy-fieldnames-in-model/87084 "2007-02-28T12:51:01Z")

</div>

If I were creating a Rails app from scratch I would use Rails’s naming conventions for fieldnames (such as first\_name). However, I am doing a prototype for a legacy app that has fieldnames like FirstName and for other…

---

## [(wacky?) protected behavior](https://www.ruby-forum.com/t/wacky-protected-behavior/81109)

<div class="topic-metadata">

**Author:** [@dawillis](https://www.ruby-forum.com/u/dawillis)\
**Replies:** 4\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/wacky-protected-behavior/81109 "2007-01-06T19:30:25Z")

</div>

class Foo def store(o) o.dave=1 end end class SubFoo \< Foo def initialize @dave=2 end def store super(self) end protected attr\_accessor :dave end sf = SubFoo.new sf.store p sf The above code executes an…

---

## [\[ANN\] BackgrounDRb 0.2.0 Release. Complete Rewrite](https://www.ruby-forum.com/t/ann-backgroundrb-0-2-0-release-complete-rewrite/74461)

<div class="topic-metadata">

**Author:** [@ezmobius\_mob](https://www.ruby-forum.com/u/ezmobius_mob)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 10:55am UTC](https://www.ruby-forum.com/t/ann-backgroundrb-0-2-0-release-complete-rewrite/74461 "2006-11-07T10:55:47Z")

</div>

Hello Folks- I am really happy to announce the release of BackgrounDRb 0.2.0 . This is a complete rewrite and re-architecture of this codebase. I want to thank skaar for all of his hard work. I put out a call for hel…

---

## [How to design a system to centralize data? -- using ruby](https://www.ruby-forum.com/t/how-to-design-a-system-to-centralize-data-using-ruby/70137)

<div class="topic-metadata">

**Author:** [@anne001](https://www.ruby-forum.com/u/anne001)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/how-to-design-a-system-to-centralize-data-using-ruby/70137 "2006-09-27T15:22:54Z")

</div>

Hi I work in a psychology lab which used to test subjects one on one. A subject would be tested on 1 to 20 tests each generating a summary value or text data file. Now in addition, we are getting thousands of respons…

---

## [Why is XML-RPC client prog not running?](https://www.ruby-forum.com/t/why-is-xml-rpc-client-prog-not-running/67256)

<div class="topic-metadata">

**Author:** [@pankajkumar144](https://www.ruby-forum.com/u/pankajkumar144)\
**Replies:** 4\
**Last updated:** [September 21, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/why-is-xml-rpc-client-prog-not-running/67256 "2006-09-21T12:37:23Z")

</div>

Hi!all when i run ruby client program(which simply adds& subtracts two numbers by making XML-RPC call to ruby server program stored in cgi-bin directory of apache server), it’s giving following error /usr/local/lib/r…

---

## [Swiss Hosts for Ruby on Rails](https://www.ruby-forum.com/t/swiss-hosts-for-ruby-on-rails/65767)

<div class="topic-metadata">

**Author:** [@islepilot](https://www.ruby-forum.com/u/islepilot)\
**Replies:** 4\
**Last updated:** [August 22, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/swiss-hosts-for-ruby-on-rails/65767 "2006-08-22T17:08:45Z")

</div>

I have a customer in Switzerland, who would prefer a host also in Switzerland. Unfortunately, I cannot find anyone who offers Ruby on Rails. German and Amercian hosts are easy to find, but not in Switzerland. Does any…

---

## [\[ANN\] Family Connection 1.1.2](https://www.ruby-forum.com/t/ann-family-connection-1-1-2/94689)

<div class="topic-metadata">

**Author:** [@Duane\_J](https://www.ruby-forum.com/u/Duane_J)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/ann-family-connection-1-1-2/94689 "2006-08-15T14:20:48Z")

</div>

== What is Family Connection? == Family Connection is an easy-to-setup online hub for your family that includes a Family News section with Photos, and an Address Book. For more information, visit http://familyconnect.…

---

## [Ruby script / console and models](https://www.ruby-forum.com/t/ruby-script-console-and-models/64801)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/ruby-script-console-and-models/64801 "2006-08-15T14:19:55Z")

</div>

Is it possible to access models when your in the console ? It seems like that is not possible and I need to create the classes within the console. Am I doing something wrong ? Stuart

---

## [Resubmitting legacy RCR 161](https://www.ruby-forum.com/t/resubmitting-legacy-rcr-161/101556)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 4\
**Last updated:** [August 7, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/resubmitting-legacy-rcr-161/101556 "2006-08-07T15:39:32Z")

</div>

Some time back, RCR 161 was submitted to add a \[\]= method to the Matrix class defined in “matrix.rb”. Apparently, this was imported from an older database and needs to be resubmitted. Can “anyone” (for example, me) do…

---

## [Weird table pluralization problem](https://www.ruby-forum.com/t/weird-table-pluralization-problem/99272)

<div class="topic-metadata">

**Author:** [@schmurfy](https://www.ruby-forum.com/u/schmurfy)\
**Replies:** 4\
**Last updated:** [July 21, 2006, 2:52pm UTC](https://www.ruby-forum.com/t/weird-table-pluralization-problem/99272 "2006-07-21T14:52:15Z")

</div>

When I created a new project and a “equipment” model for an unknown reason to me rails tried to query the table “equipment” and not “equipments”, does someone know why it did that ? So I added set\_table\_name “equipme…

---

## [Finding methods of instance itself](https://www.ruby-forum.com/t/finding-methods-of-instance-itself/98943)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 4\
**Last updated:** [July 19, 2006, 10:14am UTC](https://www.ruby-forum.com/t/finding-methods-of-instance-itself/98943 "2006-07-19T10:14:26Z")

</div>

I use IRB to explore. Very often I type a.methods.sort, to see what an object can do. The problem is, you’re hit with 100 methods from Object (or the superclass). I’ve experimented with: a.methods - a.class.supercl…

---

## [Funky routing](https://www.ruby-forum.com/t/funky-routing/96004)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 8:14am UTC](https://www.ruby-forum.com/t/funky-routing/96004 "2006-06-22T08:14:56Z")

</div>

map.connect ‘:controller/:action/:id’, :requirements =\> { :id =\> /^(.html)/ } The requirement is turning all of my routes into /foo?id=54354 instead of /foo/54354 Why?

---

## [RE: multilingual rails](https://www.ruby-forum.com/t/re-multilingual-rails/50484)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 4\
**Last updated:** [May 11, 2006, 9:54pm UTC](https://www.ruby-forum.com/t/re-multilingual-rails/50484 "2006-05-11T21:54:02Z")

</div>

I’ve been reading all the tutorials and blog entries I can find on this subject but one idea I haven’t seen floated yet is to do multilingual rails using what Rails is reallly quite good at database interaction. I’ve …

---

## [ERB question](https://www.ruby-forum.com/t/erb-question/82667)

<div class="topic-metadata">

**Author:** [@Robert\_DSLa\_Gesse](https://www.ruby-forum.com/u/Robert_DSLa_Gesse)\
**Replies:** 4\
**Last updated:** [March 16, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/erb-question/82667 "2006-03-16T18:21:52Z")

</div>

Can anyone tell me what the difference is in these two statements? Yes, I’m a newbie! \<%=h device.send(column.name) %\> \<%= device.send(column.name) %\> Specifically, what is the \<%=h supposed to do? The “h” doesn’t …

---

## [How can I set default page?](https://www.ruby-forum.com/t/how-can-i-set-default-page/49674)

<div class="topic-metadata">

**Author:** [@farocco](https://www.ruby-forum.com/u/farocco)\
**Replies:** 4\
**Last updated:** [December 7, 2005, 3:33pm UTC](https://www.ruby-forum.com/t/how-can-i-set-default-page/49674 "2005-12-07T15:33:22Z")

</div>

Hello, I get to my app by: http://web:8082/receipts/receipt I would like the same page to come up if I type: http://web:8082/receipts How can I do this? Thanks Frank

---

## [The evils of 0.each](https://www.ruby-forum.com/t/the-evils-of-0-each/48568)

<div class="topic-metadata">

**Author:** [@michelle](https://www.ruby-forum.com/u/michelle)\
**Replies:** 4\
**Last updated:** [November 22, 2005, 9:51am UTC](https://www.ruby-forum.com/t/the-evils-of-0-each/48568 "2005-11-22T09:51:18Z")

</div>

Why doesn’t 0 (Fixnum) support .each ? 1 does, so does 2, 20, 200, and so on. Why not 0? Why doesn’t 0.each simply do something 0 times? NYARGH!

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

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