# Top

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

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

---

## [After deleting the record , page is redirecting to Edit scree](https://www.ruby-forum.com/t/after-deleting-the-record-page-is-redirecting-to-edit-scree/209470)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 24, 2011, 4:19pm UTC](https://www.ruby-forum.com/t/after-deleting-the-record-page-is-redirecting-to-edit-scree/209470 "2011-08-24T16:19:27Z")

</div>

Hi All, I am Vinod , new learner of Ruby on rails , i just followed the steps given in the “Getting started with Rails” in rubyguides , in that i am facing some wiard issue… that is When i click on the Destroy link i…

---

## [Error of uninstall gem](https://www.ruby-forum.com/t/error-of-uninstall-gem/209062)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [July 5, 2011, 5:24am UTC](https://www.ruby-forum.com/t/error-of-uninstall-gem/209062 "2011-07-05T05:24:31Z")

</div>

gem uninstall rake Select gem to uninstall: rake-0.8.7 rake-0.9.2 All versions 3 ERROR: While executing gem … (Gem::FilePermissionError) You don’t have write permissions into the /usr/local/lib/ruby/gems/ 1.9.1 …

---

## [Splitting up a long running task with delayed job](https://www.ruby-forum.com/t/splitting-up-a-long-running-task-with-delayed-job/204823)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 24, 2011, 6:31pm UTC](https://www.ruby-forum.com/t/splitting-up-a-long-running-task-with-delayed-job/204823 "2011-03-24T18:31:04Z")

</div>

I have a method on my model that looks like this. def self.itunes\_update don’t run it if it’s already running if Setting.first.update\_lock? puts “updates locked” it’s not running right now so run it else all\_apps = …

---

## [A beginner question](https://www.ruby-forum.com/t/a-beginner-question/204062)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 8, 2011, 4:51am UTC](https://www.ruby-forum.com/t/a-beginner-question/204062 "2011-03-08T04:51:17Z")

</div>

Hi, I am new to this field and have read one or two books on DSP. e.g. the famous The Scientist and Engineer’s Guide to Digital Signal Processing, and so on… However, I am still get fluctuated on the basic concept. C…

---

## [Decimal Columns Allow Defaults?](https://www.ruby-forum.com/t/decimal-columns-allow-defaults/203033)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 11, 2011, 5:54pm UTC](https://www.ruby-forum.com/t/decimal-columns-allow-defaults/203033 "2011-02-11T17:54:33Z")

</div>

Is :default allowed as an option for decimal columns? A migration: class CreateMoney \< ActiveRecord::Migration def self.up create\_table :money do |t| t.decimal :amount, :defaut =\> 0.0, :precision =\> 8, :scale =\> 2 …

---

## [Class and method help](https://www.ruby-forum.com/t/class-and-method-help/202756)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 5, 2011, 10:12am UTC](https://www.ruby-forum.com/t/class-and-method-help/202756 "2011-02-05T10:12:30Z")

</div>

Can someone show me a simple class and method, then show me how to initialize and call the method? Thanks, Mike

---

## [Build broken today](https://www.ruby-forum.com/t/build-broken-today/199220)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 16, 2010, 11:42pm UTC](https://www.ruby-forum.com/t/build-broken-today/199220 "2010-11-16T23:42:32Z")

</div>

I did a “git pull” for both UHD (master) and gnuradio (next) today, and a “make clean; make” in both places. The build is currently broken: eech/gnuradio/gruel/src/include -I/home/mleech/gnuradio/gruel/src/include -…

---

## [PHPKode, the Best PHP Open Source Resources Site](https://www.ruby-forum.com/t/phpkode-the-best-php-open-source-resources-site/198226)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [October 28, 2010, 8:23am UTC](https://www.ruby-forum.com/t/phpkode-the-best-php-open-source-resources-site/198226 "2010-10-28T08:23:54Z")

</div>

Hi, It is my honor to be a member of the group, www.phpkode.com is the best PHP Open Source resources site determined to provide PHP developers the easiest means to find out their PHP Solution. So What’s your suggest…

---

## [Problem running bundle install](https://www.ruby-forum.com/t/problem-running-bundle-install/197428)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [October 14, 2010, 10:42am UTC](https://www.ruby-forum.com/t/problem-running-bundle-install/197428 "2010-10-14T10:42:40Z")

</div>

I’m a new ruby on rails user and was just going through the tutorial at: All was going ok until I got to section 3.3 Installing the Required Gems at that point, the tutorial instructs you to run bundle install, whi…

---

## [How to require Ruby 1.9 from a required file?](https://www.ruby-forum.com/t/how-to-require-ruby-1-9-from-a-required-file/194545)

<div class="topic-metadata">

**Author:** [@sackerson](https://www.ruby-forum.com/u/sackerson)\
**Replies:** 3\
**Last updated:** [September 8, 2010, 3:56am UTC](https://www.ruby-forum.com/t/how-to-require-ruby-1-9-from-a-required-file/194545 "2010-09-08T03:56:54Z")

</div>

Is there any way to require Ruby 1.9 from a required file such that I can trigger an error message before the main file is parsed? Suppose I’m making a DSL that depends on the very nice Ruby 1.9 hash syntax. Here’s a…

---

## [Open\_flash\_chart](https://www.ruby-forum.com/t/open-flash-chart/193937)

<div class="topic-metadata">

**Author:** [@nicolashq](https://www.ruby-forum.com/u/nicolashq)\
**Replies:** 0\
**Last updated:** [August 26, 2010, 8:38pm UTC](https://www.ruby-forum.com/t/open-flash-chart/193937 "2010-08-26T20:38:40Z")

</div>

Saludos a todos. Lo que pasa es que estoy trabajando en un proyecto en rails y me necesito utilizar este plugin. la cosa es que que no he podido encontrar tutoriales de como trabajar con dicho plugin. si alguien me…

---

## [Is this a bug of String#count?](https://www.ruby-forum.com/t/is-this-a-bug-of-string-count/193559)

<div class="topic-metadata">

**Author:** [@lirh](https://www.ruby-forum.com/u/lirh)\
**Replies:** 3\
**Last updated:** [August 19, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/is-this-a-bug-of-string-count/193559 "2010-08-19T17:58:18Z")

</div>

$ ruby -v ruby 1.9.1p429 (2010-07-02 revision 28523) \[i386-darwin9\] $ irb --simple-prompt s = “a\\u4e00” # \\u4e00 is the chinese character for “one” in case you can’t read the next line =\> “aä¸€” s.encoding =\> #E…

---

## [Undefined method when creating a has\_many relationship](https://www.ruby-forum.com/t/undefined-method-when-creating-a-has-many-relationship/185149)

<div class="topic-metadata">

**Author:** [@markb](https://www.ruby-forum.com/u/markb)\
**Replies:** 3\
**Last updated:** [March 16, 2010, 6:01am UTC](https://www.ruby-forum.com/t/undefined-method-when-creating-a-has-many-relationship/185149 "2010-03-16T06:01:17Z")

</div>

My first attempt at working with a new has\_many relationship is throwing an error in the view when I try to create a new ‘rcost’ instance linked to a ‘resource’ (each resource can have multiple costs): “undefined met…

---

## [Sub domains](https://www.ruby-forum.com/t/sub-domains/181791)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 3\
**Last updated:** [January 19, 2010, 5:58am UTC](https://www.ruby-forum.com/t/sub-domains/181791 "2010-01-19T05:58:16Z")

</div>

Hi This is a implementation question. I have to do my rails application as a SaaS application. So the working is like a general site will be there say example.com . Suppose a user say user1 registers to use this serv…

---

## [Set Time.zone to current user time zone](https://www.ruby-forum.com/t/set-time-zone-to-current-user-time-zone/181367)

<div class="topic-metadata">

**Author:** [@johnny](https://www.ruby-forum.com/u/johnny)\
**Replies:** 3\
**Last updated:** [January 11, 2010, 11:20am UTC](https://www.ruby-forum.com/t/set-time-zone-to-current-user-time-zone/181367 "2010-01-11T11:20:54Z")

</div>

I want to set the Time.zone to the user’s current time zone, I don’t want to store the timezone in user profile like many other solutions. How to do that? Thanks

---

## [DBI: number of rows updated?](https://www.ruby-forum.com/t/dbi-number-of-rows-updated/180635)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 3\
**Last updated:** [December 28, 2009, 2:16pm UTC](https://www.ruby-forum.com/t/dbi-number-of-rows-updated/180635 "2009-12-28T14:16:26Z")

</div>

Is there a way with the DBI gem to figure out how many rows were touched? I have the following ugly and naive code which, of course, doesn’t give me the number of rows updated (but works like a charm otherwise): def …

---

## [Just for fun: oneline code for 4 language permutation](https://www.ruby-forum.com/t/just-for-fun-oneline-code-for-4-language-permutation/178926)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 3\
**Last updated:** [November 13, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/just-for-fun-oneline-code-for-4-language-permutation/178926 "2009-11-13T16:51:16Z")

</div>

hello,happy weekday! in ruby1.9: irb:\> %w{ruby c java php}.permutation.to\_a and my code is(all ruby): irb:\> (1…1000).inject(\[\]){|p,\_|p\<\<%w{ruby c java php}.sort\_by{rand}}.uniq how about you?

---

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

<div class="topic-metadata">

**Author:** [@erzapito](https://www.ruby-forum.com/u/erzapito)\
**Replies:** 3\
**Last updated:** [October 16, 2009, 5:46pm UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-on-different-databases/177404 "2009-10-16T17:46:05Z")

</div>

Hi, I’m working with two models that have a “has\_and\_belongs\_to\_many” relation. Both models reside on a database that it is not the default one. A \< External has\_and\_belongs\_to\_many: B B \< External has\_and\_belongs…

---

## [Coordinates for geokit](https://www.ruby-forum.com/t/coordinates-for-geokit/175807)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 3\
**Last updated:** [September 20, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/coordinates-for-geokit/175807 "2009-09-20T14:21:38Z")

</div>

i’m trying geokit and loving it, but i’m seeing really odd stuff on distances, I’m wondering about the coordinates i’ve got in my DB. I don’t think they’re standard format, they look like this. east 6’41.6 north 45’24…

---

## [In IE there is delay in loading png images](https://www.ruby-forum.com/t/in-ie-there-is-delay-in-loading-png-images/197093)

<div class="topic-metadata">

**Author:** [@shanmu](https://www.ruby-forum.com/u/shanmu)\
**Replies:** 3\
**Last updated:** [August 20, 2009, 2:25pm UTC](https://www.ruby-forum.com/t/in-ie-there-is-delay-in-loading-png-images/197093 "2009-08-20T14:25:02Z")

</div>

Hi all, Can some one help me in this issue. My application consists only png images where it takes normal time to get loaded in all browsers except IE. In IE i can see nearly 950 requests where other browsers show on…

---

## [Firebug (?) displays Ruby code to get/set HTML element](https://www.ruby-forum.com/t/firebug-displays-ruby-code-to-get-set-html-element/172547)

<div class="topic-metadata">

**Author:** [@jbaty](https://www.ruby-forum.com/u/jbaty)\
**Replies:** 3\
**Last updated:** [July 24, 2009, 3:57am UTC](https://www.ruby-forum.com/t/firebug-displays-ruby-code-to-get-set-html-element/172547 "2009-07-24T03:57:36Z")

</div>

Several months ago I used a Firefox/Firebug extension that displayed the Ruby code (python too IIRC) needed to get and/or set a selected HTML element. Now I can’t find it again and it’s making me crazy. I have google…

---

## [Updated today - number of rows](https://www.ruby-forum.com/t/updated-today-number-of-rows/165283)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 3\
**Last updated:** [April 11, 2009, 5:33pm UTC](https://www.ruby-forum.com/t/updated-today-number-of-rows/165283 "2009-04-11T17:33:01Z")

</div>

How can I get number of rows that was updated “today”? Table: messages (id, title, message, updated\_at)

---

## [String comparision help](https://www.ruby-forum.com/t/string-comparision-help/163406)

<div class="topic-metadata">

**Author:** [@live365](https://www.ruby-forum.com/u/live365)\
**Replies:** 3\
**Last updated:** [March 20, 2009, 1:23pm UTC](https://www.ruby-forum.com/t/string-comparision-help/163406 "2009-03-20T13:23:34Z")

</div>

Hi, I am new to ruby. I am trying to get input from the user and then trying to compare that string to perform action depending on the comparision result: Here is the code while command = STDIN.gets command.chomp …

---

## [Will\_paginate](https://www.ruby-forum.com/t/will-paginate/163002)

<div class="topic-metadata">

**Author:** [@engamocap](https://www.ruby-forum.com/u/engamocap)\
**Replies:** 3\
**Last updated:** [March 17, 2009, 10:42am UTC](https://www.ruby-forum.com/t/will-paginate/163002 "2009-03-17T10:42:50Z")

</div>

I have this problem: user can select some params from a form: \<% form\_tag({:action =\> “view”}, :method =\> “get”, :target =\> “\_blank”) do %\> … \<% end %\> In method view of controller: … @items = Item.paginate :all, …

---

## [RubyCLR anyone?](https://www.ruby-forum.com/t/rubyclr-anyone/160363)

<div class="topic-metadata">

**Author:** [@zwadar](https://www.ruby-forum.com/u/zwadar)\
**Replies:** 0\
**Last updated:** [February 15, 2009, 1:00pm UTC](https://www.ruby-forum.com/t/rubyclr-anyone/160363 "2009-02-15T13:00:46Z")

</div>

Hi, maybe I’ll find someone who is using RubyCLR and can help me? After first success with winforms usage from ruby I’m trying to use SharpSVN (http://sharpsvn.open.collab.net/) library to access SVN from ruby on win…

---

## [Administration Frontend for Nginx](https://www.ruby-forum.com/t/administration-frontend-for-nginx/157491)

<div class="topic-metadata">

**Author:** [@John\_Huong](https://www.ruby-forum.com/u/John_Huong)\
**Replies:** 3\
**Last updated:** [January 15, 2009, 12:07am UTC](https://www.ruby-forum.com/t/administration-frontend-for-nginx/157491 "2009-01-15T00:07:25Z")

</div>

Are there any frontend that can be used to manage Nginx e.g. Webmin?

---

## [Login form](https://www.ruby-forum.com/t/login-form/156168)

<div class="topic-metadata">

**Author:** [@johny](https://www.ruby-forum.com/u/johny)\
**Replies:** 3\
**Last updated:** [December 26, 2008, 4:03am UTC](https://www.ruby-forum.com/t/login-form/156168 "2008-12-26T04:03:13Z")

</div>

I just want to create a login form on my RoR project.anyone have a good suggestion,what do i need?

---

## [Mix and Match (#186)](https://www.ruby-forum.com/t/mix-and-match-186/155513)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 12:18am UTC](https://www.ruby-forum.com/t/mix-and-match-186/155513 "2008-12-19T00:18:04Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q. 2: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on th…

---

## [How to do "special queries" ala The Rails Way on "associated" conditions?](https://www.ruby-forum.com/t/how-to-do-special-queries-ala-the-rails-way-on-associated-conditions/155539)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 5:02am UTC](https://www.ruby-forum.com/t/how-to-do-special-queries-ala-the-rails-way-on-associated-conditions/155539 "2008-12-18T05:02:23Z")

</div>

I have the following in a model class: class Game \< ActiveRecord::Base has\_many :player\_stats has\_many :players, :through =\> :player\_stats def visitor\_stats stats = \[\] player\_stats.each do |stat| stats \<\< stat if…

---

## [Book Recommendation for fast drop into webdesign](https://www.ruby-forum.com/t/book-recommendation-for-fast-drop-into-webdesign/152917)

<div class="topic-metadata">

**Author:** [@jeffrey-goines](https://www.ruby-forum.com/u/jeffrey-goines)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/book-recommendation-for-fast-drop-into-webdesign/152917 "2008-11-11T17:57:47Z")

</div>

hello, I did some web design quite a while ago and now i have some time to get back into it but i want it as fast as possible and what i’m really lacking is some good resource how to restart. it’s like that i need th…

---

## [Rake spec defaults to devel env](https://www.ruby-forum.com/t/rake-spec-defaults-to-devel-env/149616)

<div class="topic-metadata">

**Author:** [@Tero\_T](https://www.ruby-forum.com/u/Tero_T)\
**Replies:** 3\
**Last updated:** [September 29, 2008, 3:53pm UTC](https://www.ruby-forum.com/t/rake-spec-defaults-to-devel-env/149616 "2008-09-29T15:53:14Z")

</div>

I was experiencing the weirdest behavior (rake spec running fine without a test database) the other day. Turned out that actually rake spec was (and has been for heavens know how long for me) running in development en…

---

## [Boost::thread\_resource\_error in gr-pager](https://www.ruby-forum.com/t/boost-thread-resource-error-in-gr-pager/148557)

<div class="topic-metadata">

**Author:** [@nickfaraday](https://www.ruby-forum.com/u/nickfaraday)\
**Replies:** 3\
**Last updated:** [September 15, 2008, 2:05am UTC](https://www.ruby-forum.com/t/boost-thread-resource-error-in-gr-pager/148557 "2008-09-15T02:05:29Z")

</div>

Hi all, Hoping this isn’t a naive question. I’m running into Boost errors when attempting to run the FLEX decoder, specifically the multithreaded instances (usrp\_flex\_all.py and usrp\_flex\_band.py). Here’s the output: …

---

## [Rails overriding database default value?](https://www.ruby-forum.com/t/rails-overriding-database-default-value/147798)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 4:56am UTC](https://www.ruby-forum.com/t/rails-overriding-database-default-value/147798 "2008-09-09T04:56:45Z")

</div>

Hello. This is a new post for a message I didn’t get any answers to. I hope this post catches somebody’s eye and helps me with the issue. Sorry for the duplication but this is driving me nuts. The environment is: R…

---

## [Gmail e ruby](https://www.ruby-forum.com/t/gmail-e-ruby/145982)

<div class="topic-metadata">

**Author:** [@guly](https://www.ruby-forum.com/u/guly)\
**Replies:** 3\
**Last updated:** [August 16, 2008, 11:18am UTC](https://www.ruby-forum.com/t/gmail-e-ruby/145982 "2008-08-16T11:18:43Z")

</div>

Salve a tutti, Ã¨ da poco che mi sono interessato a questo fantastico linguaggio ed ora volevo utilizzarlo per creare un semplice script che mi dice se ho nuove mail sul mio account di posta gmail. Per iniziare ho cer…

---

## [Calling method from view](https://www.ruby-forum.com/t/calling-method-from-view/142527)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [July 8, 2008, 11:15pm UTC](https://www.ruby-forum.com/t/calling-method-from-view/142527 "2008-07-08T23:15:50Z")

</div>

I have this list of users that I capture in a method which is users that one individual is responciable for. In my view I iterate through that list of users to place the name of each user into a table. I also have thi…

---

## [Template in a Template](https://www.ruby-forum.com/t/template-in-a-template/139470)

<div class="topic-metadata">

**Author:** [@Matthew\_Hauck](https://www.ruby-forum.com/u/Matthew_Hauck)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/template-in-a-template/139470 "2008-06-04T15:18:48Z")

</div>

Greetings! Okay, here is my situation: I have a template with a 3-column layout. The first column is printed out in the template, and the following two columns are generated by the controllers. It is often the case th…

---

## [Arrays in ruby and java](https://www.ruby-forum.com/t/arrays-in-ruby-and-java/138285)

<div class="topic-metadata">

**Author:** [@zzhang](https://www.ruby-forum.com/u/zzhang)\
**Replies:** 3\
**Last updated:** [May 22, 2008, 6:59am UTC](https://www.ruby-forum.com/t/arrays-in-ruby-and-java/138285 "2008-05-22T06:59:51Z")

</div>

hi, i have been translating an algorithm from ruby to java. unfortunately i stuck with one line of code and would like to ask for some help. My problem is the following line: b.data\[b.data.index(token)+1\] and here i…

---

## [Using Derrick Pallas' ruby fcgi dispatcher](https://www.ruby-forum.com/t/using-derrick-pallas-ruby-fcgi-dispatcher/137149)

<div class="topic-metadata">

**Author:** [@codewerker](https://www.ruby-forum.com/u/codewerker)\
**Replies:** 3\
**Last updated:** [May 15, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/using-derrick-pallas-ruby-fcgi-dispatcher/137149 "2008-05-15T19:50:53Z")

</div>

I am trying to use the following dispatcher in lighttpd: http://derrick.pallas.us/ruby-cgi/ Code looks fine, and first request looks fine. But subsequent requests to the dispatcher via the webbrowser do not deliver th…

---

## [Installing problem](https://www.ruby-forum.com/t/installing-problem/135814)

<div class="topic-metadata">

**Author:** [@zemariamm](https://www.ruby-forum.com/u/zemariamm)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 8:42am UTC](https://www.ruby-forum.com/t/installing-problem/135814 "2008-04-25T08:42:00Z")

</div>

Hello guys, I’ve used rails engines in the past, but now I was configuring a new system and I can’t get the engines to work, when I try to generate the migrations for the plugins with the command: ruby script/generat…

---

## [Relating to records in same table](https://www.ruby-forum.com/t/relating-to-records-in-same-table/135139)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 3\
**Last updated:** [April 18, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/relating-to-records-in-same-table/135139 "2008-04-18T13:28:02Z")

</div>

I’m in progress of making a little folder system with Ruby on Rails. I’ve got a “folders” table. Each “folder” has got an id and a folder\_id. The folder\_id is supposed to represent the folders’ parent folder. How can …

---

## [First use of debugger weird](https://www.ruby-forum.com/t/first-use-of-debugger-weird/132825)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [April 3, 2008, 5:05am UTC](https://www.ruby-forum.com/t/first-use-of-debugger-weird/132825 "2008-04-03T05:05:48Z")

</div>

Hi, I just wrote a toy program: K:\_Projects\\Ruby\_Ruby\_Techniques\\Debugging\\Test2.rb I invoked the debugger with: ruby -rdebug K:/\_Projects/Ruby/\_Ruby\_Techniques/Debugging/Test2.rb I got 5 lines (counting blank lines…

---

## [Qtruby install on redhat](https://www.ruby-forum.com/t/qtruby-install-on-redhat/129258)

<div class="topic-metadata">

**Author:** [@sclaerhout](https://www.ruby-forum.com/u/sclaerhout)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 11:51pm UTC](https://www.ruby-forum.com/t/qtruby-install-on-redhat/129258 "2008-02-15T23:51:47Z")

</div>

running ./configure after untarring korundum-3.5.5 I get: checking if UIC has KDE plugins available… no configure: error: you need to install kdelibs first. If you did install kdelibs, then the Qt version that is pi…

---

## [PCB's and Schematics](https://www.ruby-forum.com/t/pcbs-and-schematics/126601)

<div class="topic-metadata">

**Author:** [@obn4uticus](https://www.ruby-forum.com/u/obn4uticus)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 9:39am UTC](https://www.ruby-forum.com/t/pcbs-and-schematics/126601 "2008-01-20T09:39:27Z")

</div>

Does anyone here know what to open the usrp-hw .ps, .scm, and .brd files with. I tried with gEDA which failed for the pad layout. Thanks Thomas Kilbride Embedded Develpoment Dpt. TCNiSO http://tcniso.com Email: rem…

---

## [How to put a method to execute in every page view?](https://www.ruby-forum.com/t/how-to-put-a-method-to-execute-in-every-page-view/126365)

<div class="topic-metadata">

**Author:** [@Vinicius\_Cubas\_B](https://www.ruby-forum.com/u/Vinicius_Cubas_B)\
**Replies:** 3\
**Last updated:** [January 17, 2008, 8:12pm UTC](https://www.ruby-forum.com/t/how-to-put-a-method-to-execute-in-every-page-view/126365 "2008-01-17T20:12:19Z")

</div>

Hello. I want to execute a method in every page view, in my Rails application. It will be for a customized log plugin. So, how do I do that and where is the proper place to put the method call? thank you

---

## [Nested :throughs](https://www.ruby-forum.com/t/nested-throughs/125220)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/nested-throughs/125220 "2008-01-07T20:05:10Z")

</div>

Hi Guys, First off: Rails is amazing: Thanks! I’ve been trying unlearn everything I know about web development and it is tricky - I’m not used to things being beautiful :slight\_smile: Anyway, I think I might be over …

---

## [Recurring Billing](https://www.ruby-forum.com/t/recurring-billing/122691)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/recurring-billing/122691 "2007-12-11T13:14:42Z")

</div>

Hi all, I’m working on an invoicing program and need a bit of help working with dates. Given a start date, end date, and frequency (i.e., weekly, monthly, quarterly), I need to be able to figure out the “window” tha…

---

## [How(where) to define a method that to be called by views?](https://www.ruby-forum.com/t/how-where-to-define-a-method-that-to-be-called-by-views/122315)

<div class="topic-metadata">

**Author:** [@sun](https://www.ruby-forum.com/u/sun)\
**Replies:** 3\
**Last updated:** [December 6, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/how-where-to-define-a-method-that-to-be-called-by-views/122315 "2007-12-06T16:27:41Z")

</div>

Hi, I just dabbed Ruby on rails abit and what to know where is the right place to define a method, that prinf some output information to views, based on some variable. I define a function "def foo " in contrioller …

---

## [Ajax y rmagick](https://www.ruby-forum.com/t/ajax-y-rmagick/119247)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 3\
**Last updated:** [November 5, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/ajax-y-rmagick/119247 "2007-11-05T19:37:26Z")

</div>

Hola Estoy intentando subir imÃ¡genes a traves de rmagick y ajax y no consigo q funcione. Sin ajax funciona correctamente. rhtml \<% form\_remote\_for :photo, :update =\> “main\_content”, :url =\> {:controller =\> “p…

---

## [SQL Server migration result differs depending on client](https://www.ruby-forum.com/t/sql-server-migration-result-differs-depending-on-client/118022)

<div class="topic-metadata">

**Author:** [@donv](https://www.ruby-forum.com/u/donv)\
**Replies:** 3\
**Last updated:** [October 30, 2007, 11:57am UTC](https://www.ruby-forum.com/t/sql-server-migration-result-differs-depending-on-client/118022 "2007-10-30T11:57:35Z")

</div>

Hi all! I hope somebody can help me. I have very little hair left, and it is decreasing more rapidly the longer I have this problem :slight\_smile: I am connecting to a MS SQL Server 9.0.2047 from Fedora 7 linux, usin…

---

## [Writing to a file help](https://www.ruby-forum.com/t/writing-to-a-file-help/117992)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 2:43am UTC](https://www.ruby-forum.com/t/writing-to-a-file-help/117992 "2007-10-23T02:43:25Z")

</div>

I am trying to read 1 file then create another file from that 1. My problem I am having is that my file is not being formated the same way I am telling it. So for example I have line\_a = %{#{i.to\_s.rjust(6, “0”)}|#{ar…

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

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