# Top

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

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

---

## [ym4r/GM GLatLng and RJS](https://www.ruby-forum.com/t/ym4r-gm-glatlng-and-rjs/69412)

<div class="topic-metadata">

**Author:** [@shaper](https://www.ruby-forum.com/u/shaper)\
**Replies:** 3\
**Last updated:** [February 9, 2010, 7:26pm UTC](https://www.ruby-forum.com/t/ym4r-gm-glatlng-and-rjs/69412 "2010-02-09T19:26:30Z")

</div>

I’m stepping through a variant of the tutorial for the ym4r/GM mapping library here: and with heavily simplified code I’m basically doing this in the controller (assume @map and @zoom are all good): @center = G…

---

## [Finding duplicate data](https://www.ruby-forum.com/t/finding-duplicate-data/179950)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 3\
**Last updated:** [December 8, 2009, 6:22pm UTC](https://www.ruby-forum.com/t/finding-duplicate-data/179950 "2009-12-08T18:22:47Z")

</div>

Hello, I have a database with the following fields: id, created\_at, updated\_at, study\_date, user\_id, modality\_id, count In other words, a rather normal Rails database. I had some issues getting ‘study\_date’ to play n…

---

## [\[Cucumber\] how to get name from scenario hook?](https://www.ruby-forum.com/t/cucumber-how-to-get-name-from-scenario-hook/167004)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 3\
**Last updated:** [May 2, 2009, 6:27am UTC](https://www.ruby-forum.com/t/cucumber-how-to-get-name-from-scenario-hook/167004 "2009-05-02T06:27:28Z")

</div>

Hi, Given the hook: After do |scenario| end How do I get the name of the scenario from the scenario parameter? scenario.name doesn’t work, and I looked through the source code and it was not immediately obvious to…

---

## [GRANT: help me!](https://www.ruby-forum.com/t/grant-help-me/149434)

<div class="topic-metadata">

**Author:** [@zarabadoo](https://www.ruby-forum.com/u/zarabadoo)\
**Replies:** 8\
**Last updated:** [September 25, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/grant-help-me/149434 "2008-09-25T12:28:47Z")

</div>

I have a database with grants commands setted (for admin, user, …). How can I connect each users with database (according with db rules) in rails? When rails application start it is connected according database.yml… …

---

## [Depurar en rails](https://www.ruby-forum.com/t/depurar-en-rails/144326)

<div class="topic-metadata">

**Author:** [@leonard2](https://www.ruby-forum.com/u/leonard2)\
**Replies:** 3\
**Last updated:** [August 1, 2008, 11:55am UTC](https://www.ruby-forum.com/t/depurar-en-rails/144326 "2008-08-01T11:55:45Z")

</div>

hola lista, quisiera saber que usan ustedes para depurar el cÃ³digo en rails, ya que yo lo hago a prueba y error, y eso me toma mucho tiempo porque nose realmente en que estoy fallando. ademas de que en esa forma me…

---

## [Libxml support](https://www.ruby-forum.com/t/libxml-support/140652)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 3\
**Last updated:** [June 19, 2008, 3:14am UTC](https://www.ruby-forum.com/t/libxml-support/140652 "2008-06-19T03:14:41Z")

</div>

Hello, I am trying to convert app from Rails 2.1 to Jruby. One of the required gems is libxml-ruby but i get the following error when doing a gem install from jruby: Building native extensions. This could take a wh…

---

## [Error and fix for Styles N Scripts extension and/or in Radiant](https://www.ruby-forum.com/t/error-and-fix-for-styles-n-scripts-extension-and-or-in-radiant/139477)

<div class="topic-metadata">

**Author:** [@jsmorris](https://www.ruby-forum.com/u/jsmorris)\
**Replies:** 3\
**Last updated:** [June 4, 2008, 7:13pm UTC](https://www.ruby-forum.com/t/error-and-fix-for-styles-n-scripts-extension-and-or-in-radiant/139477 "2008-06-04T19:13:32Z")

</div>

I had to add the following line (@ line 12) to the styles\_n\_scripts\_extension.rb file to prevent radiant 0.6.7 from throwing when visiting the extensions page. … 11: description “Adds CSS and JS file management to R…

---

## [TreeTop: dealing with Grammars in multiple files?](https://www.ruby-forum.com/t/treetop-dealing-with-grammars-in-multiple-files/128364)

<div class="topic-metadata">

**Author:** [@philthompson](https://www.ruby-forum.com/u/philthompson)\
**Replies:** 3\
**Last updated:** [February 29, 2008, 5:31am UTC](https://www.ruby-forum.com/t/treetop-dealing-with-grammars-in-multiple-files/128364 "2008-02-29T05:31:00Z")

</div>

I know that you can include one grammar into another like so: grammar foo include Bar\_grammar end But what if Bar\_grammar is defined in a different file? I tried: load\_grammar “Bar\_grammar” grammar Foo include Ba…

---

## [Fixtures sin id y tests funcionales](https://www.ruby-forum.com/t/fixtures-sin-id-y-tests-funcionales/124156)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 3\
**Last updated:** [December 25, 2007, 7:22pm UTC](https://www.ruby-forum.com/t/fixtures-sin-id-y-tests-funcionales/124156 "2007-12-25T19:22:16Z")

</div>

En Rails 2 ya no hace falta indicar el id en las fixtures: lo genera automáticamente según el hash de su etiqueta. Esto es cómodo pero después resulta que los tests de controlador generados por el scaffold sí que los …

---

## [Extract consecutive lines of data](https://www.ruby-forum.com/t/extract-consecutive-lines-of-data/121179)

<div class="topic-metadata">

**Author:** [@baptiste\_AuguiSSSS](https://www.ruby-forum.com/u/baptiste_AuguiSSSS)\
**Replies:** 8\
**Last updated:** [November 25, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/extract-consecutive-lines-of-data/121179 "2007-11-25T16:47:45Z")

</div>

Hi, A basic question: how to extract several consecutive lines of numbers in a text file (example below) and assign them to some GSL::Matrix in Ruby? text file: some more text from which i would like to create th…

---

## [Beginning a statistics application](https://www.ruby-forum.com/t/beginning-a-statistics-application/101242)

<div class="topic-metadata">

**Author:** [@chrisfinne](https://www.ruby-forum.com/u/chrisfinne)\
**Replies:** 8\
**Last updated:** [November 17, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/beginning-a-statistics-application/101242 "2007-11-17T15:15:41Z")

</div>

Hi all, I need to write an application that gets data from a database and plots it on a graph. I am familiar with java and know that I could do it with jfreechart - however I am excited by RoR and would like to write…

---

## [Rake spec:rcov failing](https://www.ruby-forum.com/t/rake-spec-rcov-failing/118491)

<div class="topic-metadata">

**Author:** [@sthorpe](https://www.ruby-forum.com/u/sthorpe)\
**Replies:** 3\
**Last updated:** [November 1, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/rake-spec-rcov-failing/118491 "2007-11-01T21:25:28Z")

</div>

Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) - When running rake spec:rcov, I’m getting the following: Finished in 245.717813 seconds 856 examples, 0 failures, 48 pending /usr/local/lib/ruby/1.8/rexml/text…

---

## [iTerm and Ruby::OSA](https://www.ruby-forum.com/t/iterm-and-ruby-osa/118551)

<div class="topic-metadata">

**Author:** [@mattmcswain](https://www.ruby-forum.com/u/mattmcswain)\
**Replies:** 3\
**Last updated:** [October 29, 2007, 12:00pm UTC](https://www.ruby-forum.com/t/iterm-and-ruby-osa/118551 "2007-10-29T12:00:54Z")

</div>

Hi. I wonder if anyone has successfully gotten iTerm to open a new session within a terminal window and execute commands using RubyOSA? http://rubyosa.rubyforge.org/ I can do this from the Apple ScriptEditor but not …

---

## [Test/win32ole](https://www.ruby-forum.com/t/test-win32ole/112634)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 8\
**Last updated:** [August 22, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/test-win32ole/112634 "2007-08-22T23:49:21Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(Bmswin32 e$B$G$Ne(B test/win32ole e$B$,\<B9TCf$K0\[\>o=\*N;$9$k$N$G$9$,!$$I$J$+e(B e$B$??4Ev$?$j$O$"$j$^$9$G$7$g$&$+!%e(B test\_invokeverb(TestInvokeVerb): E test\_ole\_methods(TestMyDict): . …

---

## [Find\_all on an array of ActiveRecords](https://www.ruby-forum.com/t/find-all-on-an-array-of-activerecords/109935)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 3\
**Last updated:** [July 20, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/find-all-on-an-array-of-activerecords/109935 "2007-07-20T13:09:01Z")

</div>

In my project, an account has\_many entries and an entry has\_and\_belongs\_to\_many tags. I want to find all of the entries for an account which are tagged with “some specific tag” The code which I thought would do this …

---

## [\[ANN\] DOM Popup Kit](https://www.ruby-forum.com/t/ann-dom-popup-kit/88975)

<div class="topic-metadata">

**Author:** [@Stuart\_R](https://www.ruby-forum.com/u/Stuart_R)\
**Replies:** 3\
**Last updated:** [March 18, 2007, 5:00am UTC](https://www.ruby-forum.com/t/ann-dom-popup-kit/88975 "2007-03-18T05:00:29Z")

</div>

DOM Popup is a lightweight general purpose JavaScript DOM element popup class. This single class can create tooltips, dropdown menus, modal and non-modal popup elements. Popups can be draggable and have auto-close o…

---

## [PDF Appender?](https://www.ruby-forum.com/t/pdf-appender/87241)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/pdf-appender/87241 "2007-03-01T15:00:34Z")

</div>

Hey All, Let’s say I had a .pdf file and a .txt file, and I wanted to append the contents of the text to the .pdf. The text doesn’t have to look pretty, it just has to be searchable (the pdf has an image of the text …

---

## [Fwd: \[ruby.mn\] RailsConf pricing](https://www.ruby-forum.com/t/fwd-ruby-mn-railsconf-pricing/83866)

<div class="topic-metadata">

**Author:** [@Aitor\_Garcia\_R](https://www.ruby-forum.com/u/Aitor_Garcia_R)\
**Replies:** 3\
**Last updated:** [January 31, 2007, 2:30pm UTC](https://www.ruby-forum.com/t/fwd-ruby-mn-railsconf-pricing/83866 "2007-01-31T14:30:18Z")

</div>

Imagino que quizas a alguno dispuesto a viajar un poco para saber que se cuece en el core (Xavier, Manuel maybe?) le interesara el tema que he leido ayer en el la lista de usuarios de Minnesota: ---------- Forwarded m…

---

## [Win32OLE: how to pass parameters by reference?](https://www.ruby-forum.com/t/win32ole-how-to-pass-parameters-by-reference/80969)

<div class="topic-metadata">

**Author:** [@breko](https://www.ruby-forum.com/u/breko)\
**Replies:** 3\
**Last updated:** [January 6, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/win32ole-how-to-pass-parameters-by-reference/80969 "2007-01-06T19:18:08Z")

</div>

Hi, I need to call an OLE method that takes a VARIANT argument, and fills it with data. How can I accomplish this? Somewhere in the ruby-cvs attic I’ve found WIN32OLE\_VARIANT, unfortunately it is removed now. Long ob…

---

## [How to implement status codes in DB and Rails](https://www.ruby-forum.com/t/how-to-implement-status-codes-in-db-and-rails/75239)

<div class="topic-metadata">

**Author:** [@aginghipster](https://www.ruby-forum.com/u/aginghipster)\
**Replies:** 3\
**Last updated:** [November 8, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/how-to-implement-status-codes-in-db-and-rails/75239 "2006-11-08T21:23:14Z")

</div>

This is more of a design issue I’m wrestling with, and was wondering what other people are doing. I have a products table with status values of In Stock, Out of Stork or Discontinued. This is unlikely to change any ti…

---

## [Struct (not) accepting attributes](https://www.ruby-forum.com/t/struct-not-accepting-attributes/72718)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 19, 2006, 3:00pm UTC](https://www.ruby-forum.com/t/struct-not-accepting-attributes/72718 "2006-10-19T15:00:36Z")

</div>

Sum = Struct.new(:bla, :“sum(value)”) sum = Sum.new(2, 5) =\> #\<struct Sum bla=2, :“sum(value)”=5\> sum.send(:“sum(value)”) NoMethodError: undefined method sum(value)' for #\<struct Sum bla=2, :"sum(value)"=5\> class X …

---

## [TextMate's command-R throwing errors](https://www.ruby-forum.com/t/textmates-command-r-throwing-errors/71675)

<div class="topic-metadata">

**Author:** [@Jamie\_Orchard-Hays](https://www.ruby-forum.com/u/Jamie_Orchard-Hays)\
**Replies:** 3\
**Last updated:** [October 10, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/textmates-command-r-throwing-errors/71675 "2006-10-10T20:56:47Z")

</div>

I’ve been happily using TextMate’s command-R and command-shift-R to run unit and functional tests forever. Suddenly today, I’m getting this error: NoMethodError: undefined method \`use\_transactional\_fixtures=’ for Tes…

---

## [Depot app stopped working](https://www.ruby-forum.com/t/depot-app-stopped-working/68237)

<div class="topic-metadata">

**Author:** [@nsputnik](https://www.ruby-forum.com/u/nsputnik)\
**Replies:** 3\
**Last updated:** [September 13, 2006, 5:15am UTC](https://www.ruby-forum.com/t/depot-app-stopped-working/68237 "2006-09-13T05:15:10Z")

</div>

On Mac OSX 10.3.9, powerpc-darwin7.9.0. I was followed along in the Agile 2nd Edition pdf beta book and got to the point where I working on the admin, added the code that validates that the fields, and added the CSS f…

---

## [Extracting instance variables from a block?](https://www.ruby-forum.com/t/extracting-instance-variables-from-a-block/101810)

<div class="topic-metadata">

**Author:** [@azraelnewtype](https://www.ruby-forum.com/u/azraelnewtype)\
**Replies:** 3\
**Last updated:** [August 8, 2006, 5:37am UTC](https://www.ruby-forum.com/t/extracting-instance-variables-from-a-block/101810 "2006-08-08T05:37:15Z")

</div>

Hello fellow Rubyists, I am writing a tiny custom web framework, similar in nature to web.py (http://webpy.org/). However, I’d like someone with better metaprogramming-foo to help me clean up some syntax a bit. Here’…

---

## [Method\_missing from Ruby for Rails book](https://www.ruby-forum.com/t/method-missing-from-ruby-for-rails-book/100600)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 8\
**Last updated:** [July 31, 2006, 2:20am UTC](https://www.ruby-forum.com/t/method-missing-from-ruby-for-rails-book/100600 "2006-07-31T02:20:34Z")

</div>

I’m having a problem getting this example from the book to work: class Cookbook attr\_accessor :title, :author def initialize @recipes = \[\] end def method\_missing(m, \*args, &block) @recipes.send(m, \*args, &block) …

---

## ["Page has expired" problem](https://www.ruby-forum.com/t/page-has-expired-problem/61629)

<div class="topic-metadata">

**Author:** [@pazu](https://www.ruby-forum.com/u/pazu)\
**Replies:** 3\
**Last updated:** [July 6, 2006, 10:48am UTC](https://www.ruby-forum.com/t/page-has-expired-problem/61629 "2006-07-06T10:48:04Z")

</div>

Folks, I’ve written a simple, multi-page Rails app which works fine except for one thing: often when my users click the browsers BACK button, they receive the “Warning: Page has Expired” message in IE, with the sugge…

---

## [Textmate "e ." in the Video](https://www.ruby-forum.com/t/textmate-e-in-the-video/47545)

<div class="topic-metadata">

**Author:** [@dandrew.thompson](https://www.ruby-forum.com/u/dandrew.thompson)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/textmate-e-in-the-video/47545 "2005-11-12T12:49:23Z")

</div>

From the newbie corner… In the demo video our illustrious Rails guru summons textmate with “e .” from the command line, magically opening textmate within the context of the respective rails app. I downloaded textma…

---

## [Ruby 1.9 string slicing and StringScanner pointers](https://www.ruby-forum.com/t/ruby-1-9-string-slicing-and-stringscanner-pointers/180196)

<div class="topic-metadata">

**Author:** [@kch](https://www.ruby-forum.com/u/kch)\
**Replies:** 6\
**Last updated:** [December 14, 2009, 10:11pm UTC](https://www.ruby-forum.com/t/ruby-1-9-string-slicing-and-stringscanner-pointers/180196 "2009-12-14T22:11:38Z")

</div>

Hi all, Earlier today I posted this question to Stack Overflow: ruby 1.9: how do I get a byte-index-based slice of a String? - Stack Overflow Basically, it boils down to this: I’m working with UTF-8 strings in Ruby …

---

## [How to DRY up these methods?](https://www.ruby-forum.com/t/how-to-dry-up-these-methods/177448)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 6\
**Last updated:** [October 19, 2009, 3:31am UTC](https://www.ruby-forum.com/t/how-to-dry-up-these-methods/177448 "2009-10-19T03:31:13Z")

</div>

I’ve clearly go a lot of repetition in the following methods: def name=(value) write\_attribute(:name, if \[0,“0”,""," “\].include? value then nil else value end) end def address=(value) write\_attribute(:address, if \[…

---

## [\[Newb\] Adding database fields to get a total](https://www.ruby-forum.com/t/newb-adding-database-fields-to-get-a-total/174308)

<div class="topic-metadata">

**Author:** [@KRKRKR](https://www.ruby-forum.com/u/KRKRKR)\
**Replies:** 6\
**Last updated:** [August 25, 2009, 5:41pm UTC](https://www.ruby-forum.com/t/newb-adding-database-fields-to-get-a-total/174308 "2009-08-25T17:41:36Z")

</div>

Total newb here, as I’ve been working my way threw the tutorial, but doing my own thing. I’ve created a fairly simple app, that has a bunch of items. Each item has 6-9 fields that have a cost associated with them (db…

---

## [JavaScript validation](https://www.ruby-forum.com/t/javascript-validation/171507)

<div class="topic-metadata">

**Author:** [@iamdonquixote](https://www.ruby-forum.com/u/iamdonquixote)\
**Replies:** 6\
**Last updated:** [July 5, 2009, 4:44am UTC](https://www.ruby-forum.com/t/javascript-validation/171507 "2009-07-05T04:44:38Z")

</div>

Hi Folks, I’m relatively new to Rails, but am very enamored with it for the most part so far. I have a contacts page where the User enters his/her personal information. I’m using the server-side validates\_presence\_of…

---

## [Standalone USRP1 Operation](https://www.ruby-forum.com/t/standalone-usrp1-operation/166352)

<div class="topic-metadata">

**Author:** [@fmalem](https://www.ruby-forum.com/u/fmalem)\
**Replies:** 6\
**Last updated:** [April 24, 2009, 8:52pm UTC](https://www.ruby-forum.com/t/standalone-usrp1-operation/166352 "2009-04-24T20:52:06Z")

</div>

Hi, Has anyone tried to run USRP1 without PC? I have an application where a friend supported me with a standalone USRP FPGA image. I used the PC only to load this image to the USRP using gnuradio blocks/tools. After…

---

## [Kernal::binding problem](https://www.ruby-forum.com/t/kernal-binding-problem/166255)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 6\
**Last updated:** [April 24, 2009, 3:30am UTC](https://www.ruby-forum.com/t/kernal-binding-problem/166255 "2009-04-24T03:30:59Z")

</div>

Trying this for the first time, and, as usual, not quite getting it. Everything I can find on kernal::binding tells me that I just call it and will get back a binding object which can be passed in a call to eval. But……

---

## [Array performance question](https://www.ruby-forum.com/t/array-performance-question/161569)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 6\
**Last updated:** [March 10, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/array-performance-question/161569 "2009-03-10T15:06:24Z")

</div>

Here’s a real Array performance mystery. I can’t help my friend figure this one out. He writes, ======== Is there a known bug in Ruby array performance? I spent a lot of time yesterday boiling down the following exa…

---

## [Query some part on each record](https://www.ruby-forum.com/t/query-some-part-on-each-record/159292)

<div class="topic-metadata">

**Author:** [@ukarick](https://www.ruby-forum.com/u/ukarick)\
**Replies:** 6\
**Last updated:** [February 4, 2009, 8:37am UTC](https://www.ruby-forum.com/t/query-some-part-on-each-record/159292 "2009-02-04T08:37:05Z")

</div>

I would like to ask you this question suppose that I’ve 1 record which contains very long contents like Big\_Row\_Table Row1|Big\_Row| Row1|very long contents I would like to query only some part of Big row (such as get …

---

## [Why's my course\_duration being reset](https://www.ruby-forum.com/t/whys-my-course-duration-being-reset/147356)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [September 1, 2008, 8:41pm UTC](https://www.ruby-forum.com/t/whys-my-course-duration-being-reset/147356 "2008-09-01T20:41:36Z")

</div>

Can’t get this?..I’m close I think, my calculation appears to be working, but… when i access duration = \<%= @enquiry.course\_duration %\> in my final view it’s blank… course\_duration is getting set to null but works fo…

---

## [Production install (RoR + Oracle + IIS)](https://www.ruby-forum.com/t/production-install-ror-oracle-iis/139010)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 6\
**Last updated:** [May 30, 2008, 11:16pm UTC](https://www.ruby-forum.com/t/production-install-ror-oracle-iis/139010 "2008-05-30T23:16:41Z")

</div>

Hi. Although an expert developer for IBM systems (iSeries) I am VERY new to RoR and somehow to the PC development world as well and not familiar AT ALL with PC configurations, etc. (in my regular job good ol’ IBM tak…

---

## [Feedback on new Path Library](https://www.ruby-forum.com/t/feedback-on-new-path-library/116964)

<div class="topic-metadata">

**Author:** [@pSCorey](https://www.ruby-forum.com/u/pSCorey)\
**Replies:** 6\
**Last updated:** [October 12, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/feedback-on-new-path-library/116964 "2007-10-12T14:11:50Z")

</div>

I created a new Path library (http://pow.rubyforge.org) that combines a lot of the functionality of Dir, FileUtils, File and Pathname into one with a object centered approach. I’m looking for some feedback to see if p…

---

## [Place for special scripts in the framework?](https://www.ruby-forum.com/t/place-for-special-scripts-in-the-framework/114570)

<div class="topic-metadata">

**Author:** [@yeago](https://www.ruby-forum.com/u/yeago)\
**Replies:** 6\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/place-for-special-scripts-in-the-framework/114570 "2007-09-17T13:25:05Z")

</div>

Hey there, I have a script which scrapes a website. Since it takes nearly an hour to complete, making it part of the controller doesn’t make sense because it would simply time out. However, this script needs access t…

---

## [Autenticazione in rails](https://www.ruby-forum.com/t/autenticazione-in-rails/108443)

<div class="topic-metadata">

**Author:** [@Mauro\_T](https://www.ruby-forum.com/u/Mauro_T)\
**Replies:** 6\
**Last updated:** [July 3, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/autenticazione-in-rails/108443 "2007-07-03T20:14:08Z")

</div>

un piccolo sondaggino per gli sviluppatori rails. voi di solito che cosa usate per autenticare gli utenti della vostra applicazione? a) soluzione fatta in casa con before\_filter e routine di autenticazione custom b)…

---

## [BeginnerQ: Combining a form\_for with find() to search mysql](https://www.ruby-forum.com/t/beginnerq-combining-a-form-for-with-find-to-search-mysql/91705)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 12, 2007, 6:28pm UTC](https://www.ruby-forum.com/t/beginnerq-combining-a-form-for-with-find-to-search-mysql/91705 "2007-04-12T18:28:39Z")

</div>

I’ve looked over the AgileROR section on forms and the secion on find() but I am still a bit confused. What I want to do it pretty simple: I’ve got my inventory listing working and at the top I want the user to be ab…

---

## [Two more questions: Re: Two GMSK decoders with two msg queue](https://www.ruby-forum.com/t/two-more-questions-re-two-gmsk-decoders-with-two-msg-queue/72420)

<div class="topic-metadata">

**Author:** [@Dawei\_Shen](https://www.ruby-forum.com/u/Dawei_Shen)\
**Replies:** 6\
**Last updated:** [October 18, 2006, 7:27pm UTC](https://www.ruby-forum.com/t/two-more-questions-re-two-gmsk-decoders-with-two-msg-queue/72420 "2006-10-18T19:27:58Z")

</div>

Hey Eric, Michael and other friends: My code is working well now. But I met two new problems, which are not so crucial, but really important to me. When I initilize the Viterbi algorithm, I wish that for the first …

---

## [Posting over https](https://www.ruby-forum.com/t/posting-over-https/71515)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 6\
**Last updated:** [October 10, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/posting-over-https/71515 "2006-10-10T17:15:33Z")

</div>

Hello Rubyists, I am struggling to post data over https and would be grateful for any help. I know the server works because I can hit it with curl and get the response I expect: curl -d url When I try to do the sa…

---

## [Form Data Injection - How to protect against?](https://www.ruby-forum.com/t/form-data-injection-how-to-protect-against/70887)

<div class="topic-metadata">

**Author:** [@Dylan\_B](https://www.ruby-forum.com/u/Dylan_B)\
**Replies:** 6\
**Last updated:** [October 3, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/form-data-injection-how-to-protect-against/70887 "2006-10-03T20:06:48Z")

</div>

I might be missing something here, but it seems as if the conventions used when building forms in Rails apps leave a lot of open holes for people to mess things up. For instance, let’s say I have a multi-user communit…

---

## [Accessing file in public directory](https://www.ruby-forum.com/t/accessing-file-in-public-directory/95146)

<div class="topic-metadata">

**Author:** [@lantis](https://www.ruby-forum.com/u/lantis)\
**Replies:** 6\
**Last updated:** [May 23, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/accessing-file-in-public-directory/95146 "2006-05-23T14:59:09Z")

</div>

How do i access a file in the public directory of rails application? I have several html files in there and i want to link them from the rhtml file. Basically to display a popup. Here is the code in foo.rhtml: Learn …

---

## [Ruby Quiz Contest Winner!](https://www.ruby-forum.com/t/ruby-quiz-contest-winner/59937)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [May 9, 2006, 3:27pm UTC](https://www.ruby-forum.com/t/ruby-quiz-contest-winner/59937 "2006-05-09T15:27:21Z")

</div>

Ross B. has submitted a quiz that exceeded the mark I said I would give a book to. Way to go Ross! (Thanks to everyone else who entered as well.) Ross, if you will send me your address off-list, I’ll get a book on …

---

## [Ruby-1.8 cvs head and 64bit time\_t](https://www.ruby-forum.com/t/ruby-1-8-cvs-head-and-64bit-time-t/73474)

<div class="topic-metadata">

**Author:** [@arton](https://www.ruby-forum.com/u/arton)\
**Replies:** 6\
**Last updated:** [March 1, 2006, 11:09am UTC](https://www.ruby-forum.com/t/ruby-1-8-cvs-head-and-64bit-time-t/73474 "2006-03-01T11:09:46Z")

</div>

artone$B$G$9!#e(B ruby-1.8e$B$Ne(Bcvs heade$B$re(BVC++8e$B$Ge(Bmakee$B$9$k$He(Btime\_te$B$,e(B64e$B%S%C%H$K$J$C$?4X78$Ge(BTime e$B%/%i%9$rMxMQ$9$k%F%9%H!J$?$H$($Pe(Byamle$B!K$N4v$D$+$,%U%'%$%i!\<$K$J$j$^$9!#e(B e$B860x…

---

## [Changes to Class File Not Being Recognized by Webrick](https://www.ruby-forum.com/t/changes-to-class-file-not-being-recognized-by-webrick/54163)

<div class="topic-metadata">

**Author:** [@Gaudi](https://www.ruby-forum.com/u/Gaudi)\
**Replies:** 6\
**Last updated:** [February 24, 2006, 11:13pm UTC](https://www.ruby-forum.com/t/changes-to-class-file-not-being-recognized-by-webrick/54163 "2006-02-24T23:13:21Z")

</div>

Newbie, having good luck with Dave T.’ book ‘Depot’ application until I discovered that changes to one of my .rb class files are not being recognized until I bounce the webrick server. Any ideas on this? Thanks.

---

## [Models and validation problem](https://www.ruby-forum.com/t/models-and-validation-problem/53621)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 6\
**Last updated:** [February 13, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/models-and-validation-problem/53621 "2006-02-13T20:52:57Z")

</div>

In my model, I am attempting to correct some bad data rather than just pass an error message back to the user. The problem is that my fix seems to get the data past validation but it then puts the bad data into the d…

---

## [Rails from the command line](https://www.ruby-forum.com/t/rails-from-the-command-line/53398)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 6\
**Last updated:** [February 4, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/rails-from-the-command-line/53398 "2006-02-04T21:52:00Z")

</div>

I have controller that processes data in one table and puts results in another. Now that its’ working, I would like to be able to run it from the command line ( read: windows batch file). How can this be done? It w…

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

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