# Top

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

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

---

## [Find current Id](https://www.ruby-forum.com/t/find-current-id/125694)

<div class="topic-metadata">

**Author:** [@fries88](https://www.ruby-forum.com/u/fries88)\
**Replies:** 3\
**Last updated:** [January 11, 2008, 8:48am UTC](https://www.ruby-forum.com/t/find-current-id/125694 "2008-01-11T08:48:43Z")

</div>

Hi, Can someine tell me how to find the latest/current id from the database? Thanks, fries 88

---

## [Anybody use OPEN\_ID to authenticate?](https://www.ruby-forum.com/t/anybody-use-open-id-to-authenticate/122278)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 3\
**Last updated:** [December 6, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/anybody-use-open-id-to-authenticate/122278 "2007-12-06T14:04:36Z")

</div>

how did it go? here is the link if you are interested: What are the differences between FAPI 1.0 and FAPI 2.0 and what do they mean to you? - OpenID Foundation

---

## [Upstream with fastcgi\_pass](https://www.ruby-forum.com/t/upstream-with-fastcgi-pass/121028)

<div class="topic-metadata">

**Author:** [@Rapsey](https://www.ruby-forum.com/u/Rapsey)\
**Replies:** 3\
**Last updated:** [November 23, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/upstream-with-fastcgi-pass/121028 "2007-11-23T16:43:03Z")

</div>

I have 5 instances of a FCGI application. My config is like this: upstream servercom { server 127.0.0.1:44440; server 127.0.0.1:44441; server 127.0.0.1:44442; server 127.0.0.1:44443; server 127.0.0.1:44444; } loc…

---

## [Performing arbitrary ruby scripts from rails](https://www.ruby-forum.com/t/performing-arbitrary-ruby-scripts-from-rails/120983)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 3\
**Last updated:** [November 22, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/performing-arbitrary-ruby-scripts-from-rails/120983 "2007-11-22T14:07:56Z")

</div>

Hello, I am developing a rails application and I have certain scripts that I need to have run that have nothing to do with rails and that don’t need to provide any feedback. Basically, I have these ‘mechanize’ scripts …

---

## [Table scheme question](https://www.ruby-forum.com/t/table-scheme-question/196522)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 3\
**Last updated:** [November 21, 2007, 2:59am UTC](https://www.ruby-forum.com/t/table-scheme-question/196522 "2007-11-21T02:59:50Z")

</div>

Hi… I am getting grey hair…i don’t now the right setup for the solution. Maybe you can help?.. Concept. companyX has for each period (1 year, 2 years ect) different 5 values… So for example: 2 years…has the value …

---

## [New instance (uninitialized constant)](https://www.ruby-forum.com/t/new-instance-uninitialized-constant/119109)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [November 7, 2007, 6:05am UTC](https://www.ruby-forum.com/t/new-instance-uninitialized-constant/119109 "2007-11-07T06:05:39Z")

</div>

I need to indicate where to find the Song class. With a module? I’m looking for the simplest technique (hint pls): C:\\Documents and Settings\\nsaunders\\Desktop\> C:\\Documents and Settings\\nsaunders\\Desktop\> C:\\Docume…

---

## [More RESTlessness: "unbalanced" routes](https://www.ruby-forum.com/t/more-restlessness-unbalanced-routes/112583)

<div class="topic-metadata">

**Author:** [@jay-levitt](https://www.ruby-forum.com/u/jay-levitt)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/more-restlessness-unbalanced-routes/112583 "2007-09-25T23:07:13Z")

</div>

I’m working on an application (on Edge Rails) that has a really long user profile page - viewed, of course, with a GET to /users/:id. The editing side of things needs to be broken up into four logically-grouped scree…

---

## [Rubinius on Mac PPC](https://www.ruby-forum.com/t/rubinius-on-mac-ppc/115142)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 3\
**Last updated:** [September 21, 2007, 4:09am UTC](https://www.ruby-forum.com/t/rubinius-on-mac-ppc/115142 "2007-09-21T04:09:24Z")

</div>

Hey all, I’m trying to build Rubinius on my Mac PPC. Configure works fine, but when I got to do ‘make’, i get this error: /usr/bin/libtool: internal link edit command failed make\[4\]: \*\*\* \[libonig.la\] Error 1 make\[3\]…

---

## [Why Ruby 1.8.2 is faster?](https://www.ruby-forum.com/t/why-ruby-1-8-2-is-faster/115109)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 3\
**Last updated:** [September 21, 2007, 1:18am UTC](https://www.ruby-forum.com/t/why-ruby-1-8-2-is-faster/115109 "2007-09-21T01:18:05Z")

</div>

I had Ruby 1.8.2 on the Mac so it was able to run a program with 10,000 iterations per second. and then I installed 1.8.6 with Locomotive and then the program will only run at about 6,500 iterations per second. so i …

---

## [Can any one know that, how to do LDAP in ruby?](https://www.ruby-forum.com/t/can-any-one-know-that-how-to-do-ldap-in-ruby/113157)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 3\
**Last updated:** [August 28, 2007, 9:17pm UTC](https://www.ruby-forum.com/t/can-any-one-know-that-how-to-do-ldap-in-ruby/113157 "2007-08-28T21:17:34Z")

</div>

Can any one know that, how to do LDAP in ruby? please help me

---

## [Plotting question](https://www.ruby-forum.com/t/plotting-question/109327)

<div class="topic-metadata">

**Author:** [@Teun](https://www.ruby-forum.com/u/Teun)\
**Replies:** 3\
**Last updated:** [July 20, 2007, 6:29pm UTC](https://www.ruby-forum.com/t/plotting-question/109327 "2007-07-20T18:29:44Z")

</div>

Hi guys, I have a question. I have made a python script with some c++ modules. Everything is working fine, so I’m pretty happy so far. Occasionally something happens within a .cc file, it doesn’t really matter what h…

---

## [Adding things to params in a form](https://www.ruby-forum.com/t/adding-things-to-params-in-a-form/106989)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 3\
**Last updated:** [June 16, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/adding-things-to-params-in-a-form/106989 "2007-06-16T17:21:54Z")

</div>

I have a form and I am trying to get it to add another parameter without entering it in a field. I have the form partial \_form.rhtml \<%= error\_messages\_for ‘response’ %\> Title \<%= text\_field 'response', 'title' %\> …

---

## [Ruby libcurl maintainer?](https://www.ruby-forum.com/t/ruby-libcurl-maintainer/74471)

<div class="topic-metadata">

**Author:** [@friedrich](https://www.ruby-forum.com/u/friedrich)\
**Replies:** 3\
**Last updated:** [June 7, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/ruby-libcurl-maintainer/74471 "2007-06-07T17:23:20Z")

</div>

I tried to contact Mr Hirotaka Matsuyuki,however his email address seems to be invalid. If someone knows the proper address would you mind to let me know? I’ve tried the libcurl bindings from him in both forms from h…

---

## [MVC Overriding](https://www.ruby-forum.com/t/mvc-overriding/103768)

<div class="topic-metadata">

**Author:** [@soabirw](https://www.ruby-forum.com/u/soabirw)\
**Replies:** 3\
**Last updated:** [May 10, 2007, 6:57am UTC](https://www.ruby-forum.com/t/mvc-overriding/103768 "2007-05-10T06:57:24Z")

</div>

Trying to convert a large application from our home brew PHP framework to Ruby on Rails. I’ve built small things, like blogs and other CMS’s with Rails, but am having a hard time thinking of a better way to impliment…

---

## [String#split works w/ Regexp in IRB, not in rails](https://www.ruby-forum.com/t/string-split-works-w-regexp-in-irb-not-in-rails/92765)

<div class="topic-metadata">

**Author:** [@studbucket](https://www.ruby-forum.com/u/studbucket)\
**Replies:** 3\
**Last updated:** [April 26, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/string-split-works-w-regexp-in-irb-not-in-rails/92765 "2007-04-26T18:20:15Z")

</div>

I’m trying to take a string in the format “word\[field\] and word2\[field2\]…”, etc. I have gotten this to work when splitting it in IRB using the following syntax: tempstring.split(/\[|\]/) which returns: \[“word”, “fiel…

---

## [Always passing the same params](https://www.ruby-forum.com/t/always-passing-the-same-params/90650)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 3\
**Last updated:** [March 30, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/always-passing-the-same-params/90650 "2007-03-30T22:35:54Z")

</div>

Hi, I’m building an application that have many types of search requests like simple search, search within results, sort results, sort the displaying fields, show/hide fields… To do this I’m using several params\[:X\] va…

---

## [Shopping Carts?](https://www.ruby-forum.com/t/shopping-carts/90124)

<div class="topic-metadata">

**Author:** [@brez](https://www.ruby-forum.com/u/brez)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/shopping-carts/90124 "2007-03-26T13:54:17Z")

</div>

I saw the subimage one - but does anyone know of others \[didnt find much on the search\] - thanks!

---

## [Has\_many :through and has\_one association](https://www.ruby-forum.com/t/has-many-through-and-has-one-association/89129)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 3\
**Last updated:** [March 17, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/has-many-through-and-has-one-association/89129 "2007-03-17T20:46:23Z")

</div>

Can’t get the following to work: class Forum \< ActiveRecord::Base has\_many :topics has\_many :recent\_posts, :through =\> :topics, :source =\> :last\_post, :order =\> ‘posted\_at DESC’ end class Topic \< ActiveRecord::Base …

---

## [Link\_to not work?](https://www.ruby-forum.com/t/link-to-not-work/87977)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/link-to-not-work/87977 "2007-03-07T13:09:45Z")

</div>

Hello, I have a problem with link\_to, this is my code \<% if @categories for category in @categories link\_to “test”, “http://www.rubyonrails.org/” end end %\> But this doesn’t output anything to the screen, but wi…

---

## [Segmentation fault: Ruby 1.8.5 Under VC++ express 2005](https://www.ruby-forum.com/t/segmentation-fault-ruby-1-8-5-under-vc-express-2005/85035)

<div class="topic-metadata">

**Author:** [@zmzmzm](https://www.ruby-forum.com/u/zmzmzm)\
**Replies:** 3\
**Last updated:** [February 9, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/segmentation-fault-ruby-1-8-5-under-vc-express-2005/85035 "2007-02-09T20:00:18Z")

</div>

Hi, Have anybody tried to compile the 1.8.5 code with VC++ express 2005 SP1 and Windows platform SDK 2003 R2? I have pass the compile. And when it run miniruby, coredump happens. ----------------\>8-------------------…

---

## [Calling action/controller name](https://www.ruby-forum.com/t/calling-action-controller-name/73171)

<div class="topic-metadata">

**Author:** [@dipeshbatheja](https://www.ruby-forum.com/u/dipeshbatheja)\
**Replies:** 3\
**Last updated:** [February 7, 2007, 1:02am UTC](https://www.ruby-forum.com/t/calling-action-controller-name/73171 "2007-02-07T01:02:33Z")

</div>

I have created a back link on a page, which takes you back to the page from where you came. The problem is that the user could come from many different pages. So i can’t hard code the link to a single page. Is there …

---

## [Any news on JRuby?](https://www.ruby-forum.com/t/any-news-on-jruby/81091)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 3\
**Last updated:** [January 4, 2007, 7:01am UTC](https://www.ruby-forum.com/t/any-news-on-jruby/81091 "2007-01-04T07:01:58Z")

</div>

I saw a post on some board a while ago and wanted to know if anybody had heard anything about the current state of JRuby? Some folks on technical governance board at work were asking about it. Last I heard was that m…

---

## [Serving static svg images in the public folder](https://www.ruby-forum.com/t/serving-static-svg-images-in-the-public-folder/78149)

<div class="topic-metadata">

**Author:** [@don\_Valentin](https://www.ruby-forum.com/u/don_Valentin)\
**Replies:** 0\
**Last updated:** [December 3, 2006, 12:37am UTC](https://www.ruby-forum.com/t/serving-static-svg-images-in-the-public-folder/78149 "2006-12-03T00:37:26Z")

</div>

Hi! I am trying to use svg images and serve them from the public/images folder. When using the url\_for method I have to use the complete file name including the extension. Can you explain why? I don’t need to use t…

---

## [New App - Rails Pay-Per-Download](https://www.ruby-forum.com/t/new-app-rails-pay-per-download/73072)

<div class="topic-metadata">

**Author:** [@scorpio\_leon](https://www.ruby-forum.com/u/scorpio_leon)\
**Replies:** 3\
**Last updated:** [October 21, 2006, 1:42pm UTC](https://www.ruby-forum.com/t/new-app-rails-pay-per-download/73072 "2006-10-21T13:42:28Z")

</div>

http://rgd.legalaffairs.gov.tt Test User username: izo password: izo May be a bit heavy on the graphics by I am still try to teach the graphic artist about web 2.0. :slight\_smile: regards, Leon L. – Never be af…

---

## [Transmission buffer](https://www.ruby-forum.com/t/transmission-buffer/71899)

<div class="topic-metadata">

**Author:** [@Oussama\_S](https://www.ruby-forum.com/u/Oussama_S)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 10:38am UTC](https://www.ruby-forum.com/t/transmission-buffer/71899 "2006-10-18T10:38:40Z")

</div>

Hi, I am looking at the transmission buffer (tx\_buffer.v) verilog code. So it seems that it uses two clock signals. the txclk signal is used to read from the fifo\_4k while the usbclk signal is used to write to the f…

---

## [Select error](https://www.ruby-forum.com/t/select-error/71614)

<div class="topic-metadata">

**Author:** [@BuntinS\_SethSKATE](https://www.ruby-forum.com/u/BuntinS_SethSKATE)\
**Replies:** 3\
**Last updated:** [October 10, 2006, 2:13am UTC](https://www.ruby-forum.com/t/select-error/71614 "2006-10-10T02:13:14Z")

</div>

This code: Type \<%= select(:resource, :type, %w{ Web Data }, { :include\_blank =\> true }) %\> Produces this error: TypeError in Resources#new Showing app/views/resources/\_form.rhtml where line #6 raised: wrong a…

---

## [New line char in a text area field on DISPLAY](https://www.ruby-forum.com/t/new-line-char-in-a-text-area-field-on-display/102262)

<div class="topic-metadata">

**Author:** [@thila](https://www.ruby-forum.com/u/thila)\
**Replies:** 3\
**Last updated:** [September 29, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/new-line-char-in-a-text-area-field-on-display/102262 "2006-09-29T16:52:47Z")

</div>

I have a text\_area to accept upto 1000 chars, which is stored as a blob in mysql. When I try to display the saved data, I dont see the new line characters - however I could see the newline characters in EDIT MODE. So …

---

## [Add a column count(id) to the select statement, rail way](https://www.ruby-forum.com/t/add-a-column-count-id-to-the-select-statement-rail-way/68558)

<div class="topic-metadata">

**Author:** [@Igor\_MilovanoviSSS](https://www.ruby-forum.com/u/Igor_MilovanoviSSS)\
**Replies:** 3\
**Last updated:** [September 14, 2006, 12:28pm UTC](https://www.ruby-forum.com/t/add-a-column-count-id-to-the-select-statement-rail-way/68558 "2006-09-14T12:28:34Z")

</div>

I would like to do something like this: SELECT \*,count(ID) FROM downloads GROUP BY file\_path ORDER BY user\_id LIMIT 10; I know it can be done with find\_by\_sql, but don’t know if that can be done by just find. Or is …

---

## [Validates\_confirmation\_of not working](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/66822)

<div class="topic-metadata">

**Author:** [@Piotr\_Chmolowski](https://www.ruby-forum.com/u/Piotr_Chmolowski)\
**Replies:** 3\
**Last updated:** [September 1, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/66822 "2006-09-01T15:44:28Z")

</div>

Hi, I’ve got a really weird problem with validates\_confirmation\_of. I’ve been developing my app for quite some time and everything went fine so far. After (more or less) a month of coding I got back to check my user …

---

## [Require "ajax\_scaffold" in model error](https://www.ruby-forum.com/t/require-ajax-scaffold-in-model-error/59507)

<div class="topic-metadata">

**Author:** [@Lachlan\_Deck](https://www.ruby-forum.com/u/Lachlan_Deck)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/require-ajax-scaffold-in-model-error/59507 "2006-08-03T14:22:55Z")

</div>

Hi there, I’ve got installed ajax\_scaffold\_generator (3.1.2, 2.2.1) Anyway I’m following the example here \<http://height1percent.com/ articles/2006/04/18/ajaxscaffold-3-1-0-released\> which suggests the following in …

---

## [RubyGems or packages or both?](https://www.ruby-forum.com/t/rubygems-or-packages-or-both/99633)

<div class="topic-metadata">

**Author:** [@rhaus](https://www.ruby-forum.com/u/rhaus)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/rubygems-or-packages-or-both/99633 "2006-07-25T22:28:40Z")

</div>

I am puzzled as to what the recommended way to install packages (from the point of view of Ruby developers) should be: RubyGems or distribution-specific (Linux)packages for each (Ruby)package? I am asking because Ubun…

---

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

<div class="topic-metadata">

**Author:** [@Lukasz](https://www.ruby-forum.com/u/Lukasz)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 12:28am UTC](https://www.ruby-forum.com/t/question-about-layout/99611 "2006-07-25T00:28:52Z")

</div>

Hey, I couldn’t find answer for this question for quite long, I hope some one will explain to me why layout specified in application.rb is not displayed properly on all views? I mean some divs are displayed wrong or…

---

## [How to use variables in your layout views?](https://www.ruby-forum.com/t/how-to-use-variables-in-your-layout-views/99440)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/how-to-use-variables-in-your-layout-views/99440 "2006-07-24T17:52:36Z")

</div>

Let’s say I wanted to find 3 products from my database and put them in the layouts/application.rhtml view. Where do I find these 3 products? Do I just do it in application.rhtml? \<% for product in Product.find(:all, :…

---

## [SystemStackError](https://www.ruby-forum.com/t/systemstackerror/98192)

<div class="topic-metadata">

**Author:** [@Mikki\_W](https://www.ruby-forum.com/u/Mikki_W)\
**Replies:** 3\
**Last updated:** [July 13, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/systemstackerror/98192 "2006-07-13T18:51:58Z")

</div>

SystemStackError in GreyController#grey\_search stack level too deep can anybody please enlighten me on this one…any possible way to troubleshoot? thanks, MSN id: removed\_email\_address@domain.invalid

---

## [Scriptaculous Sortable Element Issue](https://www.ruby-forum.com/t/scriptaculous-sortable-element-issue/96156)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [June 27, 2006, 3:31am UTC](https://www.ruby-forum.com/t/scriptaculous-sortable-element-issue/96156 "2006-06-27T03:31:38Z")

</div>

I have a that contains a number of list items, and I’m using the sortable\_element helper to reorder then via drag-and-drop. This works great, however, when I insert a new into the with Ajax, the sortable\_element d…

---

## [Best way to parse Ruby code?](https://www.ruby-forum.com/t/best-way-to-parse-ruby-code/63028)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [June 11, 2006, 7:03am UTC](https://www.ruby-forum.com/t/best-way-to-parse-ruby-code/63028 "2006-06-11T07:03:17Z")

</div>

I’m trying to parse some Ruby code from C#… I just want to scrape out the class/module names and the methods defined for each. Assuming I first throw away comments and string literals, I figured a couple of regular ex…

---

## [Writing tests for plugins](https://www.ruby-forum.com/t/writing-tests-for-plugins/59259)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/writing-tests-for-plugins/59259 "2006-05-03T19:06:32Z")

</div>

I’ve been googling around trying to find some tips on creating tests for plugins. Am I correct in assuming that I’d have to have the tests as part of a rails app in order to test the plugin? I’d like to find a way t…

---

## [Acts\_as\_taggable gem: deleting tags](https://www.ruby-forum.com/t/acts-as-taggable-gem-deleting-tags/94250)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 3\
**Last updated:** [April 26, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-gem-deleting-tags/94250 "2006-04-26T21:23:29Z")

</div>

I have the following quick-and-dirty hack in my model: def after\_destroy # search for orphaned tags and delete them orphans = Resource.tags\_count :count =\> ‘= 0’ orphans.keys.each {|tag| Tags.find\_by\_name(‘tag’).dest…

---

## [Irreversible Migrations](https://www.ruby-forum.com/t/irreversible-migrations/57023)

<div class="topic-metadata">

**Author:** [@halfgaar](https://www.ruby-forum.com/u/halfgaar)\
**Replies:** 3\
**Last updated:** [April 13, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/irreversible-migrations/57023 "2006-04-13T17:41:01Z")

</div>

Hi, To make a migration irreversable, one has to execute “raise IrreversibleMigration”. This is how it’s documented everywhere. However, when I do that, I get this: rake aborted! uninitialized constant IrreversibleM…

---

## [Migrations: how to have all data dumped into rb?](https://www.ruby-forum.com/t/migrations-how-to-have-all-data-dumped-into-rb/55698)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/migrations-how-to-have-all-data-dumped-into-rb/55698 "2006-03-23T16:48:36Z")

</div>

Hi, I dumped the schema using rake db\_schema\_dump. Now how do I create a migration containing all the data I have in my dev db ? – Jean-Christophe M.

---

## [Basic question](https://www.ruby-forum.com/t/basic-question/85357)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 22, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/basic-question/85357 "2006-03-22T17:16:18Z")

</div>

Hello, Suppose “OOO.csv” is a data file with 9 columns, and I want to create a new file that is consisted of 2nd, 5th, and 7th columns of the OOO.csv (i.e., subset of the original), how do I do this? Thanks.

---

## [Before\_filter question](https://www.ruby-forum.com/t/before-filter-question/79542)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [March 10, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/before-filter-question/79542 "2006-03-10T20:06:50Z")

</div>

Let’s say I’m using before\_filter in my controller: before\_filter :setup def setup # do something here end Is there any way my setup method can know which action is really about to be called? Let’s say I want to l…

---

## [Is there really a restart task in switchtower? How do you in](https://www.ruby-forum.com/t/is-there-really-a-restart-task-in-switchtower-how-do-you-in/54093)

<div class="topic-metadata">

**Author:** [@aseldo](https://www.ruby-forum.com/u/aseldo)\
**Replies:** 3\
**Last updated:** [February 23, 2006, 12:40am UTC](https://www.ruby-forum.com/t/is-there-really-a-restart-task-in-switchtower-how-do-you-in/54093 "2006-02-23T00:40:42Z")

</div>

I just created a new rails project “test”. I then did “switchtower --apply-to ~/user/test test” I then moved into test and tried “rake restart” and got: kfelkins@lurch:~/user/test$ rake restart (in /home/kfelkins/use…

---

## [Accounts and subdomains](https://www.ruby-forum.com/t/accounts-and-subdomains/70564)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [February 19, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/accounts-and-subdomains/70564 "2006-02-19T23:05:40Z")

</div>

With reference to a previous post:Sortable list (scriptalicious) and updating database - Rails - Ruby-Forum I would like my app to function as follows: A new user signs up for my application, his username is “andy”. W…

---

## [Native cross-compiling (-packing) with GUI](https://www.ruby-forum.com/t/native-cross-compiling-packing-with-gui/51013)

<div class="topic-metadata">

**Author:** [@Meillo\_r\_e\_t\_u\_r\_n\_S](https://www.ruby-forum.com/u/Meillo_r_e_t_u_r_n_S)\
**Replies:** 3\
**Last updated:** [December 23, 2005, 9:49pm UTC](https://www.ruby-forum.com/t/native-cross-compiling-packing-with-gui/51013 "2005-12-23T21:49:06Z")

</div>

Hi community, i’m brand new to Ruby, but i like what i’ve seen by now. After some time with Lazarus ( http://lazarus.freepascal.org ) and gcj ( http://gcc.gnu.org/java ) i unfortunately haven’t found what i am really …

---

## [More habtm - complex join](https://www.ruby-forum.com/t/more-habtm-complex-join/61156)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 3\
**Last updated:** [December 5, 2005, 3:06am UTC](https://www.ruby-forum.com/t/more-habtm-complex-join/61156 "2005-12-05T03:06:20Z")

</div>

given \[ahoward@localhost rest\]$ cat schema.sql create table people ( id serial, first\_name text, last\_name text ); create table students ( id serial, person\_id int ); create table teachers ( id serial, perso…

---

## [Leopard + mysql](https://www.ruby-forum.com/t/leopard-mysql/118616)

<div class="topic-metadata">

**Author:** [@x43](https://www.ruby-forum.com/u/x43)\
**Replies:** 6\
**Last updated:** [October 29, 2007, 11:41pm UTC](https://www.ruby-forum.com/t/leopard-mysql/118616 "2007-10-29T23:41:45Z")

</div>

Hello: I am trying to connect to a remote mysql server via ruby with require mysql tag. I am seeing the following error : dbconnect.rb:4:in \`require’: no such file to load – mysql (LoadError) from dbconnect.rb:4 An…

---

## [Tell link\_to explicitly what route to use?](https://www.ruby-forum.com/t/tell-link-to-explicitly-what-route-to-use/65671)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 6\
**Last updated:** [August 20, 2006, 3:12pm UTC](https://www.ruby-forum.com/t/tell-link-to-explicitly-what-route-to-use/65671 "2006-08-20T15:12:43Z")

</div>

Hi all Is there a way to tell link\_to explicitly what route it must use to construct the link URL? Because I have some very similar looking routes… Thanks for info, Joshua

---

## [Application not accesible](https://www.ruby-forum.com/t/application-not-accesible/211037)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [August 25, 2011, 9:00am UTC](https://www.ruby-forum.com/t/application-not-accesible/211037 "2011-08-25T09:00:55Z")

</div>

I have installed nginx + passenger on my VPS with Centos 5.4. I have installed my application and my nginx config is as follows. http { passenger\_root /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.8; passenger\_ruby…

---

## [Update on shoes?](https://www.ruby-forum.com/t/update-on-shoes/179169)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 5\
**Last updated:** [November 18, 2009, 10:53pm UTC](https://www.ruby-forum.com/t/update-on-shoes/179169 "2009-11-18T22:53:30Z")

</div>

I used to use shoes all the time. I just recently started again and realized that when you package an app it looks for hackeyhack.net to download shoes. I’m curious if there is a new URL I can change that to, or if th…

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

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