# Top

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

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

---

## [Moving js to vendor/assets/javascripts/ is not picked up](https://www.ruby-forum.com/t/moving-js-to-vendor-assets-javascripts-is-not-picked-up/211065)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [August 26, 2011, 12:54pm UTC](https://www.ruby-forum.com/t/moving-js-to-vendor-assets-javascripts-is-not-picked-up/211065 "2011-08-26T12:54:40Z")

</div>

Hey all, quick question. I am using Rails 3.1 rc5 and when I move my vendor js libraries to vendor/assets/javascripts, the browser does not receive them. Is there something I need to to in order for this to happen? I …

---

## [N210 recovery, no luck](https://www.ruby-forum.com/t/n210-recovery-no-luck/209088)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 6, 2011, 1:09pm UTC](https://www.ruby-forum.com/t/n210-recovery-no-luck/209088 "2011-07-06T13:09:47Z")

</div>

Hi all, I was setting one of our N210 we got last week, while flushing the firmware the procedure (normaly it takes one second) stopped this way: USRP-N2XX found. Flash size: 4194304 Sector size: 65536 Begin firmw…

---

## [Status of Rails.application.routes.recognize\_path()](https://www.ruby-forum.com/t/status-of-rails-application-routes-recognize-path/208580)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [June 21, 2011, 11:25pm UTC](https://www.ruby-forum.com/t/status-of-rails-application-routes-recognize-path/208580 "2011-06-21T23:25:00Z")

</div>

This might be more a question for the guys in the “Ruby on Rails: Core” group, but I’ll try it out here first… So, while writing a gem (engine) for rails, I found that I needed to have my app (in a pre-filter) direct…

---

## [Cumsum block on GRC](https://www.ruby-forum.com/t/cumsum-block-on-grc/206694)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 7, 2011, 4:55pm UTC](https://www.ruby-forum.com/t/cumsum-block-on-grc/206694 "2011-05-07T16:55:12Z")

</div>

Hi List, I am trying to write a block, that finds the cumulative sum of the points. But when i run the block on GRC, the output of the block becomes as in the attached figure. It wraps for a period of time. I expect …

---

## [Java method needs an "int", but gets a "long"](https://www.ruby-forum.com/t/java-method-needs-an-int-but-gets-a-long/140727)

<div class="topic-metadata">

**Author:** [@s450r1](https://www.ruby-forum.com/u/s450r1)\
**Replies:** 3\
**Last updated:** [April 26, 2011, 9:40pm UTC](https://www.ruby-forum.com/t/java-method-needs-an-int-but-gets-a-long/140727 "2011-04-26T21:40:06Z")

</div>

Hi, I’m trying to call a javax.crypto.Cipher.init method\[1\] in JRuby. Here’s a jirb excerpt: cipher.init(javax.crypto.Cipher::WRAP\_MODE, key\_spec) NameError: no init with arguments matching \[class java.lang.Long, cl…

---

## [Massive fixtures will kill](https://www.ruby-forum.com/t/massive-fixtures-will-kill/205572)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 9, 2011, 6:47am UTC](https://www.ruby-forum.com/t/massive-fixtures-will-kill/205572 "2011-04-09T06:47:52Z")

</div>

Hey there, I’ve just tried to load a massive CSV fixture file of about 2700000 lines (cites, locations etc). Not surprisingly it died half way through. Does anyone know how to load such an amount of data? Maybe splitt…

---

## [Libreria C++](https://www.ruby-forum.com/t/libreria-c/200085)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 23, 2011, 6:43pm UTC](https://www.ruby-forum.com/t/libreria-c/200085 "2011-01-23T18:43:15Z")

</div>

Qualcuno sa dirmi come si usa una libreria scritta in C++?

---

## [nginX - public\_html - multiple CMS](https://www.ruby-forum.com/t/nginx-public-html-multiple-cms/201151)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 1, 2011, 5:36am UTC](https://www.ruby-forum.com/t/nginx-public-html-multiple-cms/201151 "2011-01-01T05:36:10Z")

</div>

Hi Can nginX have configuration like apache user’s public\_html ? I have system where I wanna implement multiple user directory where each user can build his own site using Drupal and Wordpress… each with it’s own cle…

---

## [Utilizzare Rails su un server Microsoft Windows 2003 Server: come?](https://www.ruby-forum.com/t/utilizzare-rails-su-un-server-microsoft-windows-2003-server-come/199147)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [December 4, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/utilizzare-rails-su-un-server-microsoft-windows-2003-server-come/199147 "2010-12-04T13:04:17Z")

</div>

Ciao. Per il mio progetto Rails che devo sviluppare mi è stato chiesto di farlo su un server Microsoft Windows 2003 Server. Detto questo, secondo voi qual’è la miglior soluzione per fare questa cosa? Ho letto che si…

---

## [\[rails\] shoud I test validate\_presentence\_of series?](https://www.ruby-forum.com/t/rails-shoud-i-test-validate-presentence-of-series/191950)

<div class="topic-metadata">

**Author:** [@rubyernewbie](https://www.ruby-forum.com/u/rubyernewbie)\
**Replies:** 3\
**Last updated:** [July 22, 2010, 3:30am UTC](https://www.ruby-forum.com/t/rails-shoud-i-test-validate-presentence-of-series/191950 "2010-07-22T03:30:18Z")

</div>

Suppose I have a model Forum, have some attributes, title, content, tag.so I do it in Forum model. validates\_presence\_of :title validates\_presence\_of :tag validates\_presence\_of :content. when I added validateds\_pres…

---

## [Psk modulation](https://www.ruby-forum.com/t/psk-modulation/191554)

<div class="topic-metadata">

**Author:** [@EsserIHF](https://www.ruby-forum.com/u/EsserIHF)\
**Replies:** 3\
**Last updated:** [July 15, 2010, 10:51am UTC](https://www.ruby-forum.com/t/psk-modulation/191554 "2010-07-15T10:51:25Z")

</div>

Hi everyone, I am trying to do a PSK-Modulation. For that i use the dpsk-block and choose dbpsk which should be the same as psk-modulation. I connect the USRP with a oscilloscope, but i didn’t get the expected outpu…

---

## [Custom default form builder in Rails 3](https://www.ruby-forum.com/t/custom-default-form-builder-in-rails-3/190590)

<div class="topic-metadata">

**Author:** [@regnever](https://www.ruby-forum.com/u/regnever)\
**Replies:** 3\
**Last updated:** [June 24, 2010, 10:28am UTC](https://www.ruby-forum.com/t/custom-default-form-builder-in-rails-3/190590 "2010-06-24T10:28:37Z")

</div>

Hello everyone, I am trying to set a default custom form builder. I have defined my form builder class in “lib/mymodule/mybuilder.rb” as: module Mymodule class Mybuilder \< ActionView::Helpers::FormBuilder … end e…

---

## [Installing plugin for Facebooker using git](https://www.ruby-forum.com/t/installing-plugin-for-facebooker-using-git/189282)

<div class="topic-metadata">

**Author:** [@Rajiv\_N](https://www.ruby-forum.com/u/Rajiv_N)\
**Replies:** 3\
**Last updated:** [May 29, 2010, 4:27am UTC](https://www.ruby-forum.com/t/installing-plugin-for-facebooker-using-git/189282 "2010-05-29T04:27:12Z")

</div>

I am trying the following tutorial for facebook using Jruby on Rails http://www.nolanconsul.com/articles/facebooker-tutorial/ One of the steps is rails mygreatapp cd mygreatapp script/plugin install git://github.c…

---

## [Link\_to\_function: comportamento strano](https://www.ruby-forum.com/t/link-to-function-comportamento-strano/185745)

<div class="topic-metadata">

**Author:** [@mckracken](https://www.ruby-forum.com/u/mckracken)\
**Replies:** 3\
**Last updated:** [March 25, 2010, 2:58pm UTC](https://www.ruby-forum.com/t/link-to-function-comportamento-strano/185745 "2010-03-25T14:58:27Z")

</div>

Salve a tutti, ho questi due segmenti di codice: \<%= link\_to\_function "Aggiungi un messaggio", "Element.show('message\_form'); Element.hide('add\_comment'); Element.show('hide\_form');", :id =\> "add\_comment" %\> \<%= link\_t…

---

## [How to call javascript function in A site?](https://www.ruby-forum.com/t/how-to-call-javascript-function-in-a-site/183048)

<div class="topic-metadata">

**Author:** [@junyan](https://www.ruby-forum.com/u/junyan)\
**Replies:** 3\
**Last updated:** [February 9, 2010, 1:13pm UTC](https://www.ruby-forum.com/t/how-to-call-javascript-function-in-a-site/183048 "2010-02-09T13:13:55Z")

</div>

Hello, rubiers. now, I wanna call some functions in A site that was already implemented by another company. ( I don’t know internal… just nothing…) anyway, there are several javascript functions in there what I want …

---

## [CSV upload to database](https://www.ruby-forum.com/t/csv-upload-to-database/173596)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 3\
**Last updated:** [August 11, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/csv-upload-to-database/173596 "2009-08-11T23:03:29Z")

</div>

Hello all, I’m a newbie with Ruby on Rails. So far, 3 weeks and counting. I’m really a PHP guy with a department that changed its development platform. But enough of the chit chat. My project consists of a “Project” …

---

## [Render a whole HTML page after an Ajax request: possible?](https://www.ruby-forum.com/t/render-a-whole-html-page-after-an-ajax-request-possible/171865)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 3\
**Last updated:** [July 10, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/render-a-whole-html-page-after-an-ajax-request-possible/171865 "2009-07-10T14:55:13Z")

</div>

Hi there, Suppose: ‘action A’ was launched by an Ajax request Question: Is it possible to somehow render a whole HTML page (not only return a part of the page), or redirect (within ‘action A’) to an ‘action B’ (whic…

---

## [Adding specs to engines](https://www.ruby-forum.com/t/adding-specs-to-engines/169814)

<div class="topic-metadata">

**Author:** [@ru\_ghetto](https://www.ruby-forum.com/u/ru_ghetto)\
**Replies:** 3\
**Last updated:** [June 10, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/adding-specs-to-engines/169814 "2009-06-10T20:00:50Z")

</div>

I am breaking an app into a bunch of rails 2.x style engine plugins. The app is already tested with rspec and I am trying to figure out how to get autotest or even rake spec to run the examples in the plugins. Thanks …

---

## [URL cloaking?](https://www.ruby-forum.com/t/url-cloaking/169731)

<div class="topic-metadata">

**Author:** [@lyrix](https://www.ruby-forum.com/u/lyrix)\
**Replies:** 0\
**Last updated:** [June 7, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/url-cloaking/169731 "2009-06-07T23:52:48Z")

</div>

HI, there, is there any gem/plugin out there that does URL cloaking? Ideally if RedCloth has built-in function like that, it would be great. Thanks!

---

## [Regex woes with breaklines](https://www.ruby-forum.com/t/regex-woes-with-breaklines/165190)

<div class="topic-metadata">

**Author:** [@aawilson](https://www.ruby-forum.com/u/aawilson)\
**Replies:** 3\
**Last updated:** [April 10, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/regex-woes-with-breaklines/165190 "2009-04-10T23:47:53Z")

</div>

Hello, all. I’ve been banging my head against this for a little bit, and I’m no closer to a solution. The issue is that I have a string where I would like to gsub all line ends (’\\n’ or ‘\\r\\n’) into ‘ ’, while prese…

---

## [Migrazione a Rails 2.3 e development mode](https://www.ruby-forum.com/t/migrazione-a-rails-2-3-e-development-mode/164068)

<div class="topic-metadata">

**Author:** [@pm3](https://www.ruby-forum.com/u/pm3)\
**Replies:** 3\
**Last updated:** [April 4, 2009, 1:28am UTC](https://www.ruby-forum.com/t/migrazione-a-rails-2-3-e-development-mode/164068 "2009-04-04T01:28:50Z")

</div>

Oggi mi sono accorto che una mia applicazione migrata da 2.1 a 2.3 non vedeva le modifiche che stavo facendo a controller e view. Mi toccava stoppare e rilanciare mongrel tutte le volte. Dopo 3 o 4 iterazioni ho inizi…

---

## [Hash of hashes w/defaults doesn't add keys as expected](https://www.ruby-forum.com/t/hash-of-hashes-w-defaults-doesnt-add-keys-as-expected/162588)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 11, 2009, 6:55pm UTC](https://www.ruby-forum.com/t/hash-of-hashes-w-defaults-doesnt-add-keys-as-expected/162588 "2009-03-11T18:55:42Z")

</div>

Hey All, This surprised me: hash\_hash = Hash.new(Hash.new(0)) hash\_hash\[:foo\]\[:bar\] += 1 hash\_hash\[:foo\]\[:baz\] += 1 puts(hash\_hash\[:foo\].keys.inspect) # =\> \[:baz, :bar\] puts(hash\_hash.keys.inspect) # =\> \[\] …

---

## [Free SMS limit (using sms\_fu)](https://www.ruby-forum.com/t/free-sms-limit-using-sms-fu/161222)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [February 25, 2009, 3:45am UTC](https://www.ruby-forum.com/t/free-sms-limit-using-sms-fu/161222 "2009-02-25T03:45:07Z")

</div>

I have been using SMS\_fu but it seems too good to be true for production. I’m wondering, is there any sort of limit on email to sms depending on the carrier that you can send in a given amount of time? I remember rea…

---

## [Rails testing uses huge number of AUTO INC ids in db](https://www.ruby-forum.com/t/rails-testing-uses-huge-number-of-auto-inc-ids-in-db/159663)

<div class="topic-metadata">

**Author:** [@rasmus](https://www.ruby-forum.com/u/rasmus)\
**Replies:** 3\
**Last updated:** [February 7, 2009, 6:16am UTC](https://www.ruby-forum.com/t/rails-testing-uses-huge-number-of-auto-inc-ids-in-db/159663 "2009-02-07T06:16:36Z")

</div>

Hi there, I’ve recently begun writing tests in rails and I’ve run into a problem. After recreating my test-database and running my few tests ONCE the auto increment ID setting for some of the tables in the test-databa…

---

## [Any eta on the rspec book?](https://www.ruby-forum.com/t/any-eta-on-the-rspec-book/157252)

<div class="topic-metadata">

**Author:** [@twaters](https://www.ruby-forum.com/u/twaters)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 11:46pm UTC](https://www.ruby-forum.com/t/any-eta-on-the-rspec-book/157252 "2009-01-08T23:46:10Z")

</div>

Subject says it all… Thanks in advance, T

---

## [A simple qustion about the attenuator for the SMA cable](https://www.ruby-forum.com/t/a-simple-qustion-about-the-attenuator-for-the-sma-cable/152536)

<div class="topic-metadata">

**Author:** [@sporb](https://www.ruby-forum.com/u/sporb)\
**Replies:** 3\
**Last updated:** [November 5, 2008, 9:22pm UTC](https://www.ruby-forum.com/t/a-simple-qustion-about-the-attenuator-for-the-sma-cable/152536 "2008-11-05T21:22:06Z")

</div>

Hello, all!!! I have a rudimentary question about the attenuator. When I was searching some questions in the archive, I found that some guys mentioned whentesting the transmitter and receiver for daughter board,the an…

---

## [:table\_name\_with\_underscore and join models](https://www.ruby-forum.com/t/table-name-with-underscore-and-join-models/152443)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 3\
**Last updated:** [November 4, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/table-name-with-underscore-and-join-models/152443 "2008-11-04T17:55:01Z")

</div>

Per my PHBs, I’m using ActiveRecord::Base.primary\_key\_prefix\_type = :table\_name\_with\_underscore in my current project. My problem is that this setting seems to be causing me some issues with my join model’s primary …

---

## [Init attributes and set value](https://www.ruby-forum.com/t/init-attributes-and-set-value/151835)

<div class="topic-metadata">

**Author:** [@pure](https://www.ruby-forum.com/u/pure)\
**Replies:** 3\
**Last updated:** [October 26, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/init-attributes-and-set-value/151835 "2008-10-26T17:31:18Z")

</div>

Hey all, sorry for the noob question. But how can i init a big amount of attributes with empty strings. And overwrite the empty string if the field of the form is filled with some value. I try update\_attributes(hash…

---

## [Iterating through a database result](https://www.ruby-forum.com/t/iterating-through-a-database-result/151635)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [October 24, 2008, 10:20am UTC](https://www.ruby-forum.com/t/iterating-through-a-database-result/151635 "2008-10-24T10:20:43Z")

</div>

Hi all, I’ve stumbled again. I’m currently trying to iterate though a result output from PostgreSQL. Here’s the database; I’ve been able to query that I am getting all 5 records, however I don’t seem to be able to it…

---

## [Just a quick question on David's new-controller-examples](https://www.ruby-forum.com/t/just-a-quick-question-on-davids-new-controller-examples/150949)

<div class="topic-metadata">

**Author:** [@codejoy](https://www.ruby-forum.com/u/codejoy)\
**Replies:** 3\
**Last updated:** [October 17, 2008, 12:44am UTC](https://www.ruby-forum.com/t/just-a-quick-question-on-davids-new-controller-examples/150949 "2008-10-17T00:44:13Z")

</div>

http://blog.davidchelimsky.net/2008/7/1/new-controller-examples BTW … great post, thanks :slight\_smile: I was wondering the thinking of this one … describe “responding to POST /accounts” do describe “with failed save…

---

## [Should !=](https://www.ruby-forum.com/t/should/150570)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 3\
**Last updated:** [October 10, 2008, 2:23am UTC](https://www.ruby-forum.com/t/should/150570 "2008-10-10T02:23:11Z")

</div>

I expected ‘should !=’ to act the same as ‘should\_not ==’. That turned out to be incorrect (by design?): require ‘spec’ require ‘spec/rails’ describe “using ‘should !=’” do it “seems to treat != as the same as ==” …

---

## [NoMethodError in rubygems.rb when running autotest](https://www.ruby-forum.com/t/nomethoderror-in-rubygems-rb-when-running-autotest/105220)

<div class="topic-metadata">

**Author:** [@Ed\_Brannin](https://www.ruby-forum.com/u/Ed_Brannin)\
**Replies:** 3\
**Last updated:** [July 16, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-rubygems-rb-when-running-autotest/105220 "2008-07-16T15:55:53Z")

</div>

Hello, I just installed ZenTest last night, but autotest isn’t working: ed-brannins-computer:~/Movies/Screencasts/Peepcode/peepcode-004-testing-4-mov/code/journal\_app ed$ autotest /opt/local/lib/ruby/vendor\_ruby/1.8/…

---

## [Wie speichere ich checkboxen am besten](https://www.ruby-forum.com/t/wie-speichere-ich-checkboxen-am-besten/119324)

<div class="topic-metadata">

**Author:** [@Manuel\_W](https://www.ruby-forum.com/u/Manuel_W)\
**Replies:** 3\
**Last updated:** [November 7, 2007, 2:23am UTC](https://www.ruby-forum.com/t/wie-speichere-ich-checkboxen-am-besten/119324 "2007-11-07T02:23:33Z")

</div>

Hallo Liste, ich habe ein Usermodel und fÃ¼r jeden User soll es Interessen geben, die er mittels checkbox auswahl markieren kann. Die Interessen sind in einer anderen Tabelle Wie sollte das Datenbankdesign dafÃ¼r aus…

---

## [API doc update coming?](https://www.ruby-forum.com/t/api-doc-update-coming/118122)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [October 26, 2007, 1:25am UTC](https://www.ruby-forum.com/t/api-doc-update-coming/118122 "2007-10-26T01:25:42Z")

</div>

I’ve upgraded from 1.9.0 to 1.9.2 and am finding that the errors I’m getting don’t match the docs. For example, in Wx::ListCtrl: The doc makes no mention of on\_get\_item\_column\_image(), but without this method I get…

---

## [Duda gettext](https://www.ruby-forum.com/t/duda-gettext/116562)

<div class="topic-metadata">

**Author:** [@CSSSSsar\_Duque](https://www.ruby-forum.com/u/CSSSSsar_Duque)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 9:58am UTC](https://www.ruby-forum.com/t/duda-gettext/116562 "2007-10-08T09:58:06Z")

</div>

Hola, Alguien conoce algún modo de hacer que si el navegador manda request.env\[“HTTP\_ACCEPT\_LANGUAGE”\] “es”, “es\_AR” o el que fuera gettext lea en #{RAILS\_ROOT}/locale/es\_ES/?. Supongo que se puede hacer quick’n dirt…

---

## [Commentable extension](https://www.ruby-forum.com/t/commentable-extension/116193)

<div class="topic-metadata">

**Author:** [@ar2ras](https://www.ruby-forum.com/u/ar2ras)\
**Replies:** 3\
**Last updated:** [October 3, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/commentable-extension/116193 "2007-10-03T16:14:47Z")

</div>

Hello everyone, I have some problems with Commentable extension: I’ve created the config part with proper values: status: 1 filter: Textile and placed in content part values: \<r:comments:each\> \<r: body /\> \</r:com…

---

## [Cygwin RoR + Windows MySQL Binary == nil](https://www.ruby-forum.com/t/cygwin-ror-windows-mysql-binary-nil/112485)

<div class="topic-metadata">

**Author:** [@dcloutman](https://www.ruby-forum.com/u/dcloutman)\
**Replies:** 3\
**Last updated:** [August 31, 2007, 7:53am UTC](https://www.ruby-forum.com/t/cygwin-ror-windows-mysql-binary-nil/112485 "2007-08-31T07:53:32Z")

</div>

Hi folks. I’m just learning RoR, and I’m trying to get my development environment up and running on my Windows machine. I am working through Patrik Lenz’s book from Sitepoint, but am getting stuck because of the esote…

---

## [Arbitrary sort order for children](https://www.ruby-forum.com/t/arbitrary-sort-order-for-children/113141)

<div class="topic-metadata">

**Author:** [@wonko](https://www.ruby-forum.com/u/wonko)\
**Replies:** 3\
**Last updated:** [August 30, 2007, 5:21am UTC](https://www.ruby-forum.com/t/arbitrary-sort-order-for-children/113141 "2007-08-30T05:21:42Z")

</div>

Hi, I am developing a radiant powered web site for a class that I am going to teach that initially has three levels of pages in the parent-child hierarchy, the home page, lessons, lesson-parts. I would like to be abl…

---

## [Question about the gallery extension](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789)

<div class="topic-metadata">

**Author:** [@travisbell](https://www.ruby-forum.com/u/travisbell)\
**Replies:** 3\
**Last updated:** [July 19, 2007, 6:14pm UTC](https://www.ruby-forum.com/t/question-about-the-gallery-extension/109789 "2007-07-19T18:14:12Z")

</div>

Hey guys, I have a quick question about the gallery extension I was hoping someone could answer for me. Is there any way to have a resize option as well as the current crop? (By the way, that ROCKS). Thanks! – Tra…

---

## [Trying to use regex](https://www.ruby-forum.com/t/trying-to-use-regex/107304)

<div class="topic-metadata">

**Author:** [@merrittr](https://www.ruby-forum.com/u/merrittr)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/trying-to-use-regex/107304 "2007-06-20T16:42:51Z")

</div>

hi i am trying to strip out text between body tags but when run it i get: rob@rob-laptop:~/ruby$ ./html2.rb ./html2.rb:14: unknown regexp options - bdy ./html2.rb:14: unterminated string meets end of file ./html2.r…

---

## [SWFUpload problem](https://www.ruby-forum.com/t/swfupload-problem/107039)

<div class="topic-metadata">

**Author:** [@DavidB](https://www.ruby-forum.com/u/DavidB)\
**Replies:** 3\
**Last updated:** [June 17, 2007, 5:37pm UTC](https://www.ruby-forum.com/t/swfupload-problem/107039 "2007-06-17T17:37:38Z")

</div>

I am trying to use SWF Upload to upload images to my rails application WHen I try to upload a file using a normal HTML upload form, it works just fine. In other words, the upload method in my controller reads the file…

---

## [Ruby irc channels?](https://www.ruby-forum.com/t/ruby-irc-channels/104640)

<div class="topic-metadata">

**Author:** [@glacius](https://www.ruby-forum.com/u/glacius)\
**Replies:** 3\
**Last updated:** [May 21, 2007, 7:51am UTC](https://www.ruby-forum.com/t/ruby-irc-channels/104640 "2007-05-21T07:51:10Z")

</div>

Are there any good ruby irc channels?

---

## [Automatic numbering of form components](https://www.ruby-forum.com/t/automatic-numbering-of-form-components/103787)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 2:59am UTC](https://www.ruby-forum.com/t/automatic-numbering-of-form-components/103787 "2007-05-11T02:59:54Z")

</div>

Hi, Does anyone how to automatically put sequence number in view? I have an inquiry form like below. However, the number of questions is more than 70, and they are deleted and/reordered in the future. So, I do not w…

---

## [Ruby Gem Creates Broken Batch File for Rake](https://www.ruby-forum.com/t/ruby-gem-creates-broken-batch-file-for-rake/91594)

<div class="topic-metadata">

**Author:** [@runxc](https://www.ruby-forum.com/u/runxc)\
**Replies:** 3\
**Last updated:** [April 10, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/ruby-gem-creates-broken-batch-file-for-rake/91594 "2007-04-10T21:42:09Z")

</div>

Recently I have been integrating Rake with Nant. Specifically, I have been creating Nant tasks that trigger Rake. In the process of doing this, I have run into a problem: namely when Rake fails, Nant thinks that it su…

---

## [Une base SQL vers RoR](https://www.ruby-forum.com/t/une-base-sql-vers-ror/90693)

<div class="topic-metadata">

**Author:** [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Replies:** 3\
**Last updated:** [April 3, 2007, 8:36am UTC](https://www.ruby-forum.com/t/une-base-sql-vers-ror/90693 "2007-04-03T08:36:26Z")

</div>

Bonjour, Je suis dÃ©butant Ã RoR et je souhaite crÃ©er un site fonctionnant avec une base de donnÃ©es. Si j’ai bien compris, lorsque l’on crÃ©e un site avec une base de donnÃ©es, il faut enregistrer sa structure dan…

---

## [Recursive send](https://www.ruby-forum.com/t/recursive-send/82610)

<div class="topic-metadata">

**Author:** [@cuspendlove](https://www.ruby-forum.com/u/cuspendlove)\
**Replies:** 3\
**Last updated:** [January 23, 2007, 9:06am UTC](https://www.ruby-forum.com/t/recursive-send/82610 "2007-01-23T09:06:15Z")

</div>

I posted this to the Dallas Ruby Brigade, but thought it might be interesting for the larger Ruby audience. Your comments, questions, and complete debunking of why something like this is even necessary are welcomed. …

---

## [Conditional variable assignment from array](https://www.ruby-forum.com/t/conditional-variable-assignment-from-array/82906)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 3\
**Last updated:** [January 22, 2007, 11:41am UTC](https://www.ruby-forum.com/t/conditional-variable-assignment-from-array/82906 "2007-01-22T11:41:01Z")

</div>

one of my methods receives a sort parameter either as params =\> {“sort”=\>{“criteria”=\>“1”} } OR params =\> {“sort”=\>“1”} presently, I assign a variable @sc as follows : params\[:sort\].nil? ? @sc = “1” : @sc = para…

---

## [Question sur un effet toggle](https://www.ruby-forum.com/t/question-sur-un-effet-toggle/82372)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/question-sur-un-effet-toggle/82372 "2007-01-19T16:31:54Z")

</div>

Salut à tous, J’utilise un effet toggle ainsi: \<%= link\_to\_function “edit this item”, “Element.toggle(‘editdiv’)” %\> blabla blabla blabla blabla roror roror roror Ça marche bien mais en fait ce que j…

---

## [Including .html and .php files](https://www.ruby-forum.com/t/including-html-and-php-files/79683)

<div class="topic-metadata">

**Author:** [@patwa](https://www.ruby-forum.com/u/patwa)\
**Replies:** 3\
**Last updated:** [December 18, 2006, 6:57am UTC](https://www.ruby-forum.com/t/including-html-and-php-files/79683 "2006-12-18T06:57:30Z")

</div>

Hello. It’s been a long night of trying to get thisapplication developed so forgive me if this post is a bit messed up. Is there a way to ‘include’ html files in an rhtml file? I have a standard.rhtml file in my lay…

---

## [Blocking/accepting params according to @member.admin?](https://www.ruby-forum.com/t/blocking-accepting-params-according-to-member-admin/75165)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 11:08pm UTC](https://www.ruby-forum.com/t/blocking-accepting-params-according-to-member-admin/75165 "2006-11-07T23:08:33Z")

</div>

I have a submission form that displays additional fields if the logged-in member is an admin. To be secure, I don’t want these particular params to be accepted at all (when the form is submitted) if the member isn’t a…

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

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