# Top

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

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

---

## [Form\_for reset button doesn't get updated to new form values after AJAX update](https://www.ruby-forum.com/t/form-for-reset-button-doesnt-get-updated-to-new-form-values-after-ajax-update/221032)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 28, 2012, 1:50am UTC](https://www.ruby-forum.com/t/form-for-reset-button-doesnt-get-updated-to-new-form-values-after-ajax-update/221032 "2012-06-28T01:50:30Z")

</div>

Hi, I’m trying to use the form\_for reset button: \<%= button\_tag ‘Reset’, :type =\> ‘reset’ %\> It works great, but when I update the object through AJAX, how can I get the new form values to be the ones reset to? Right…

---

## [IronRuby IDE with MRI?](https://www.ruby-forum.com/t/ironruby-ide-with-mri/210516)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 10, 2011, 3:19am UTC](https://www.ruby-forum.com/t/ironruby-ide-with-mri/210516 "2011-08-10T03:19:59Z")

</div>

Hi. I’ve been trying to learn to program Ruby and I’ve been wondering if it’s possible to use the Visual Studio IDE with MRI. It seems to have some nice features, but I don’t find much documentation about it anywhe…

---

## [Error when trying to install gems](https://www.ruby-forum.com/t/error-when-trying-to-install-gems/205173)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 3, 2011, 7:53am UTC](https://www.ruby-forum.com/t/error-when-trying-to-install-gems/205173 "2011-04-03T07:53:40Z")

</div>

All: I hope this is the right forum. I am having issues trying to get gems to install. When I try to install a gem I get the following error. /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in gem\_o…

---

## [Review: File.expand\_path](https://www.ruby-forum.com/t/review-file-expand-path/169443)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [June 3, 2009, 8:28pm UTC](https://www.ruby-forum.com/t/review-file-expand-path/169443 "2009-06-03T20:28:38Z")

</div>

---

## [ActiveRecord: find\_or\_create with has\_and\_belongs\_to\_many --](https://www.ruby-forum.com/t/activerecord-find-or-create-with-has-and-belongs-to-many/102826)

<div class="topic-metadata">

**Author:** [@Red\_Daly](https://www.ruby-forum.com/u/Red_Daly)\
**Replies:** 1\
**Last updated:** [October 16, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/activerecord-find-or-create-with-has-and-belongs-to-many/102826 "2007-10-16T22:33:48Z")

</div>

I am attempting to use find\_or\_create on a foreign table with a has\_and\_belongs\_to\_many relationship with my current table. I am doing the following: term = school.terms.find\_or\_create\_by\_code(“FALL06”) the queries …

---

## [Possible to get a row count from Faster::CSV w/out parsing?](https://www.ruby-forum.com/t/possible-to-get-a-row-count-from-faster-csv-w-out-parsing/108083)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [June 28, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/possible-to-get-a-row-count-from-faster-csv-w-out-parsing/108083 "2007-06-28T23:24:54Z")

</div>

All, I’m using Faster::CSV to process CSV files. It appears that the only way to get the number of rows in my CSV file is to call one of the methods which actually reads through all of the data, like read(). Is this…

---

## [Pass a ruby variable into js within Rails](https://www.ruby-forum.com/t/pass-a-ruby-variable-into-js-within-rails/230089)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [May 30, 2014, 4:55am UTC](https://www.ruby-forum.com/t/pass-a-ruby-variable-into-js-within-rails/230089 "2014-05-30T04:55:54Z")

</div>

I have a variable created by some ruby in my controller that looks like this: @begpoint = row\[“begpoint”\] and I want to pass it into some js that is referenced from within my view: view: \<% javascript\_include\_tag “…

---

## [Report, manipolazione dati & co](https://www.ruby-forum.com/t/report-manipolazione-dati-co/239497)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 4, 2014, 8:16am UTC](https://www.ruby-forum.com/t/report-manipolazione-dati-co/239497 "2014-03-04T08:16:28Z")

</div>

Eil bella gente, trovandomi a dover massaggiare un po’ di dati in ruby mi chiedevo: qual’ lo stato dell’arte? Una volta c’era Ruport, ma non sembra sia stato aggiornato da parecchio tempo, e non so se funziona con ve…

---

## [Piwik conf file](https://www.ruby-forum.com/t/piwik-conf-file/236262)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 21, 2013, 8:22pm UTC](https://www.ruby-forum.com/t/piwik-conf-file/236262 "2013-08-21T20:22:53Z")

</div>

I have recently discovered this wonderful includes directive and I am using it to clean up my server blocks. Doing this has forced me to evaluate some of my configurations. I am trying to set up a conf file for Piwik …

---

## [Difference between attr\_accessor and attr\_accessible?](https://www.ruby-forum.com/t/difference-between-attr-accessor-and-attr-accessible/204197)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [March 7, 2011, 6:02pm UTC](https://www.ruby-forum.com/t/difference-between-attr-accessor-and-attr-accessible/204197 "2011-03-07T18:02:50Z")

</div>

Hi, What’s the difference between attr\_accessor and attr\_accessible? Is attr\_accessor to create a virtual variable/object and attr\_accessible makes it accessible? Do you need attr\_accessible if you already have attr…

---

## [Spec Installation in RC2](https://www.ruby-forum.com/t/spec-installation-in-rc2/184459)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 3\
**Last updated:** [March 2, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/spec-installation-in-rc2/184459 "2010-03-02T23:31:10Z")

</div>

I know in RC1 I had to manually copy the following files: copy C:\\ironruby\\lib\\ironruby\\gems\\bin\\spec C:\\ironruby\\bin\\ispec copy C:\\ironruby\\lib\\ironruby\\gems\\bin\\spec.bat C:\\ironruby\\bin\\ispec.bat But in RC2 do I ha…

---

## [How to capture standart output to variable?](https://www.ruby-forum.com/t/how-to-capture-standart-output-to-variable/159785)

<div class="topic-metadata">

**Author:** [@rkdwv](https://www.ruby-forum.com/u/rkdwv)\
**Replies:** 3\
**Last updated:** [February 9, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/how-to-capture-standart-output-to-variable/159785 "2009-02-09T23:00:53Z")

</div>

How to capture output of this code to variable to send it to iconv? (Just like ob\_start() in PHP) ??? p \[“utf-8 string”,\[123,321\],“another string”\] ??? puts Iconv.conv(“866”,“UTF-8”,captured\_output) # because of windo…

---

## [Rake aborted (wrong number of arguments)](https://www.ruby-forum.com/t/rake-aborted-wrong-number-of-arguments/156077)

<div class="topic-metadata">

**Author:** [@ryanoverton](https://www.ruby-forum.com/u/ryanoverton)\
**Replies:** 3\
**Last updated:** [December 20, 2008, 10:04pm UTC](https://www.ruby-forum.com/t/rake-aborted-wrong-number-of-arguments/156077 "2008-12-20T22:04:44Z")

</div>

I’m following a tutorial here to get some columns in my database. I generated a model called ‘product’ then I edited ‘db/001\_create\_products.rb’ to have a few columns but when I try to migrate I get this error: bio40…

---

## [Grid Folding (#63)](https://www.ruby-forum.com/t/grid-folding-63/97483)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/grid-folding-63/97483 "2006-01-26T18:49:10Z")

</div>

I love mathematics. I love to see problems explored, patterns emerge, simplified and beautified. There is an absolute nature about mathematics not present in most other disciplines, and an understanding of math, I thi…

---

## [Validating phone number with country code for (Twilio)](https://www.ruby-forum.com/t/validating-phone-number-with-country-code-for-twilio/259430)

<div class="topic-metadata">

**Author:** [@dcoder](https://www.ruby-forum.com/u/dcoder)\
**Replies:** 2\
**Last updated:** [May 1, 2020, 7:41pm UTC](https://www.ruby-forum.com/t/validating-phone-number-with-country-code-for-twilio/259430 "2020-05-01T19:41:47Z")

</div>

Greetings, I am trying to build a regex that checks whether or not a phone number is formatted correctly for Twilio. validates\_format\_of :phone\_number, :with =\> … If the format is incorrect, Twilio is unable to send ba…

---

## [Understanding API Consumption using net/http](https://www.ruby-forum.com/t/understanding-api-consumption-using-net-http/259168)

<div class="topic-metadata">

**Author:** [@joan\_njuguna](https://www.ruby-forum.com/u/joan_njuguna)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 1:11am UTC](https://www.ruby-forum.com/t/understanding-api-consumption-using-net-http/259168 "2020-04-09T01:11:49Z")

</div>

I am new to Ruby on Rails and I am trying to consume a RESTful API on my app. I cannot seem to have a work around on how to pass data dynamically from the API to my app. I am using the net/http api client. What steps o…

---

## [Active Record Querying HABTM](https://www.ruby-forum.com/t/active-record-querying-habtm/220486)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 11, 2012, 6:50pm UTC](https://www.ruby-forum.com/t/active-record-querying-habtm/220486 "2012-06-11T18:50:57Z")

</div>

I am new to rails and stuck on one Querying issue. Here is the situation. Model: Category class Category \< ActiveRecord::Base has\_and\_belongs\_to\_many :postings has\_and\_belongs\_to\_many :volunteers end Model: Postin…

---

## [Help a newbie-The page isn't redirecting properly](https://www.ruby-forum.com/t/help-a-newbie-the-page-isnt-redirecting-properly/213962)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 17, 2011, 8:38pm UTC](https://www.ruby-forum.com/t/help-a-newbie-the-page-isnt-redirecting-properly/213962 "2011-11-17T20:38:42Z")

</div>

With good intention I was helping someone with a ruby site but now I’ve broken it! Yikes. Help please. I made a simple change to the admin controller to add a new action - login2. Making this change caused another …

---

## [Lost messages](https://www.ruby-forum.com/t/lost-messages/210018)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 28, 2011, 11:49pm UTC](https://www.ruby-forum.com/t/lost-messages/210018 "2011-07-28T23:49:16Z")

</div>

Hi I sent a couple emails from my work account (my name at gallagher.co) enquiring about 2 patches I had submitted that seem to be in limbo. The first email was 2 months ago the second approx a week. Both these messa…

---

## [¿mongrel\_service es solo para Windows?](https://www.ruby-forum.com/t/mongrel-service-es-solo-para-windows/206675)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 15, 2011, 1:35pm UTC](https://www.ruby-forum.com/t/mongrel-service-es-solo-para-windows/206675 "2011-07-15T13:35:44Z")

</div>

Hola, ¿mongrel\_service es solo para Windows? o vale también para Gnu/Linux? Saludos

---

## [Nginx gzip doesn't (always) respect Accept-Encoding header?](https://www.ruby-forum.com/t/nginx-gzip-doesnt-always-respect-accept-encoding-header/207697)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 1, 2011, 12:36pm UTC](https://www.ruby-forum.com/t/nginx-gzip-doesnt-always-respect-accept-encoding-header/207697 "2011-06-01T12:36:02Z")

</div>

Hi, I seem to be missing an obvious step to control nginx gzip based (only) on the clients Accept-Encoding header? Nginx 0.8.53. My config is: gzip on; gzip\_min\_length 900; gzip\_buffers 16 8k; how to gzip proxie…

---

## [Rails2 to rails3 routes migration problem - namespaces](https://www.ruby-forum.com/t/rails2-to-rails3-routes-migration-problem-namespaces/199787)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 29, 2010, 3:55pm UTC](https://www.ruby-forum.com/t/rails2-to-rails3-routes-migration-problem-namespaces/199787 "2010-11-29T15:55:14Z")

</div>

Hello, I’ve got some problems migrating from rails2 to rails3: I have some controllers in a subdirectory, and I want to access them in a non-restful/resourceful way. Previously I just created a controller in /util, p…

---

## [Large size file upload issue](https://www.ruby-forum.com/t/large-size-file-upload-issue/191686)

<div class="topic-metadata">

**Author:** [@vikasmaskeri](https://www.ruby-forum.com/u/vikasmaskeri)\
**Replies:** 2\
**Last updated:** [July 25, 2010, 1:09pm UTC](https://www.ruby-forum.com/t/large-size-file-upload-issue/191686 "2010-07-25T13:09:14Z")

</div>

Hi, I have developed a small ruby on rails application to upload a user chosen file. On Webrick server it uploads all size of files but after deploying same application on glassfish v2 server it only uploads small si…

---

## [\[Rails 3\] How to refer to birthday(1i) in a AR](https://www.ruby-forum.com/t/rails-3-how-to-refer-to-birthday-1i-in-a-ar/189675)

<div class="topic-metadata">

**Author:** [@ShellScripter](https://www.ruby-forum.com/u/ShellScripter)\
**Replies:** 2\
**Last updated:** [June 8, 2010, 1:27pm UTC](https://www.ruby-forum.com/t/rails-3-how-to-refer-to-birthday-1i-in-a-ar/189675 "2010-06-08T13:27:22Z")

</div>

Hi , there , first of all i wanna to express my regard to the Rails 3 dev. team’s effort , the work is really amazing ! Really speed up a lot the performance !! Well , i still a rookie guy and have a question for ask …

---

## [Globalize2 - virtual attributes to access field in a specific language directly](https://www.ruby-forum.com/t/globalize2-virtual-attributes-to-access-field-in-a-specific-language-directly/181583)

<div class="topic-metadata">

**Author:** [@hydrozen](https://www.ruby-forum.com/u/hydrozen)\
**Replies:** 2\
**Last updated:** [January 17, 2010, 4:05pm UTC](https://www.ruby-forum.com/t/globalize2-virtual-attributes-to-access-field-in-a-specific-language-directly/181583 "2010-01-17T16:05:24Z")

</div>

Hi, I just did a small extension to the translates method of globalize2 so that it defines a couple additional attributes to my model. For example, since my application supports french and english, when I do translat…

---

## [Another tiny typo 5.3 bug](https://www.ruby-forum.com/t/another-tiny-typo-5-3-bug/176711)

<div class="topic-metadata">

**Author:** [@Petri\_Wessman](https://www.ruby-forum.com/u/Petri_Wessman)\
**Replies:** 2\
**Last updated:** [October 12, 2009, 10:49am UTC](https://www.ruby-forum.com/t/another-tiny-typo-5-3-bug/176711 "2009-10-12T10:49:25Z")

</div>

While I’m at it: just noticed that even though I have the article filter set to be “Markdown with Smartypants” in the settings, when I go to write a new post the article filter is always set to “None” – I have to manu…

---

## [How to implement get and set method in ruby on rails](https://www.ruby-forum.com/t/how-to-implement-get-and-set-method-in-ruby-on-rails/175178)

<div class="topic-metadata">

**Author:** [@venkat\_ruby](https://www.ruby-forum.com/u/venkat_ruby)\
**Replies:** 2\
**Last updated:** [September 9, 2009, 2:18pm UTC](https://www.ruby-forum.com/t/how-to-implement-get-and-set-method-in-ruby-on-rails/175178 "2009-09-09T14:18:47Z")

</div>

please help

---

## [Force gem to use a given version of library](https://www.ruby-forum.com/t/force-gem-to-use-a-given-version-of-library/163323)

<div class="topic-metadata">

**Author:** [@edouard](https://www.ruby-forum.com/u/edouard)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 12:01am UTC](https://www.ruby-forum.com/t/force-gem-to-use-a-given-version-of-library/163323 "2009-03-20T00:01:24Z")

</div>

hi, i have to install a gem and force it to use a given version of two installed library, (removing the older will trash my system) how can i tell gem to use the version i want? thanks

---

## [Carrier Frequency](https://www.ruby-forum.com/t/carrier-frequency/163138)

<div class="topic-metadata">

**Author:** [@bill-h](https://www.ruby-forum.com/u/bill-h)\
**Replies:** 2\
**Last updated:** [March 17, 2009, 9:05pm UTC](https://www.ruby-forum.com/t/carrier-frequency/163138 "2009-03-17T21:05:45Z")

</div>

I cannot find in any of the transmission examples for digital communication where the carrier frequency comes into play. I have tried to track it down, but cannot figure out where the actual “carrier modulation” is …

---

## [The TODO note in rspec files can't be shown in "rake notes"](https://www.ruby-forum.com/t/the-todo-note-in-rspec-files-cant-be-shown-in-rake-notes/155373)

<div class="topic-metadata">

**Author:** [@Kai\_Fu](https://www.ruby-forum.com/u/Kai_Fu)\
**Replies:** 2\
**Last updated:** [February 10, 2009, 8:48pm UTC](https://www.ruby-forum.com/t/the-todo-note-in-rspec-files-cant-be-shown-in-rake-notes/155373 "2009-02-10T20:48:48Z")

</div>

Hello, I’ve written a “TODO” comment in a xxx\_controller\_spec.rb. When I run the “rake notes” command, it doesn’t appear in the output, while other notes written in the “app” dir are shown correctly. Could someone t…

---

## [1 or true in TINYINT(1) column?](https://www.ruby-forum.com/t/1-or-true-in-tinyint-1-column/147137)

<div class="topic-metadata">

**Author:** [@j.francisco](https://www.ruby-forum.com/u/j.francisco)\
**Replies:** 2\
**Last updated:** [August 28, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/1-or-true-in-tinyint-1-column/147137 "2008-08-28T21:03:18Z")

</div>

Hello, there is a table that has a column TINYINT(1) called status. Through mysql console I see its value as 1 (when is true) but if I do this in Rails console: Mytable.status =\> true give me “true” rather “1”. How…

---

## [Please remove Google ads (and sidebar) from print.css](https://www.ruby-forum.com/t/please-remove-google-ads-and-sidebar-from-print-css/60016)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 2\
**Last updated:** [April 27, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/please-remove-google-ads-and-sidebar-from-print-css/60016 "2007-04-27T16:23:57Z")

</div>

Please remove the Google ads and the whole left sidebar from print.css The menu bar could go too, but that’s not really a problem.

---

## [How to run a ruby script](https://www.ruby-forum.com/t/how-to-run-a-ruby-script/225303)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [December 29, 2012, 5:37am UTC](https://www.ruby-forum.com/t/how-to-run-a-ruby-script/225303 "2012-12-29T05:37:38Z")

</div>

class Dungeonapp attr\_accessor :player def initialize(player\_name) @player = Player.new(player\_name) @rooms = \[\] end def add\_room(reference, name, description, connections) @rooms \<\< Room.new(reference, name, desc…

---

## [Error in python (XML file)](https://www.ruby-forum.com/t/error-in-python-xml-file/190863)

<div class="topic-metadata">

**Author:** [@zohair](https://www.ruby-forum.com/u/zohair)\
**Replies:** 6\
**Last updated:** [June 30, 2010, 12:59pm UTC](https://www.ruby-forum.com/t/error-in-python-xml-file/190863 "2010-06-30T12:59:43Z")

</div>

Dear all, I am trying to modify the USRP2 block so that the timer is reset at the beginning. I added this line to the make tag in the xml file: self.$(id).set\_time\_at\_next\_pps(time\_spec\_t(0,0)) I receive this error: …

---

## [Question about structuring specs](https://www.ruby-forum.com/t/question-about-structuring-specs/181042)

<div class="topic-metadata">

**Author:** [@Ijonas\_Kisselbach](https://www.ruby-forum.com/u/Ijonas_Kisselbach)\
**Replies:** 6\
**Last updated:** [January 4, 2010, 2:43pm UTC](https://www.ruby-forum.com/t/question-about-structuring-specs/181042 "2010-01-04T14:43:24Z")

</div>

Hi, I’m struggling with structuring my specs describing a large process in my app. There are multiple paths of execution through that process each of which I’m trying to describe using a different rspec context, eg. …

---

## [What is the most efficient way to split a table into 2 groups?](https://www.ruby-forum.com/t/what-is-the-most-efficient-way-to-split-a-table-into-2-groups/176307)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 6\
**Last updated:** [September 29, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/what-is-the-most-efficient-way-to-split-a-table-into-2-groups/176307 "2009-09-29T18:31:20Z")

</div>

I have the following: @lot = Lot.find(params\[:id\]) part\_nums = Part.all(:conditions =\> \[“id \<\> ?”, @lot.part.id\]) I guess I should mention that Lot :belongs\_to =\> :part I was looking at the log following the executi…

---

## [Find all messages from all friends](https://www.ruby-forum.com/t/find-all-messages-from-all-friends/162932)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 6\
**Last updated:** [March 17, 2009, 11:49am UTC](https://www.ruby-forum.com/t/find-all-messages-from-all-friends/162932 "2009-03-17T11:49:16Z")

</div>

Hi, I have an app where users have friends, and friends can have messages for friends to see. I would like to list all the messages that my friends have easily. I can use @user\_friends = current\_user.friends to find …

---

## [Problema con attachment\_fu y archivos pptx](https://www.ruby-forum.com/t/problema-con-attachment-fu-y-archivos-pptx/138816)

<div class="topic-metadata">

**Author:** [@wiz](https://www.ruby-forum.com/u/wiz)\
**Replies:** 6\
**Last updated:** [May 30, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/problema-con-attachment-fu-y-archivos-pptx/138816 "2008-05-30T16:05:54Z")

</div>

Que tal lista, Estoy usando el attachment\_fu en mi programa para subur archivos de office a un server y todo muy bien hasta que intento subir un archivo powerpoint version 2007. Ahora me dice : Content type is not …

---

## [Creating Tables at RUNTIME](https://www.ruby-forum.com/t/creating-tables-at-runtime/132099)

<div class="topic-metadata">

**Author:** [@neo](https://www.ruby-forum.com/u/neo)\
**Replies:** 6\
**Last updated:** [March 17, 2008, 1:01pm UTC](https://www.ruby-forum.com/t/creating-tables-at-runtime/132099 "2008-03-17T13:01:50Z")

</div>

I am confused about creating tables on runtime… suppose i register to one website, and upon successful registration i want to create a table with my name like— Neo\_Message is the table that i would like to create as s…

---

## [Win32ole: Pass by Reference](https://www.ruby-forum.com/t/win32ole-pass-by-reference/120169)

<div class="topic-metadata">

**Author:** [@zxem](https://www.ruby-forum.com/u/zxem)\
**Replies:** 6\
**Last updated:** [November 15, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/win32ole-pass-by-reference/120169 "2007-11-15T13:26:44Z")

</div>

All, I am using Ruby 1.8.6 now and trying to so a pass by reference COM call through win32ole. The code looks like this: (I am not really calling Excel) excel = WIN32OLE.new(“excel”) excel.getCell(cell, column, row…

---

## [Symbol to true object](https://www.ruby-forum.com/t/symbol-to-true-object/86827)

<div class="topic-metadata">

**Author:** [@Nasir\_K](https://www.ruby-forum.com/u/Nasir_K)\
**Replies:** 6\
**Last updated:** [February 26, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/symbol-to-true-object/86827 "2007-02-26T19:26:38Z")

</div>

Hi, Is there an idiom to convert the symbol :true to object true (of TrueClass)? Basically how can I better def validate\_the\_message (sym\_arg) @vtm = case sym\_arg when :true true when :false false else # do…

---

## [Rake aborted! Mysql::Error](https://www.ruby-forum.com/t/rake-aborted-mysql-error/70146)

<div class="topic-metadata">

**Author:** [@jacquie](https://www.ruby-forum.com/u/jacquie)\
**Replies:** 6\
**Last updated:** [October 9, 2006, 7:59am UTC](https://www.ruby-forum.com/t/rake-aborted-mysql-error/70146 "2006-10-09T07:59:25Z")

</div>

Hi,I followed the process of creating depot in the book ‘Ruby on Rails’ all works fine until I came to the ‘Checkout’ chapter. After I created the two models order and line\_item and got the two migration file altered …

---

## [Une tite nlles avec plein de questions](https://www.ruby-forum.com/t/une-tite-nlles-avec-plein-de-questions/55952)

<div class="topic-metadata">

**Author:** [@Bolo\_M](https://www.ruby-forum.com/u/Bolo_M)\
**Replies:** 6\
**Last updated:** [March 26, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/une-tite-nlles-avec-plein-de-questions/55952 "2006-03-26T18:47:01Z")

</div>

Salut tout le monde ! voila je dÃ©cidÃ© a apprendre ruby est utilisÃ© plus particuliÃ¨rement Rails. Devrais je dans un premier temps Ruby , quel livre vous me conseillez ? Quel site web avec des tutos ? Puis appren…

---

## [Wrapping XML document in Class](https://www.ruby-forum.com/t/wrapping-xml-document-in-class/54736)

<div class="topic-metadata">

**Author:** [@Miles\_Monroe](https://www.ruby-forum.com/u/Miles_Monroe)\
**Replies:** 6\
**Last updated:** [March 14, 2006, 12:12am UTC](https://www.ruby-forum.com/t/wrapping-xml-document-in-class/54736 "2006-03-14T00:12:46Z")

</div>

I would like to use Ruby and REXML to wrap an XML document and allow access to the element nodes, attributes, and text. Essentially I need an XML document builder loosely coupled from the document. It seems like Ruby…

---

## [Can't connect to localhost:3000 0.0.0.0:3000](https://www.ruby-forum.com/t/cant-connect-to-localhost-3000-0-0-0-0-3000/236164)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 11, 2013, 8:59pm UTC](https://www.ruby-forum.com/t/cant-connect-to-localhost-3000-0-0-0-0-3000/236164 "2013-08-11T20:59:21Z")

</div>

I’m able to do this: =\> Booting WEBrick =\> Rails 3.2.11 application starting in development on url http://0.0.0.0:3000 /url =\> Call with -d to detach =\> Ctrl-C to shutdown server \[2013-08-11 13:38:11\] INFO WEBrick…

---

## [Search for a word in a file before uploading](https://www.ruby-forum.com/t/search-for-a-word-in-a-file-before-uploading/224602)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [November 20, 2012, 8:37am UTC](https://www.ruby-forum.com/t/search-for-a-word-in-a-file-before-uploading/224602 "2012-11-20T08:37:33Z")

</div>

Hello! I am using this example for file uploader.https://github.com/tors/jquery-fileupload-rails-paperclip-example Before uploading a file I would like to open it, search for a specific word, assign this word to an a…

---

## [Cmd line interface for ruby on rails app](https://www.ruby-forum.com/t/cmd-line-interface-for-ruby-on-rails-app/220596)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [June 14, 2012, 1:30am UTC](https://www.ruby-forum.com/t/cmd-line-interface-for-ruby-on-rails-app/220596 "2012-06-14T01:30:18Z")

</div>

Hi, I have a rails app running which provides an interface to create/update data stored in a DB. How do i develop a cmd line interface to do the same i.e i should be able to retrieve/update data to a DB.

---

## [Please help me](https://www.ruby-forum.com/t/please-help-me/211601)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [October 11, 2011, 2:21pm UTC](https://www.ruby-forum.com/t/please-help-me/211601 "2011-10-11T14:21:12Z")

</div>

Hi guys, I’m new to nginx. Just knew how to use it few months ago. I got a QuickSSL SSL, but I would like to install it only on mybb admin folder only (http://myforum.com/admin will rewrite to https://myforum.com/adm…

---

## [How to make Saas application? Is it possible?](https://www.ruby-forum.com/t/how-to-make-saas-application-is-it-possible/212597)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [October 8, 2011, 11:38am UTC](https://www.ruby-forum.com/t/how-to-make-saas-application-is-it-possible/212597 "2011-10-08T11:38:24Z")

</div>

Hi everybody! I want to know, is it possible to create Saas application with Ruby and Rubyonrails? I’m newbie, so I wanted to know opinion of more experienced developers. Sincerely, Asset

---

## [Merging the vrt- branch](https://www.ruby-forum.com/t/merging-the-vrt-branch/185008)

<div class="topic-metadata">

**Author:** [@mattias\_k](https://www.ruby-forum.com/u/mattias_k)\
**Replies:** 7\
**Last updated:** [March 15, 2010, 10:06pm UTC](https://www.ruby-forum.com/t/merging-the-vrt-branch/185008 "2010-03-15T22:06:43Z")

</div>

Hi list, I have previously merged the vrt- branch into the gnuradio- tree and successfully compiled and used it. However… I’m in the middle of creating a script that sets up gnuradio and other programs I need from a …

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

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