# Top

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

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

---

## [Weblog in RubyOnRails](https://www.ruby-forum.com/t/weblog-in-rubyonrails/125285)

<div class="topic-metadata">

**Author:** [@Gian\_marco\_G](https://www.ruby-forum.com/u/Gian_marco_G)\
**Replies:** 3\
**Last updated:** [January 10, 2008, 10:33pm UTC](https://www.ruby-forum.com/t/weblog-in-rubyonrails/125285 "2008-01-10T22:33:42Z")

</div>

Ciao a tutti, sto cercando un weblog engine opensource e scritto in RoR. Cercando su internet ho trovato questi: http://typosphere.org/ http://simplelog.net/ Altre idee?

---

## [Sitepoint Rails Book Free](https://www.ruby-forum.com/t/sitepoint-rails-book-free/116176)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 3\
**Last updated:** [October 3, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/sitepoint-rails-book-free/116176 "2007-10-03T20:00:09Z")

</div>

Sitepoint is offering its Rails book as a free pdf download now. If you’re beginning into Rails for the first time, this is an excellent book for you. Find it at this URL/URI:

---

## [Thoughts on loops and stacks](https://www.ruby-forum.com/t/thoughts-on-loops-and-stacks/114363)

<div class="topic-metadata">

**Author:** [@Todd\_ASJacobs](https://www.ruby-forum.com/u/Todd_ASJacobs)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 3:52pm UTC](https://www.ruby-forum.com/t/thoughts-on-loops-and-stacks/114363 "2007-09-12T15:52:36Z")

</div>

I was thinking about some of the design issues in my dice.rb script: http://www2.codegnome.org:59321/scripting/showscript.php?script=dice.rb and one of the major issues is queueing. I’d like to ensure that selecting m…

---

## [Re: Rails engine migration not loading Rails Engine?](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036)

<div class="topic-metadata">

**Author:** [@Ron\_Evans](https://www.ruby-forum.com/u/Ron_Evans)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 2:38am UTC](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036 "2007-08-02T02:38:42Z")

</div>

It was indeed a problem with the Savage Beast plugin’s use of GetText. Removing those bits got my migration running quickly… thanks again for the suggestion! On 8/1/07, removed\_email\_address@domain.invalid \<

---

## [SortHelper problem](https://www.ruby-forum.com/t/sorthelper-problem/110728)

<div class="topic-metadata">

**Author:** [@nanouk](https://www.ruby-forum.com/u/nanouk)\
**Replies:** 3\
**Last updated:** [July 31, 2007, 10:30am UTC](https://www.ruby-forum.com/t/sorthelper-problem/110728 "2007-07-31T10:30:23Z")

</div>

I have TableA with name, description, start time displayed on one page. TableB has name, comment, file path and is displayed on another page. I’m using the SortHelper2 helper to help me sort the columns of these table…

---

## [Observe\_field using :on =\> select not working](https://www.ruby-forum.com/t/observe-field-using-on-select-not-working/109953)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 3\
**Last updated:** [July 21, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/observe-field-using-on-select-not-working/109953 "2007-07-21T15:11:27Z")

</div>

Is there a known bug with observe\_field using the :on parameter? I want to observe a select list, and only update a child select list after someone has made a selection, so I want to use the onSelect event. However n…

---

## [Is there a name for this idiom?](https://www.ruby-forum.com/t/is-there-a-name-for-this-idiom/108777)

<div class="topic-metadata">

**Author:** [@Lyle\_J](https://www.ruby-forum.com/u/Lyle_J)\
**Replies:** 3\
**Last updated:** [July 6, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/is-there-a-name-for-this-idiom/108777 "2007-07-06T23:09:42Z")

</div>

When you want to move your program’s startup code into a block like so: if FILE == $0 # initialize and run program here end What’s that called? Is there a commonly used name for that “startup” block?

---

## [Videos from the 2007](https://www.ruby-forum.com/t/videos-from-the-2007/180503)

<div class="topic-metadata">

**Author:** [@kajism](https://www.ruby-forum.com/u/kajism)\
**Replies:** 3\
**Last updated:** [July 5, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/videos-from-the-2007/180503 "2007-07-05T16:23:28Z")

</div>

Hi guys, I am searching in vain for the videos from the railsconf 2007. Does anybody know if there are any plans to put it on the web? Thanks, Karel

---

## [Weird results i'm getting please explain](https://www.ruby-forum.com/t/weird-results-im-getting-please-explain/105787)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [June 3, 2007, 1:11am UTC](https://www.ruby-forum.com/t/weird-results-im-getting-please-explain/105787 "2007-06-03T01:11:55Z")

</div>

Hi, This is kind of weird thing, I cannot explain it, but I will show you my code - this would explain it better. I have a helper method: def month\_in\_words(month) logger.debug(month) Time.parse(month).strftime("%b…

---

## [Easy and reliable way to keep database views updated?](https://www.ruby-forum.com/t/easy-and-reliable-way-to-keep-database-views-updated/104297)

<div class="topic-metadata">

**Author:** [@joachimgross](https://www.ruby-forum.com/u/joachimgross)\
**Replies:** 3\
**Last updated:** [May 17, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/easy-and-reliable-way-to-keep-database-views-updated/104297 "2007-05-17T20:53:40Z")

</div>

I’m using a lot of database views to create various lists in my RoR applications and I’ve problems keeping them updated. The problem is, that some of my views are depending on some other views. So I have for example: …

---

## [How to avoid SQL query?](https://www.ruby-forum.com/t/how-to-avoid-sql-query/93217)

<div class="topic-metadata">

**Author:** [@Daniel\_Para](https://www.ruby-forum.com/u/Daniel_Para)\
**Replies:** 3\
**Last updated:** [April 30, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/how-to-avoid-sql-query/93217 "2007-04-30T20:39:22Z")

</div>

This is only example. I’ve got two tables users and posts. \[1\] select \* from users, posts where \[ posts conditions \] and users.id = posts.user\_id order by posts.title desc Post.find(:all, :conditions =\> \[…\], :orde…

---

## [How to implement facebook type wall](https://www.ruby-forum.com/t/how-to-implement-facebook-type-wall/91438)

<div class="topic-metadata">

**Author:** [@wtt](https://www.ruby-forum.com/u/wtt)\
**Replies:** 0\
**Last updated:** [April 9, 2007, 5:42am UTC](https://www.ruby-forum.com/t/how-to-implement-facebook-type-wall/91438 "2007-04-09T05:42:52Z")

</div>

I want to do this as a homework project for my course. However, I have no clue at this time, any suggestions/guidance will be highly valued… At this stage, I know how to set up MySQL database and Apache Server. And I…

---

## [Issues with pack/write on WinXP compared to Linux](https://www.ruby-forum.com/t/issues-with-pack-write-on-winxp-compared-to-linux/89920)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 10:32pm UTC](https://www.ruby-forum.com/t/issues-with-pack-write-on-winxp-compared-to-linux/89920 "2007-03-23T22:32:23Z")

</div>

I’m sure that this has to do with CR/LF on DOS/Windows filesystems, but I’m not sure how to fix: File.open(‘test’, ‘w’) do |file| file.write(\[10\].pack(‘n’)) #=\> 2 \[bytes\] end On Linux, the file comes out as having …

---

## [New Site and Rails 2.0 Question](https://www.ruby-forum.com/t/new-site-and-rails-2-0-question/88775)

<div class="topic-metadata">

**Author:** [@sombrero](https://www.ruby-forum.com/u/sombrero)\
**Replies:** 3\
**Last updated:** [March 14, 2007, 11:33am UTC](https://www.ruby-forum.com/t/new-site-and-rails-2-0-question/88775 "2007-03-14T11:33:54Z")

</div>

Hi guys, We just built a new site on Ruby R. 1.1.2 (we tried Rails 1.2 but we couldn’t seem to get to use the session-anyone has any experience with this)? Would love to hear what you guys think. The site is called w…

---

## [How to create Urls =\> Controller](https://www.ruby-forum.com/t/how-to-create-urls-controller/87902)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [March 6, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/how-to-create-urls-controller/87902 "2007-03-06T20:01:29Z")

</div>

Hello there, I’m doing something like “categories” page, I want to do the URLs like this. http://domain/category/ \[show everything in all categories\] http://domain/category/movies \[show only in movies category\] http…

---

## [Bug? installing gems](https://www.ruby-forum.com/t/bug-installing-gems/87085)

<div class="topic-metadata">

**Author:** [@magpie](https://www.ruby-forum.com/u/magpie)\
**Replies:** 3\
**Last updated:** [March 2, 2007, 3:13am UTC](https://www.ruby-forum.com/t/bug-installing-gems/87085 "2007-03-02T03:13:23Z")

</div>

On Windows, I downloaded ruby-1.8.5-p12-i386-mswin32.zip and unpacked it to C:\\ruby. Then I downloaded rubygems-0.9.2, cd’ed into it and typed “ruby setup.rb”. I got : C:\\rubygems-0.9.2\>ruby setup.rb ruby: no such f…

---

## [How to install the new engines plugin in edge rails?](https://www.ruby-forum.com/t/how-to-install-the-new-engines-plugin-in-edge-rails/82223)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 0\
**Last updated:** [January 18, 2007, 10:55am UTC](https://www.ruby-forum.com/t/how-to-install-the-new-engines-plugin-in-edge-rails/82223 "2007-01-18T10:55:44Z")

</div>

I am a newbie to engines, I will need some advices. I am developing a new applications with edge rails. I pretend to use datebocks engine, and I will try to install first the new engines plugin. Is this ok? I asm tr…

---

## [String performance](https://www.ruby-forum.com/t/string-performance/81552)

<div class="topic-metadata">

**Author:** [@simplydope](https://www.ruby-forum.com/u/simplydope)\
**Replies:** 3\
**Last updated:** [January 9, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/string-performance/81552 "2007-01-09T22:16:50Z")

</div>

Guys a quick performance question - Is either one of the following more efficient than the other? I’m guessing they’re in this order: ‘a’ + x + ‘b’ “a” + x + “b” “a#{x}b”

---

## [How to make "generic" YAML calls?](https://www.ruby-forum.com/t/how-to-make-generic-yaml-calls/77840)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 4, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/how-to-make-generic-yaml-calls/77840 "2006-12-04T21:21:02Z")

</div>

Hi, I have a Test.Yaml file like; This: Thing: Foo That: Thing: Bar My program works with this code; require ‘yaml’ LocalTree = YAML.load\_file(“test.yaml”) puts LocalTree\[“This”\]\[“Thing”\] puts LocalTree\[“That”\]…

---

## [Association Caching](https://www.ruby-forum.com/t/association-caching/78173)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 3\
**Last updated:** [December 4, 2006, 12:00am UTC](https://www.ruby-forum.com/t/association-caching/78173 "2006-12-04T00:00:53Z")

</div>

Hi, I have a collection of Vehicles which belongs\_to a number of entities such as Manufacturer, Transmission and Fuel. When rendering individual Vehicles in the collection, I access vehicle.manufacturer.name and vehi…

---

## [Duplicted Code (DRY)](https://www.ruby-forum.com/t/duplicted-code-dry/77129)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 3\
**Last updated:** [November 24, 2006, 3:52pm UTC](https://www.ruby-forum.com/t/duplicted-code-dry/77129 "2006-11-24T15:52:04Z")

</div>

Hi everyone I’ve a problem. I’d like to refactoring code. I generate two controllers with scaffold (student\_controller, customer\_controller). Actually, I have some duplicated code. How can I simplify the code of the …

---

## [Accessing :through table attributes](https://www.ruby-forum.com/t/accessing-through-table-attributes/73136)

<div class="topic-metadata">

**Author:** [@chadster](https://www.ruby-forum.com/u/chadster)\
**Replies:** 3\
**Last updated:** [October 23, 2006, 8:52am UTC](https://www.ruby-forum.com/t/accessing-through-table-attributes/73136 "2006-10-23T08:52:58Z")

</div>

If I have the following (abridged) setup: class User \< ActiveRecord::Base has\_many :groups, :through =\> :memberships end class Group \< ActiveRecord::Base has\_many :users, :through =\> :memberships end and my member…

---

## [\[newbie\] Symmetric relationships](https://www.ruby-forum.com/t/newbie-symmetric-relationships/71412)

<div class="topic-metadata">

**Author:** [@AnalogKid](https://www.ruby-forum.com/u/AnalogKid)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 6:04am UTC](https://www.ruby-forum.com/t/newbie-symmetric-relationships/71412 "2006-10-09T06:04:53Z")

</div>

This is my first shot at using Rails… How does one establish symmetric relationships? I’m building a web application where family relationships between members is useful to know. I’m not sure how to get the joins to…

---

## [Default value for attribute in model](https://www.ruby-forum.com/t/default-value-for-attribute-in-model/70849)

<div class="topic-metadata">

**Author:** [@Nicolas\_NoSSSS](https://www.ruby-forum.com/u/Nicolas_NoSSSS)\
**Replies:** 3\
**Last updated:** [October 3, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/default-value-for-attribute-in-model/70849 "2006-10-03T16:42:16Z")

</div>

Hi, Here is my little question : I’d like to have an attribute in my model class wich is always at true, except when I declare it at false. For the moment I have declared my accessor with attr\_accessor :allow\_valida…

---

## [Instanciating a class](https://www.ruby-forum.com/t/instanciating-a-class/69649)

<div class="topic-metadata">

**Author:** [@btreb](https://www.ruby-forum.com/u/btreb)\
**Replies:** 3\
**Last updated:** [September 22, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/instanciating-a-class/69649 "2006-09-22T18:22:10Z")

</div>

Hi i had a quick question. if i have a class inside a folder say controllers \>\> plugins \>\> test\_plugin\_conroller.rb, how can i get a reference to this class and call .new on it to create an instance of it. Iv tried d…

---

## [Rel=nofollow or akismet](https://www.ruby-forum.com/t/rel-nofollow-or-akismet/102031)

<div class="topic-metadata">

**Author:** [@Kulpreet\_S](https://www.ruby-forum.com/u/Kulpreet_S)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/rel-nofollow-or-akismet/102031 "2006-08-15T14:19:59Z")

</div>

Hi guys, My site ( http://shunya.in ) recently started receiving some spam and I had ignored the issue till it became a problem, and I guess it is becoming a problem now. I looked around on suggested ways to address…

---

## [Several problems on the big commit](https://www.ruby-forum.com/t/several-problems-on-the-big-commit/63074)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [June 13, 2006, 11:31am UTC](https://www.ruby-forum.com/t/several-problems-on-the-big-commit/63074 "2006-06-13T11:31:56Z")

</div>

e$B7o$NBg$-$J%3%%C%H$r$6$C$HD/$a$F$$?$N$G$9$,!"e(B % ./ruby -ve ’ def m(a, b=:b, \*c, d) p \[a,b,c,d\] end m(:x, :y) ’ ruby 1.9.0 (2006-06-11) \[i686-linux\] -e:2:in \`m’: wrong number of arguments (ArgumentError) fro…

---

## [Array#replace vs assignment](https://www.ruby-forum.com/t/array-replace-vs-assignment/62857)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 3\
**Last updated:** [June 8, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/array-replace-vs-assignment/62857 "2006-06-08T20:52:17Z")

</div>

Is there any difference between the following: a = \[‘a’,‘b’,‘c’,‘d’,‘e’\] z = \[‘x’,‘y’,‘z’\] a.replace(z) and a = \[‘a’,‘b’,‘c’,‘d’,‘e’\] z = \[‘x’,‘y’,‘z’\] a = z They seem to do the same thing. Thanks! Todd B.

---

## [Re: non-static way to get the filename?](https://www.ruby-forum.com/t/re-non-static-way-to-get-the-filename/60029)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 9:11am UTC](https://www.ruby-forum.com/t/re-non-static-way-to-get-the-filename/60029 "2006-05-10T09:11:36Z")

</div>

how i can not which i find too verbose for Ruby. By browsing the reference part of the PickAxe 2nd ed, i did not find any alternative to File.basename. Can somebody help me with this? I’m confused. You’re saying …

---

## [Metaprogramming is fun!](https://www.ruby-forum.com/t/metaprogramming-is-fun/58558)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 3\
**Last updated:** [April 23, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/metaprogramming-is-fun/58558 "2006-04-23T15:12:19Z")

</div>

I finally decided to dive in and give metaprogramming in Ruby a shot. I’m not sure that my example is exactly practical, but it seemed useful at the time. There’s a few areas I would like to hear others suggestions …

---

## [Newbie question : select distinct in model](https://www.ruby-forum.com/t/newbie-question-select-distinct-in-model/58185)

<div class="topic-metadata">

**Author:** [@zimro](https://www.ruby-forum.com/u/zimro)\
**Replies:** 3\
**Last updated:** [April 19, 2006, 3:42pm UTC](https://www.ruby-forum.com/t/newbie-question-select-distinct-in-model/58185 "2006-04-19T15:42:08Z")

</div>

Hi guys, I’m new so be gentle :slight\_smile: How do I put the following into a method inside a model… select distinct(pairing\_id), description from pairings\_stories, pairings where pairing\_id = pairings.id order by d…

---

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

<div class="topic-metadata">

**Author:** [@Daan](https://www.ruby-forum.com/u/Daan)\
**Replies:** 3\
**Last updated:** [April 14, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/rails-deployment/57833 "2006-04-14T18:40:12Z")

</div>

Hi all, I’ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server… So i installed i’ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows …

---

## [Newbie: dates by week and year](https://www.ruby-forum.com/t/newbie-dates-by-week-and-year/57156)

<div class="topic-metadata">

**Author:** [@Jeroen\_van\_Doorn](https://www.ruby-forum.com/u/Jeroen_van_Doorn)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 10:16am UTC](https://www.ruby-forum.com/t/newbie-dates-by-week-and-year/57156 "2006-04-10T10:16:51Z")

</div>

Hi Everybody, Am a newbie to ruby, so forgive me if this is a stupid question, I’m looking for a way to get a series of dates (monday - sunday or sunday - saturday) , but I’m only having the year and the week number…

---

## [Embedding ruby](https://www.ruby-forum.com/t/embedding-ruby/93694)

<div class="topic-metadata">

**Author:** [@ptriller](https://www.ruby-forum.com/u/ptriller)\
**Replies:** 3\
**Last updated:** [April 7, 2006, 9:39am UTC](https://www.ruby-forum.com/t/embedding-ruby/93694 "2006-04-07T09:39:20Z")

</div>

Hi. I am right now considering which Scripting Language to embed into my Server application and ruby seems to be a very good choice. But I have a small problem. I need to limit the functions which are allowed to be c…

---

## [Cygwin and the current tarballs](https://www.ruby-forum.com/t/cygwin-and-the-current-tarballs/57013)

<div class="topic-metadata">

**Author:** [@Gregg\_Levine](https://www.ruby-forum.com/u/Gregg_Levine)\
**Replies:** 3\
**Last updated:** [April 6, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/cygwin-and-the-current-tarballs/57013 "2006-04-06T23:30:35Z")

</div>

Hello! For want of a better location, I’ve downloaded the current, and recently released collection of tar files from the Alpha GNU file server. This by the way was done using the currently active release of Cygwin. …

---

## [Has\_and\_belongs\_to\_many construction](https://www.ruby-forum.com/t/has-and-belongs-to-many-construction/56599)

<div class="topic-metadata">

**Author:** [@Daan](https://www.ruby-forum.com/u/Daan)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-construction/56599 "2006-04-03T18:57:54Z")

</div>

Hi there, I’ve got a table construction like this: presentation contactstate Hilton new Mc Donalds emailed etc. called visited etc. Now i’ve created an join table presentat…

---

## [Strange issue locating a file](https://www.ruby-forum.com/t/strange-issue-locating-a-file/55580)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [March 22, 2006, 7:46pm UTC](https://www.ruby-forum.com/t/strange-issue-locating-a-file/55580 "2006-03-22T19:46:39Z")

</div>

I have been editing a branch on my Fedora system, completed the changes and was satisfied that it works and using svn, merged it to my main trunk. I have been testing the main trunk and it seems fine. I committed my c…

---

## [Linked table confusion](https://www.ruby-forum.com/t/linked-table-confusion/101706)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [February 7, 2006, 1:21am UTC](https://www.ruby-forum.com/t/linked-table-confusion/101706 "2006-02-07T01:21:19Z")

</div>

placement.rb has\_one :client has\_one :case\_manager client.rb belongs\_to :case\_manager has\_many :placements case\_manager.rb has\_many :clients has\_many :placements I am trying to create a view file for place…

---

## [General questions](https://www.ruby-forum.com/t/general-questions/53241)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [January 30, 2006, 4:30pm UTC](https://www.ruby-forum.com/t/general-questions/53241 "2006-01-30T16:30:15Z")

</div>

Agile book lacks some basic information, perhaps I need to learn ruby as I am lacking information - some basic things - especially debugging. The following are stupid newbie questions and any portion of them answered …

---

## [\-517611318:Fixnum ... WTF?](https://www.ruby-forum.com/t/517611318-fixnum-wtf/52783)

<div class="topic-metadata">

**Author:** [@kylemathews](https://www.ruby-forum.com/u/kylemathews)\
**Replies:** 3\
**Last updated:** [January 19, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/517611318-fixnum-wtf/52783 "2006-01-19T22:11:15Z")

</div>

I’m getting occasional errors that look like: Some method called for -517611318:Fixnum The method is constantly changing, and this error happens on ~5% of the page loads on my Mac Tiger development box. It’s happenin…

---

## [Simple scope question](https://www.ruby-forum.com/t/simple-scope-question/49593)

<div class="topic-metadata">

**Author:** [@nospam](https://www.ruby-forum.com/u/nospam)\
**Replies:** 3\
**Last updated:** [December 7, 2005, 12:01am UTC](https://www.ruby-forum.com/t/simple-scope-question/49593 "2005-12-07T00:01:05Z")

</div>

Is it possible to place another file within the same scope as another file that loads it? For example, I can’t get this to work: #!/usr/bin/env ruby file1.rb file1 = “something” #!/usr/bin/env ruby file2.rb load ‘fil…

---

## [Passing variables from view to controller(s)](https://www.ruby-forum.com/t/passing-variables-from-view-to-controller-s/48132)

<div class="topic-metadata">

**Author:** [@yehweh](https://www.ruby-forum.com/u/yehweh)\
**Replies:** 3\
**Last updated:** [November 15, 2005, 12:20pm UTC](https://www.ruby-forum.com/t/passing-variables-from-view-to-controller-s/48132 "2005-11-15T12:20:10Z")

</div>

One more from a noob :slight\_smile: Hi everyone, I’m trying to pass two variables from the view (user entered data). Compare one field with a database entry, if same the second field should be saved in the database. …

---

## [Collect value](https://www.ruby-forum.com/t/collect-value/225641)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 21, 2013, 6:29pm UTC](https://www.ruby-forum.com/t/collect-value/225641 "2013-01-21T18:29:05Z")

</div>

Hi Everyone, Good Day, a=\[ ‘casual’,‘sick’,‘casual’,‘sick’,‘casual’,‘sick’,‘casual’,‘sick’ \] I need to collect casual’s count and sick’s count like, Caual :4 Sick :4 Thank you,

---

## [Question about db](https://www.ruby-forum.com/t/question-about-db/213202)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 27, 2011, 4:21pm UTC](https://www.ruby-forum.com/t/question-about-db/213202 "2011-10-27T16:21:21Z")

</div>

Hello world, I’m new in this forum. Is it possible to sqlite and mysql coexists in same RoR app? I want to extend functionalities to an app making queries toa mysql server and I’m not sure if I can do it. Thanks a l…

---

## [Quickl 0.2.0 Released](https://www.ruby-forum.com/t/quickl-0-2-0-released/201553)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 11, 2011, 12:39am UTC](https://www.ruby-forum.com/t/quickl-0-2-0-released/201553 "2011-01-11T00:39:57Z")

</div>

quickl version 0.2.0 has been released ! \<GitHub - blambeau/quickl: Command-line Ruby Utilities Shipped as Classes\> https://rubygems.org/gems/quickl Quickl helps you create Ruby command line apps. From simple commands…

---

## [Changes method: displayed nil to blank change](https://www.ruby-forum.com/t/changes-method-displayed-nil-to-blank-change/201226)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 3, 2011, 2:29pm UTC](https://www.ruby-forum.com/t/changes-method-displayed-nil-to-blank-change/201226 "2011-01-03T14:29:20Z")

</div>

Hi Here I am trying to get the details of changed fields in update method I got those fields by changes method. #obj.changes But problem is that I got changes in following ways even when I am not updating anything. o…

---

## [Clicking to add content is adding it outside of the page's table](https://www.ruby-forum.com/t/clicking-to-add-content-is-adding-it-outside-of-the-pages-table/186808)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 4\
**Last updated:** [April 12, 2010, 8:45pm UTC](https://www.ruby-forum.com/t/clicking-to-add-content-is-adding-it-outside-of-the-pages-table/186808 "2010-04-12T20:45:06Z")

</div>

Each time the “add” button in my nested form is clicked, it adds the partial to the end of the page, not inside in the table. My view file: \<% echantillon\_form.fields\_for :treatments do |builder| %\> …

---

## [Splitting text string](https://www.ruby-forum.com/t/splitting-text-string/185563)

<div class="topic-metadata">

**Author:** [@xman2000](https://www.ruby-forum.com/u/xman2000)\
**Replies:** 4\
**Last updated:** [March 22, 2010, 10:07pm UTC](https://www.ruby-forum.com/t/splitting-text-string/185563 "2010-03-22T22:07:05Z")

</div>

I am working on a way to process the status of products and I want to use a bar code reader to make things easier. I already have the scanner which simply reads the bar code into the keyboard port and appends a carri…

---

## [Trouble with rake](https://www.ruby-forum.com/t/trouble-with-rake/178850)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 11:40am UTC](https://www.ruby-forum.com/t/trouble-with-rake/178850 "2009-11-12T11:40:54Z")

</div>

Am having trouble with rake file, but can’t find problem. Can you help? Haven’t been able to understand the error message returned. Thank you. Macintosh:depot pdenlinger$ rake db:migrate (in /Users/pdenlinger/Sites/…

---

## [Html to xml](https://www.ruby-forum.com/t/html-to-xml/174884)

<div class="topic-metadata">

**Author:** [@prashanth\_hiremath](https://www.ruby-forum.com/u/prashanth_hiremath)\
**Replies:** 4\
**Last updated:** [September 3, 2009, 3:10pm UTC](https://www.ruby-forum.com/t/html-to-xml/174884 "2009-09-03T15:10:28Z")

</div>

Hi , This is prashanth \<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' ' http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd' \[ \]\> Red Fort Chatta Chowk (Covered Bazaar) â€“ True to the name, thi…

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

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