# Top

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

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

---

## [Using in Ruby/Tk on OS X](https://www.ruby-forum.com/t/using-in-ruby-tk-on-os-x/67162)

<div class="topic-metadata">

**Author:** [@Morton\_G](https://www.ruby-forum.com/u/Morton_G)\
**Replies:** 5\
**Last updated:** [September 4, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/using-in-ruby-tk-on-os-x/67162 "2006-09-04T14:46:40Z")

</div>

I’m using Ruby 1.8.2 on Mac OS X 10.4.7. I discovered the Ruby distribution included a directory supporting \[incr Widgets\]. Some of them seemed pretty nifty, so I thought I’d try them out. My first try was to make an …

---

## [Problem with find condition and habtm relationship](https://www.ruby-forum.com/t/problem-with-find-condition-and-habtm-relationship/65855)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [September 4, 2006, 2:46pm UTC](https://www.ruby-forum.com/t/problem-with-find-condition-and-habtm-relationship/65855 "2006-09-04T14:46:05Z")

</div>

Ok. This has been troubling me for some time now. Please bare with me while I explain the situation to make things clear. I’m making a restaurant directory in RoR. I have a table of Restaurants and a table of Features…

---

## [Iniciante](https://www.ruby-forum.com/t/iniciante/65244)

<div class="topic-metadata">

**Author:** [@tetri](https://www.ruby-forum.com/u/tetri)\
**Replies:** 5\
**Last updated:** [December 16, 2005, 3:56am UTC](https://www.ruby-forum.com/t/iniciante/65244 "2005-12-16T03:56:59Z")

</div>

gostaria de saber se alguém recomenda algum material disponível na web sobre como iniciar as estudos em Ruby, tenho bastante interesse em conhecer essa linguagem de desenvolvimento para a web… outra coisa, peço que os…

---

## [I have an invalid ruby hash stored in my db or is it just a serialized hash?](https://www.ruby-forum.com/t/i-have-an-invalid-ruby-hash-stored-in-my-db-or-is-it-just-a-serialized-hash/261898)

<div class="topic-metadata">

**Author:** [@gautamx07](https://www.ruby-forum.com/u/gautamx07)\
**Replies:** 0\
**Last updated:** [September 30, 2021, 9:15am UTC](https://www.ruby-forum.com/t/i-have-an-invalid-ruby-hash-stored-in-my-db-or-is-it-just-a-serialized-hash/261898 "2021-09-30T09:15:49Z")

</div>

I have the following stored in my by columb named data basically a columb of type text --- :carts: 4350: 5700 :teachers: 4350: :teacher\_id: 786 :user\_id: 3117 When this gets queried in ruby this auto conver…

---

## [Attribute error](https://www.ruby-forum.com/t/attribute-error/244399)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [April 4, 2016, 7:39pm UTC](https://www.ruby-forum.com/t/attribute-error/244399 "2016-04-04T19:39:16Z")

</div>

Hi all, I’m trying to create a new block by C++ coding and the coding part seems to be alright! Infact my new block appears in GNU radio, but when I connect and other blocks and run the GRC flowgraph, an error comes …

---

## [Ruby on Rails in Utah](https://www.ruby-forum.com/t/ruby-on-rails-in-utah/242626)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [July 9, 2015, 12:27am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-utah/242626 "2015-07-09T00:27:44Z")

</div>

Email: removed\_email\_address@domain.invalid Required Experience: Our Ruby on Rails Engineers work closely with Technical Program Managers, Product Managers, Front-End Engineers, Mobile Engineers, QA Engineers and oth…

---

## [In cerca di aiuto con l'applicazione web di traduzione universale](https://www.ruby-forum.com/t/in-cerca-di-aiuto-con-lapplicazione-web-di-traduzione-universale/241500)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 10, 2015, 2:15am UTC](https://www.ruby-forum.com/t/in-cerca-di-aiuto-con-lapplicazione-web-di-traduzione-universale/241500 "2015-04-10T02:15:01Z")

</div>

In cerca di aiuto con l’applicazione web di traduzione universale Gli Amici, Sono in cerca di aiuto su un progetto traduttore universale open source usando RoR che io sto lavorando qui: Non ho un budget per questo,…

---

## [Ruby on Rails Job - Rio de Janeiro](https://www.ruby-forum.com/t/ruby-on-rails-job-rio-de-janeiro/234354)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [February 26, 2015, 8:29am UTC](https://www.ruby-forum.com/t/ruby-on-rails-job-rio-de-janeiro/234354 "2015-02-26T08:29:16Z")

</div>

8-month gig for Ruby developer with Brazillian startup: https://jobbatical.com/l/663175658/ruby-on-rails-pet-challenge

---

## [Reduce memory allocation in Array#permutation (fixed at r46416)](https://www.ruby-forum.com/t/reduce-memory-allocation-in-array-permutation-fixed-at-r46416/231795)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 31, 2014, 8:31am UTC](https://www.ruby-forum.com/t/reduce-memory-allocation-in-array-permutation-fixed-at-r46416/231795 "2014-08-31T08:31:41Z")

</div>

Issue #9942 has been updated by Usaku NAKAMURA. Backported into ruby\_2\_0\_0 at r47331. Bug #9942: reduce memory allocation in Array#permutation (fixed at r46416) Author: Tomoyuki C. Status: Closed Priority: Normal A…

---

## [Correlate\_access\_code\_tag\_bb gives Assertion \`px != 0' failed](https://www.ruby-forum.com/t/correlate-access-code-tag-bb-gives-assertion-px-0-failed/229999)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [May 26, 2014, 4:32pm UTC](https://www.ruby-forum.com/t/correlate-access-code-tag-bb-gives-assertion-px-0-failed/229999 "2014-05-26T16:32:18Z")

</div>

Hi All, I am trying to sync to a access code for a bit stream to determine the start of a packet and pack bits to a byte from that point. I have challenges getting correlate\_access\_code\_tag\_bb working. Attached is a …

---

## [Uninitialized constant Gem::Package](https://www.ruby-forum.com/t/uninitialized-constant-gem-package/237422)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [November 12, 2013, 7:00pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-gem-package/237422 "2013-11-12T19:00:06Z")

</div>

I just updated my system with gem update --system and now I am having troubles. See following: alexs-mbp:~ \[\] azesch$ irb -rubygems 1.8.7 :002 \> Gem::Package NameError: uninitialized constant Gem::Package from (ir…

---

## [Como mostrar un dato de un formulario a otro](https://www.ruby-forum.com/t/como-mostrar-un-dato-de-un-formulario-a-otro/223424)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [October 3, 2012, 6:24pm UTC](https://www.ruby-forum.com/t/como-mostrar-un-dato-de-un-formulario-a-otro/223424 "2012-10-03T18:24:52Z")

</div>

Hola amigos, Espero que me puedan ayudar, soy nuevo en este lenguaje y me gustaría que me apoyen con este tema. Se lo describo a continuacion: Ejemplo: Si tengo una clase Usuario y otra Libro, con su respectiva relac…

---

## [DB2CLI.dll issues](https://www.ruby-forum.com/t/db2cli-dll-issues/223104)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [September 21, 2012, 7:59pm UTC](https://www.ruby-forum.com/t/db2cli-dll-issues/223104 "2012-09-21T19:59:20Z")

</div>

Hello… I’m new to ruby, but love the style that things are done. :slight\_smile: I’ve programmed before but never with anything involving databases, so I’m a bit lost on what do to with this. Basically, I’m trying to pa…

---

## [Codeplex workitem 6117 "solution"](https://www.ruby-forum.com/t/codeplex-workitem-6117-solution/207608)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [May 30, 2011, 12:51am UTC](https://www.ruby-forum.com/t/codeplex-workitem-6117-solution/207608 "2011-05-30T00:51:35Z")

</div>

Summary: No matter what settings you change, “Operators” in IronRuby are always green (hex 008080). I put a few hours into investigating this ( http://ironruby.codeplex.com/workitem/6117 ) and as far as I can tell, i…

---

## [Mongrel won't start(Snow leopard)](https://www.ruby-forum.com/t/mongrel-wont-start-snow-leopard/202014)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [January 20, 2011, 2:06am UTC](https://www.ruby-forum.com/t/mongrel-wont-start-snow-leopard/202014 "2011-01-20T02:06:31Z")

</div>

I am trying to start the mongrel server on mac OS X 10.6. This is the error I get. I am running rails 3.0.3 ruby$ mongrel\_rails start \*\* Starting Mongrel listening at 0.0.0.0:3000 \*\* Starting Rails with development e…

---

## [Problema con render :partial (NOOB!)](https://www.ruby-forum.com/t/problema-con-render-partial-noob/189661)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [June 4, 2010, 4:45pm UTC](https://www.ruby-forum.com/t/problema-con-render-partial-noob/189661 "2010-06-04T16:45:43Z")

</div>

hola a todos, estoy tratando de emular el video de ryan bates en el que realiza un blog, no obstante se me ocurrio que en vez de copiar y pegar la forma para nuevo comentario, deberia colocarlo en un partial y de ahi …

---

## [Rails 2.3 nested forms with has\_many through checkboxes](https://www.ruby-forum.com/t/rails-2-3-nested-forms-with-has-many-through-checkboxes/165351)

<div class="topic-metadata">

**Author:** [@OKR](https://www.ruby-forum.com/u/OKR)\
**Replies:** 0\
**Last updated:** [April 12, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/rails-2-3-nested-forms-with-has-many-through-checkboxes/165351 "2009-04-12T23:48:05Z")

</div>

I was wondering if anyone knew of a way to combine the new nested forms in rails 2.3 with a has\_many through relationship via checkboxes. Basically I have a page model, a page\_category model and a category\_items join…

---

## [I18n plugin for merb](https://www.ruby-forum.com/t/i18n-plugin-for-merb/156339)

<div class="topic-metadata">

**Author:** [@madiba](https://www.ruby-forum.com/u/madiba)\
**Replies:** 0\
**Last updated:** [December 25, 2008, 12:08am UTC](https://www.ruby-forum.com/t/i18n-plugin-for-merb/156339 "2008-12-25T00:08:24Z")

</div>

Hello. I have been writing a i18n/l10n plugin for merb. Today I get knew about the merging betwean the merb and rails. I’m not entiry sure but while I looked through rails api it seems that I have more richer API then…

---

## [HTML handling in SuperRedCloth](https://www.ruby-forum.com/t/html-handling-in-superredcloth/125262)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 0\
**Last updated:** [January 7, 2008, 4:14pm UTC](https://www.ruby-forum.com/t/html-handling-in-superredcloth/125262 "2008-01-07T16:14:16Z")

</div>

I’m having all kinds of fun trying to get HTML to work “properly” in SRC (mild sarcasm). I’m still working on the problem, but wanted to run it by the group. Currently, Textile2 lets you put in HTML as long as it’s i…

---

## [Scaffold default form layout](https://www.ruby-forum.com/t/scaffold-default-form-layout/228691)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 4\
**Last updated:** [May 3, 2013, 3:06pm UTC](https://www.ruby-forum.com/t/scaffold-default-form-layout/228691 "2013-05-03T15:06:52Z")

</div>

Hello Newbie to rails … When I use logic … rails generate scaffold Test name:string date:date etc the default layout puts boxes top down. name: date: etc How can I change the position of these boxes should I want…

---

## [Gruel](https://www.ruby-forum.com/t/gruel/146156)

<div class="topic-metadata">

**Author:** [@randy\_hendriawan](https://www.ruby-forum.com/u/randy_hendriawan)\
**Replies:** 4\
**Last updated:** [December 6, 2010, 1:13pm UTC](https://www.ruby-forum.com/t/gruel/146156 "2010-12-06T13:13:09Z")

</div>

I just updated my source code from the trunk and now get: config.status: error: cannot find input file: gruel/Makefile.in Suggestions? thanks, Randy

---

## [Maybe not a Ruby question but I still need to know](https://www.ruby-forum.com/t/maybe-not-a-ruby-question-but-i-still-need-to-know/198726)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 15, 2010, 9:30am UTC](https://www.ruby-forum.com/t/maybe-not-a-ruby-question-but-i-still-need-to-know/198726 "2010-11-15T09:30:21Z")

</div>

I’m using windows XP. I save my practice files in my thumb drive - H:\\Ruby\\Practice , this directory is added to the path variables (in Environment Variables), so that when I open command prompt and the default dire…

---

## [Redirecting to a non-Rails application](https://www.ruby-forum.com/t/redirecting-to-a-non-rails-application/198338)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 29, 2010, 11:21pm UTC](https://www.ruby-forum.com/t/redirecting-to-a-non-rails-application/198338 "2010-10-29T23:21:25Z")

</div>

Is it possible to redirect from a rails app to media wiki? How to do it?

---

## [Getting started: quick question virtual rails\>\>\>](https://www.ruby-forum.com/t/getting-started-quick-question-virtual-rails/193398)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [August 17, 2010, 7:37pm UTC](https://www.ruby-forum.com/t/getting-started-quick-question-virtual-rails/193398 "2010-08-17T19:37:35Z")

</div>

I am running Linux Mint with virtual machine and virtual rails installed on my laptop…I am barely learning ruby on rails and still a novice…now that I have virtual rails installed I am assuming I use the netbeans IDE …

---

## [Import Question](https://www.ruby-forum.com/t/import-question/191312)

<div class="topic-metadata">

**Author:** [@mehmet\_kabasakal](https://www.ruby-forum.com/u/mehmet_kabasakal)\
**Replies:** 4\
**Last updated:** [July 10, 2010, 9:38am UTC](https://www.ruby-forum.com/t/import-question/191312 "2010-07-10T09:38:21Z")

</div>

Hi guys, I am trying to write simple Pyhton applications by using the blocks in the gnuradio. But i don’t know which module should i import to use the related function. Is there any document about it. On net i found t…

---

## [Simple routing problem](https://www.ruby-forum.com/t/simple-routing-problem/191125)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 4\
**Last updated:** [July 9, 2010, 2:00am UTC](https://www.ruby-forum.com/t/simple-routing-problem/191125 "2010-07-09T02:00:23Z")

</div>

I’ve got the following in config\\routes.rb: map.resources :users In app\\views\\shared\_menu.erb, I’ve got: Please sign in \<%= link\_to “here”, :controller=\>“user”, :action=\>“sign\_in” -%\> In app\\controllers\\users\_contr…

---

## [Booleans on new records](https://www.ruby-forum.com/t/booleans-on-new-records/190948)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 4\
**Last updated:** [July 1, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/booleans-on-new-records/190948 "2010-07-01T17:34:47Z")

</div>

I have a array of Projects, which contains all Projects that have their ‘display’ object set to 1 (true). The problem is: when I create a new record, I tried changing the value of ‘display’ to false. This did not chan…

---

## [Use a core C function not included in intern.h](https://www.ruby-forum.com/t/use-a-core-c-function-not-included-in-intern-h/189623)

<div class="topic-metadata">

**Author:** [@tiny](https://www.ruby-forum.com/u/tiny)\
**Replies:** 4\
**Last updated:** [June 5, 2010, 8:30pm UTC](https://www.ruby-forum.com/t/use-a-core-c-function-not-included-in-intern-h/189623 "2010-06-05T20:30:48Z")

</div>

Hello. I trying to make a function with C extension for 1.8.7 that should use functions defined in Ruby such as VALUE eval(VALUE,VALUE,VALUE,const char\*,int) But functions that aren’t reflected (sorry, I don’t know …

---

## [Best file uploader?](https://www.ruby-forum.com/t/best-file-uploader/186490)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 4\
**Last updated:** [April 8, 2010, 12:44am UTC](https://www.ruby-forum.com/t/best-file-uploader/186490 "2010-04-08T00:44:40Z")

</div>

Hey guys I’m asking for your opinion on the best file uploader plugin/gem for ruby on rails. Acts as attachment? File column plugin? Fleximage? others? What do you guys think? Whats your favorite, which one should i …

---

## [A Little SQL Help](https://www.ruby-forum.com/t/a-little-sql-help/181296)

<div class="topic-metadata">

**Author:** [@karlshea](https://www.ruby-forum.com/u/karlshea)\
**Replies:** 4\
**Last updated:** [January 9, 2010, 3:54am UTC](https://www.ruby-forum.com/t/a-little-sql-help/181296 "2010-01-09T03:54:36Z")

</div>

Can someone give me a hand with the sql (mysql works for me) for this rails project… Data similar to this: Station Status WKRP Pending WKRP Pending WKRP Deleted WIBC Deleted WFBQ Pending WFBQ …

---

## [Can't understand for this each](https://www.ruby-forum.com/t/cant-understand-for-this-each/180970)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 4\
**Last updated:** [January 2, 2010, 7:36pm UTC](https://www.ruby-forum.com/t/cant-understand-for-this-each/180970 "2010-01-02T19:36:27Z")

</div>

Hello, Please take a look at below. what’s each{ … } in the find\_all method? I can’t understand for it. thanks. class Hash def find\_all new\_hash = Hash.new each { |k,v| new\_hash\[k\] = v if yield(k, v) } new\_hash …

---

## [Is it a bug?exec "cd"](https://www.ruby-forum.com/t/is-it-a-bug-exec-cd/178773)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 1:04pm UTC](https://www.ruby-forum.com/t/is-it-a-bug-exec-cd/178773 "2009-11-12T13:04:02Z")

</div>

$ cat into.rb exec “cd /tmp” $ ruby into.rb into.rb:1:in \`exec’: No such file or directory - cd /tmp (Errno::ENOENT) from into.rb:1 exec “cd anything” as the same result error.how to exec “cd”?thanks

---

## [Rails in css](https://www.ruby-forum.com/t/rails-in-css/178343)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 4\
**Last updated:** [November 3, 2009, 10:10am UTC](https://www.ruby-forum.com/t/rails-in-css/178343 "2009-11-03T10:10:05Z")

</div>

Hello all, Actually i am having a small problem… googled it but did’nt find any clue… So what i want to do is that i want to insert ruby variable in css style property… as like … But this is not working.. I am doin…

---

## [Latency Question](https://www.ruby-forum.com/t/latency-question/150890)

<div class="topic-metadata">

**Author:** [@snowbird122](https://www.ruby-forum.com/u/snowbird122)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/latency-question/150890 "2008-10-14T21:18:20Z")

</div>

Hello- I built a rails app and all of a sudden its performance has plumeted. There’s no specific culprit I have been able to find in my code. Here’s a sample line from my log file: Processing PagesController#faq (for…

---

## [Activerecord problem](https://www.ruby-forum.com/t/activerecord-problem/145242)

<div class="topic-metadata">

**Author:** [@bishal](https://www.ruby-forum.com/u/bishal)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 3:43am UTC](https://www.ruby-forum.com/t/activerecord-problem/145242 "2008-08-07T03:43:46Z")

</div>

I have the following method… def index @posts=Post.find(:all, :include =\> \[:user, :comments\]) for post in @posts puts “Post: #{post.title}” puts “Written by: #{post.user.title}” puts “Last comment on: #{post.commen…

---

## [Bug in Test Unit?](https://www.ruby-forum.com/t/bug-in-test-unit/131739)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 4\
**Last updated:** [March 13, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/bug-in-test-unit/131739 "2008-03-13T18:57:50Z")

</div>

In unit.rb with “ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-mswin32\]” at\_exit do unless $! || Test::Unit.run? exit Test::Unit::AutoRunner.run end end if Test::Unit.run is set as false the autorunner will run, if it…

---

## [Radio button does not get checked](https://www.ruby-forum.com/t/radio-button-does-not-get-checked/131052)

<div class="topic-metadata">

**Author:** [@Eva](https://www.ruby-forum.com/u/Eva)\
**Replies:** 4\
**Last updated:** [March 5, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/radio-button-does-not-get-checked/131052 "2008-03-05T19:46:35Z")

</div>

I am reading information out of the db, but even though the color\_ids match the radio\_button does not get checked. Are only strings valid for comparing? Id is an integer. \<% Color.find(:all).each do |color| %\> \<%= ra…

---

## [Download a file](https://www.ruby-forum.com/t/download-a-file/125874)

<div class="topic-metadata">

**Author:** [@nettome](https://www.ruby-forum.com/u/nettome)\
**Replies:** 4\
**Last updated:** [January 14, 2008, 7:06am UTC](https://www.ruby-forum.com/t/download-a-file/125874 "2008-01-14T07:06:55Z")

</div>

I want to download a file previously uploaded in the database Its like providing a link and when clicked the file is downloaded to your file system How?? can i do that, I have no idea about it Please can anyone help …

---

## [Unit tests and destructive methods](https://www.ruby-forum.com/t/unit-tests-and-destructive-methods/112158)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 4\
**Last updated:** [August 16, 2007, 8:49am UTC](https://www.ruby-forum.com/t/unit-tests-and-destructive-methods/112158 "2007-08-16T08:49:16Z")

</div>

Hello all, As my flac library approaches 1000 lines of code I decided it would be prudent to finally get around to writing some unit tests, which I have done. Now: I have created a ‘reference’ flac file with known v…

---

## [Hpricot getting a table](https://www.ruby-forum.com/t/hpricot-getting-a-table/92357)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 18, 2007, 10:00pm UTC](https://www.ruby-forum.com/t/hpricot-getting-a-table/92357 "2007-04-18T22:00:58Z")

</div>

I am currently trying to scrape some data from the following web page I am using some hpricot code that looks like this @doc = Hpricot(open(strLink)) @doc.search("/html/body/table\[5\]/tr/td\[2\]/div\[3\]/table/tr/td/div\[1\]…

---

## [Default Values](https://www.ruby-forum.com/t/default-values/89854)

<div class="topic-metadata">

**Author:** [@jotape](https://www.ruby-forum.com/u/jotape)\
**Replies:** 4\
**Last updated:** [March 23, 2007, 1:05pm UTC](https://www.ruby-forum.com/t/default-values/89854 "2007-03-23T13:05:16Z")

</div>

Hello. I have a problem with rails. I have a filed in a table that is of double type. When I show the view, a default value is shown, but there is no default value in the database. How can I override this? Thanks

---

## [Nuby ?: How to create XML request with Ruby](https://www.ruby-forum.com/t/nuby-how-to-create-xml-request-with-ruby/87907)

<div class="topic-metadata">

**Author:** [@donald](https://www.ruby-forum.com/u/donald)\
**Replies:** 4\
**Last updated:** [March 6, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/nuby-how-to-create-xml-request-with-ruby/87907 "2007-03-06T21:25:28Z")

</div>

Hi Guys, I’m trying to figure out how to create an XML request using Ruby. I need to define a set amount of fields within the request and post it to a specific host and port. I’m new to Ruby and am not really sure o…

---

## [Breakpoint prefered way to debug?](https://www.ruby-forum.com/t/breakpoint-prefered-way-to-debug/79489)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 4\
**Last updated:** [December 16, 2006, 4:53pm UTC](https://www.ruby-forum.com/t/breakpoint-prefered-way-to-debug/79489 "2006-12-16T16:53:44Z")

</div>

Hi, I am using rails 1.1.6 and ruby 1.8.4 (on ubuntu). In my unit test, I have this code: def test\_add\_translations maison = Term.find\_by\_term(‘maison’) breakpoint “maison” end and when I get to the breakpoint se…

---

## [Required file for rake task -- put into a plugin?](https://www.ruby-forum.com/t/required-file-for-rake-task-put-into-a-plugin/78423)

<div class="topic-metadata">

**Author:** [@ratchetcat](https://www.ruby-forum.com/u/ratchetcat)\
**Replies:** 4\
**Last updated:** [December 5, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/required-file-for-rake-task-put-into-a-plugin/78423 "2006-12-05T20:52:39Z")

</div>

Hello all. I’ve just written up a bit of ruby code that I’d like to use in a rake task for my web application (it has to be run on a schedule, and calling rake through cron seems to be a good way to do that). My quest…

---

## [RSpec 0.7.0 Released](https://www.ruby-forum.com/t/rspec-0-7-0-released/75006)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 11:08am UTC](https://www.ruby-forum.com/t/rspec-0-7-0-released/75006 "2006-11-07T11:08:05Z")

</div>

The RSpec Development Team is pleased to announce the release of RSpec 0.7.0. You can get it from http://rubyforge.org/frs/?group\_id=797, or “gem install rspec” Note that this release is NOT completely backwards comp…

---

## [Read Local File System](https://www.ruby-forum.com/t/read-local-file-system/73984)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 4\
**Last updated:** [October 29, 2006, 1:56pm UTC](https://www.ruby-forum.com/t/read-local-file-system/73984 "2006-10-29T13:56:47Z")

</div>

Does anyone know the best way to read the local file system from Rails? Is this even possible?

---

## [Instant Rails](https://www.ruby-forum.com/t/instant-rails/73541)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 4\
**Last updated:** [October 26, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/instant-rails/73541 "2006-10-26T17:46:15Z")

</div>

I’m having a newbie problem getting Instant Rails to start WEBrick. I’ve created a demo project by type Rails Demo at the InstantRails command prompt. This worked fine. I then navigate to the Demo directory and type …

---

## [Open-uri and HTTPS, or net/https with a redirect](https://www.ruby-forum.com/t/open-uri-and-https-or-net-https-with-a-redirect/70710)

<div class="topic-metadata">

**Author:** [@jotto](https://www.ruby-forum.com/u/jotto)\
**Replies:** 4\
**Last updated:** [October 2, 2006, 9:22am UTC](https://www.ruby-forum.com/t/open-uri-and-https-or-net-https-with-a-redirect/70710 "2006-10-02T09:22:21Z")

</div>

Is there anything wrong with using this patch? http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/4365 How do you implement it? If not a good solution, can net/http be used with HTTPS sites and can redirecti…

---

## [GEMs not installing properly](https://www.ruby-forum.com/t/gems-not-installing-properly/69651)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 4\
**Last updated:** [September 22, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/gems-not-installing-properly/69651 "2006-09-22T18:51:54Z")

</div>

Hi, I’m having trouble with the KirbyBase gem. I installed it, using: gem install KirbyBase. It appeared to install. I’ve done it 2 or 3 times now. And, when I type: gem list --local, it lists KirbyBase 2.6. But, w…

---

## [Limiting records in a restful controller](https://www.ruby-forum.com/t/limiting-records-in-a-restful-controller/69371)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [September 20, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/limiting-records-in-a-restful-controller/69371 "2006-09-20T19:11:18Z")

</div>

I want to make my controller only show records for view, edit and destroy that belong to their owner (the user who created it). My question - My first guess would be to perhaps create a filter for the “show” action. …

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

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