# Top

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

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

---

## [Using MSScriptControl with Rubyscript](https://www.ruby-forum.com/t/using-msscriptcontrol-with-rubyscript/63240)

<div class="topic-metadata">

**Author:** [@wkc](https://www.ruby-forum.com/u/wkc)\
**Replies:** 3\
**Last updated:** [June 16, 2006, 3:40am UTC](https://www.ruby-forum.com/t/using-msscriptcontrol-with-rubyscript/63240 "2006-06-16T03:40:11Z")

</div>

I am attempting to use the MSScriptcontrol with rubyscript: objShell = WIN32OLE.new("WScript.Shell") com1 = WIN32OLE.new('comobject.name') script = WIN32OLE.new("MSScriptControl.ScriptControl") script.language = "RubyS…

---

## [How can i get the value from a simple html form using ruby?](https://www.ruby-forum.com/t/how-can-i-get-the-value-from-a-simple-html-form-using-ruby/220546)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 13, 2012, 5:06am UTC](https://www.ruby-forum.com/t/how-can-i-get-the-value-from-a-simple-html-form-using-ruby/220546 "2012-06-13T05:06:43Z")

</div>

It’s running ~/public\_html/runwebrick.rb=\> #!/home/user1/.rvm/rubies/ruby-1.9.3-p194/bin/ruby require ‘webrick’ root = File.expand\_path ‘~/public\_html’ server = WEBrick::HTTPServer.new :Port =\> 8000, :DocumentRoot =\> …

---

## [Render RJS in Index](https://www.ruby-forum.com/t/render-rjs-in-index/88462)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 4\
**Last updated:** [March 11, 2007, 4:12pm UTC](https://www.ruby-forum.com/t/render-rjs-in-index/88462 "2007-03-11T16:12:55Z")

</div>

Greetings Having the darndest time trying to render an inline RJS page element in my index page. I don’t have any trouble linking to a remote page and rendering RJS, but it’s got me stumped how to do it from the index …

---

## [Observers, instance variables](https://www.ruby-forum.com/t/observers-instance-variables/119132)

<div class="topic-metadata">

**Author:** [@kalle\_saas](https://www.ruby-forum.com/u/kalle_saas)\
**Replies:** 6\
**Last updated:** [November 5, 2007, 8:32am UTC](https://www.ruby-forum.com/t/observers-instance-variables/119132 "2007-11-05T08:32:48Z")

</div>

Hey, wie kann man in Observer auf instance Variablen zugrefen? Ich baue gerade das “latest activity” feature in meine webapp ein und habe das versucht: def after\_destroy(bill) activity = Activity.new activity.cate…

---

## [DRY? Converting Boolean to Yes/No](https://www.ruby-forum.com/t/dry-converting-boolean-to-yes-no/98754)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 6\
**Last updated:** [July 18, 2006, 12:12am UTC](https://www.ruby-forum.com/t/dry-converting-boolean-to-yes-no/98754 "2006-07-18T00:12:43Z")

</div>

I have a database column given as: t.column :change\_address, :boolean The user interacts with this using a checkbox, but wants confirmations to read: Change address: Yes In an isolated case something like: @obj.ch…

---

## [499 error](https://www.ruby-forum.com/t/499-error/214405)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 7, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/499-error/214405 "2011-12-07T23:21:26Z")

</div>

I have a configuration that uses nginx + unicorn + rails 3.1. I have a load balancer in front of this, and the health checks are failing because nginx is sending a 499 response when I try to use a rails page for the …

---

## [ZipFile.extract overwrite option](https://www.ruby-forum.com/t/zipfile-extract-overwrite-option/176947)

<div class="topic-metadata">

**Author:** [@jimboberlin](https://www.ruby-forum.com/u/jimboberlin)\
**Replies:** 2\
**Last updated:** [October 9, 2009, 12:24pm UTC](https://www.ruby-forum.com/t/zipfile-extract-overwrite-option/176947 "2009-10-09T12:24:29Z")

</div>

Hi I’m trying to extract a Zipfile using the ZipFile Class. According to the docs, Class: Zip::ZipFile" the extract method takes a third param to specify the behaviour if a file already exists. However if I try to …

---

## [ActiveRecord setting IDs on auto increment fields](https://www.ruby-forum.com/t/activerecord-setting-ids-on-auto-increment-fields/56281)

<div class="topic-metadata">

**Author:** [@Mr.Jay\_Ellis\_Wiggin](https://www.ruby-forum.com/u/Mr.Jay_Ellis_Wiggin)\
**Replies:** 2\
**Last updated:** [January 6, 2006, 5:25am UTC](https://www.ruby-forum.com/t/activerecord-setting-ids-on-auto-increment-fields/56281 "2006-01-06T05:25:17Z")

</div>

Hi All, I’ve tried to do my searches, but can’t find reference to this anywhere - My question is about ActiveRecord inserts and IDs. I have a join table that both the models of the source tables join with “has\_and\_bel…

---

## [Lightty idle-timeout - does it work?](https://www.ruby-forum.com/t/lightty-idle-timeout-does-it-work/50905)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 2\
**Last updated:** [December 22, 2005, 8:11pm UTC](https://www.ruby-forum.com/t/lightty-idle-timeout-does-it-work/50905 "2005-12-22T20:11:36Z")

</div>

Rails 1.0 on RedHat with MySQL It seems that my app stops functioning overnight \[actually I am assuming that it is after a period of inactivity\]. Googling around for solutions, it seems that it might be an issue with …

---

## [engine.ExecuteFile gives errors](https://www.ruby-forum.com/t/engine-executefile-gives-errors/169962)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 5\
**Last updated:** [June 12, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/engine-executefile-gives-errors/169962 "2009-06-12T20:14:56Z")

</div>

I am using the following code to execute a Ruby file from C# but it gives me the error: var runtime = IronRuby.Ruby.CreateRuntime(); var engine = runtime.GetEngine(“rb”); engine.ExecuteFile("../../HelloWorld.…

---

## [Working on a stable release from github by using local branches](https://www.ruby-forum.com/t/working-on-a-stable-release-from-github-by-using-local-branches/161241)

<div class="topic-metadata">

**Author:** [@polarapfel](https://www.ruby-forum.com/u/polarapfel)\
**Replies:** 5\
**Last updated:** [February 25, 2009, 6:45pm UTC](https://www.ruby-forum.com/t/working-on-a-stable-release-from-github-by-using-local-branches/161241 "2009-02-25T18:45:37Z")

</div>

Hi everybody, I just want to share this with you. I find this useful, maybe this will help you too. Since typo in fdv/typo on github is a (fast)moving target, you might want to work with a stable code base to branc…

---

## [Redirect\_to or send\_file and AWS S3](https://www.ruby-forum.com/t/redirect-to-or-send-file-and-aws-s3/173086)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 3\
**Last updated:** [August 2, 2009, 4:36am UTC](https://www.ruby-forum.com/t/redirect-to-or-send-file-and-aws-s3/173086 "2009-08-02T04:36:48Z")

</div>

Hi, I store files on S3 as the id of the file in my appliction. IE my file with id 20 will be stored on S3 as 20. When I download the file I want to look up the file name in the database and then pass it off to the u…

---

## [Names of months in Archive Extension](https://www.ruby-forum.com/t/names-of-months-in-archive-extension/118031)

<div class="topic-metadata">

**Author:** [@ar2ras](https://www.ruby-forum.com/u/ar2ras)\
**Replies:** 8\
**Last updated:** [October 25, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/names-of-months-in-archive-extension/118031 "2007-10-25T18:27:42Z")

</div>

Hi, I want to have listed archive with months and years in polish language. By default this is english language. If I use command: “\<r:date format=”%B %Y" /\>" I got for example June 2007. Instead of “June” I want to …

---

## [\[ANN\] Userstamp Plugin](https://www.ruby-forum.com/t/ann-userstamp-plugin/63576)

<div class="topic-metadata">

**Author:** [@DeLynn\_B](https://www.ruby-forum.com/u/DeLynn_B)\
**Replies:** 8\
**Last updated:** [January 24, 2006, 1:37pm UTC](https://www.ruby-forum.com/t/ann-userstamp-plugin/63576 "2006-01-24T13:37:59Z")

</div>

I’m pleased to announce a new plugin for Rails: Userstamp. You can read my blog post at http://www.delynnberry.com/articles/2006/01/20/userstamp-plugin and/or read all about it at the perminant page http://www.delyn…

---

## [Fiddle claiming that a linked library does not exist](https://www.ruby-forum.com/t/fiddle-claiming-that-a-linked-library-does-not-exist/263671)

<div class="topic-metadata">

**Author:** [@delon](https://www.ruby-forum.com/u/delon)\
**Replies:** 2\
**Last updated:** [May 30, 2023, 4:15pm UTC](https://www.ruby-forum.com/t/fiddle-claiming-that-a-linked-library-does-not-exist/263671 "2023-05-30T16:15:59Z")

</div>

For the following code I get the output: “Error: /usr/local/bundle/ruby/3.0.0/gems/mitie-0.2.1/vendor/libmitie.so: cannot open shared object file: No such file or directory”, but the file does exist, and seems to be a va…

---

## [Maximum of thread and platform](https://www.ruby-forum.com/t/maximum-of-thread-and-platform/234166)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 13, 2015, 3:03pm UTC](https://www.ruby-forum.com/t/maximum-of-thread-and-platform/234166 "2015-02-13T15:03:20Z")

</div>

Hello, Here some measures of how many thread ruby an create. There are many differences between platform. Is there a reason (Ruby compilation, kernel tuning…) ? ================ Windows windows\>ruby -e “loop { Threa…

---

## [NCO and VCO frequencies](https://www.ruby-forum.com/t/nco-and-vco-frequencies/206446)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 2, 2011, 5:57am UTC](https://www.ruby-forum.com/t/nco-and-vco-frequencies/206446 "2011-05-02T05:57:53Z")

</div>

Gnuradio controls the receiver side on the usrp inorder to receive data centered around certain center frequency… and in doing that it sets 2 frequencies on the USRP one in the analog domain which is the center freque…

---

## [Timeout exception open-uri](https://www.ruby-forum.com/t/timeout-exception-open-uri/193534)

<div class="topic-metadata">

**Author:** [@quark](https://www.ruby-forum.com/u/quark)\
**Replies:** 2\
**Last updated:** [August 19, 2010, 12:22pm UTC](https://www.ruby-forum.com/t/timeout-exception-open-uri/193534 "2010-08-19T12:22:49Z")

</div>

Hello people… I’m kinda new to Ruby, so probably this is just a stupid question… I’m crawling some websites to get some information and I’m getting this error: /usr/lib/ruby/1.8/net/http.rb:560:in initialize': Connec…

---

## [Authorization header in combination with X-Accel-Redirect](https://www.ruby-forum.com/t/authorization-header-in-combination-with-x-accel-redirect/186919)

<div class="topic-metadata">

**Author:** [@plantian](https://www.ruby-forum.com/u/plantian)\
**Replies:** 2\
**Last updated:** [April 14, 2010, 9:31pm UTC](https://www.ruby-forum.com/t/authorization-header-in-combination-with-x-accel-redirect/186919 "2010-04-14T21:31:04Z")

</div>

I have one proxy that is handling Authorization of users for media content. This proxy really does authorize users, returning 403 if they are not permitted to access a resource. Then I proxy to amazon s3 to a privat…

---

## [Can't extend Java class from JRuby](https://www.ruby-forum.com/t/cant-extend-java-class-from-jruby/127134)

<div class="topic-metadata">

**Author:** [@shanna](https://www.ruby-forum.com/u/shanna)\
**Replies:** 2\
**Last updated:** [March 11, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/cant-extend-java-class-from-jruby/127134 "2008-03-11T16:15:20Z")

</div>

Hi - This is stupid, but it’s baffling the hell out of me. I have a Java class: package javatest; public class Test { public void sayHi() { System.out.println(“Hello.”); } } And I have a JRuby file: require ‘java…

---

## [Missing Template Should be 404 Error](https://www.ruby-forum.com/t/missing-template-should-be-404-error/83204)

<div class="topic-metadata">

**Author:** [@Aaron\_Longwell](https://www.ruby-forum.com/u/Aaron_Longwell)\
**Replies:** 2\
**Last updated:** [January 24, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/missing-template-should-be-404-error/83204 "2007-01-24T18:03:50Z")

</div>

I have a site I’m building that has the template dynamically chosen based upon some parameters of the request. There are cases where a nonexistent template will be sent to the render method. For purposes of my applic…

---

## [REXML::ParseException - but the feed IS valid](https://www.ruby-forum.com/t/rexml-parseexception-but-the-feed-is-valid/99825)

<div class="topic-metadata">

**Author:** [@eduard](https://www.ruby-forum.com/u/eduard)\
**Replies:** 4\
**Last updated:** [May 17, 2011, 3:49pm UTC](https://www.ruby-forum.com/t/rexml-parseexception-but-the-feed-is-valid/99825 "2011-05-17T15:49:46Z")

</div>

I am using Ruby feedparser and when I try to parse this feed: http://feeds.feedburner.com/Mobilecrunch I get an error: REXML::ParseException: Declarations can only occur in the doctype declaration. This feed does va…

---

## [Two while loops at once](https://www.ruby-forum.com/t/two-while-loops-at-once/197620)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 17, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/two-while-loops-at-once/197620 "2010-10-17T16:18:24Z")

</div>

i dont want to go into details about what im doing, i just want to know if its possible to run 2 while loops at the same time. thanks

---

## [\[ANN\] ruby-sendfile 0.9.1](https://www.ruby-forum.com/t/ann-ruby-sendfile-0-9-1/87329)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [September 16, 2010, 4:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-sendfile-0-9-1/87329 "2010-09-16T16:15:03Z")

</div>

As promised, I’ve updated ruby-sendfile to make it more “1.0”. There is a source tarball and gem up on Rubyforge, whichever you prefer. I’ve also added unit tests to make sure that full and partial sends work on both …

---

## [Can i write programs in rails without scaffolding](https://www.ruby-forum.com/t/can-i-write-programs-in-rails-without-scaffolding/180855)

<div class="topic-metadata">

**Author:** [@basil](https://www.ruby-forum.com/u/basil)\
**Replies:** 4\
**Last updated:** [December 30, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/can-i-write-programs-in-rails-without-scaffolding/180855 "2009-12-30T17:21:32Z")

</div>

hai friends i am fresher in rails and i want to know can i write application i ruby without scaffoldining plz post some links or any applications without using scffolding… – You received this message because you ar…

---

## [Can I keep the records order using a scope : where(:id =\> geo\_ids)](https://www.ruby-forum.com/t/can-i-keep-the-records-order-using-a-scope-where-id-geo-ids/221677)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 25, 2012, 6:54pm UTC](https://www.ruby-forum.com/t/can-i-keep-the-records-order-using-a-scope-where-id-geo-ids/221677 "2012-07-25T18:54:09Z")

</div>

I am using this scope , in which geo\_ids is a sorted array of Ids … scope :geo\_filtered\_with, lambda { |geo\_ids| where(:id =\> geo\_ids) } is the resulting output always sorted according to this order ? or should I m…

---

## [Ruby 1.9.1 linear memory increase in a simple for loop](https://www.ruby-forum.com/t/ruby-1-9-1-linear-memory-increase-in-a-simple-for-loop/198304)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 7\
**Last updated:** [November 1, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-linear-memory-increase-in-a-simple-for-loop/198304 "2010-11-01T15:58:59Z")

</div>

The following text code shows a linear rise in memory usage. Since this is a simple loop, I am guessing there’s something fundamentally wrong (either in my understanding of ruby’s garbage collection, or in ruby’s garb…

---

## [GNURadio fresh Linux installation and usrp\_benchmark\_usb.py error](https://www.ruby-forum.com/t/gnuradio-fresh-linux-installation-and-usrp-benchmark-usb-py-error/183612)

<div class="topic-metadata">

**Author:** [@spliffer](https://www.ruby-forum.com/u/spliffer)\
**Replies:** 7\
**Last updated:** [February 24, 2010, 2:04am UTC](https://www.ruby-forum.com/t/gnuradio-fresh-linux-installation-and-usrp-benchmark-usb-py-error/183612 "2010-02-24T02:04:40Z")

</div>

Hello, I am new in the GNU Radio community and I am looking for some help to get started. I have installed Linux Ubuntu 9.10 (Karmic Koala) as Virtual Box host in OS X 10.5.8. following the “Getting Started” indica…

---

## [Outil de test de montÃ© en charge](https://www.ruby-forum.com/t/outil-de-test-de-monta-en-charge/114051)

<div class="topic-metadata">

**Author:** [@FrSSSSdSSSSric\_Logi](https://www.ruby-forum.com/u/FrSSSSdSSSSric_Logi)\
**Replies:** 7\
**Last updated:** [September 8, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/outil-de-test-de-monta-en-charge/114051 "2007-09-08T13:32:50Z")

</div>

Bonjour, comme l’indique le titre je cherche un tel outil, permettant notamment de simuler N utilisateurs en simultanÃ© et d’obtenir des stats permettant de dÃ©tecter les goulots d’Ã©tranglement. http://fr.wikipedia…

---

## [Controllers in sub-directories without namespaces?](https://www.ruby-forum.com/t/controllers-in-sub-directories-without-namespaces/207112)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 18, 2011, 5:46pm UTC](https://www.ruby-forum.com/t/controllers-in-sub-directories-without-namespaces/207112 "2011-05-18T17:46:25Z")

</div>

Hello all As I adopt REST more and more, my app has grown to have a lot of nested routes - only nested one level deep - that are starting to get a bit cumbersome to manage. e.g. resources :products do resource :pro…

---

## [Cannot get jquery to work](https://www.ruby-forum.com/t/cannot-get-jquery-to-work/166858)

<div class="topic-metadata">

**Author:** [@anil](https://www.ruby-forum.com/u/anil)\
**Replies:** 6\
**Last updated:** [April 30, 2009, 8:14pm UTC](https://www.ruby-forum.com/t/cannot-get-jquery-to-work/166858 "2009-04-30T20:14:15Z")

</div>

\<%= javascript\_include\_tag “jquery.js” %\> I want to add class to table tag using following command inside script tag. CSS has all the tree class declared .odd { background-color: #fcc; } .even { background-colo…

---

## [\[Cucumber\] any examples of navigating cucumber parse tree from external script](https://www.ruby-forum.com/t/cucumber-any-examples-of-navigating-cucumber-parse-tree-from-external-script/164991)

<div class="topic-metadata">

**Author:** [@korny](https://www.ruby-forum.com/u/korny)\
**Replies:** 6\
**Last updated:** [April 14, 2009, 12:17pm UTC](https://www.ruby-forum.com/t/cucumber-any-examples-of-navigating-cucumber-parse-tree-from-external-script/164991 "2009-04-14T12:17:39Z")

</div>

Hi folks, I’m writing some scripts to integrate our cucumber features with stories stored in a wiki, and I’m hoping to use cucumber’s parser to parse the features rather than doing it manually. (I don’t really care a…

---

## [Questions](https://www.ruby-forum.com/t/questions/117053)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 6\
**Last updated:** [October 16, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/questions/117053 "2007-10-16T16:07:10Z")

</div>

Dear devs, I would like to hear your opinion on two issues: I am thinking about automatically performing CGI.unescape to query parameters. I am thinking about dropping the trailing x from template files. this is …

---

## [SSL and url\_for](https://www.ruby-forum.com/t/ssl-and-url-for/59087)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 6\
**Last updated:** [April 28, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/ssl-and-url-for/59087 "2006-04-28T17:09:56Z")

</div>

Hey, all! I’m having a url problem that seems like I’m going to overcomplicate it if I don’t just ask what I’m doing wrong… My situation is that I’m testing to see if a visitor is accessing a controller via SSL, and …

---

## [BigDecimal#sqrt](https://www.ruby-forum.com/t/bigdecimal-sqrt/50933)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [December 28, 2005, 5:29am UTC](https://www.ruby-forum.com/t/bigdecimal-sqrt/50933 "2005-12-28T05:29:30Z")

</div>

I’m trying to understand the argument to BigDecimal#sqrt. I figured it was for precision and it does seem to affect it, but I can’t understand the exactly relationship. Can anyone tell me what the argument controls …

---

## [0.90.9 release tarball incomplete?](https://www.ruby-forum.com/t/0-90-9-release-tarball-incomplete/208560)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [June 23, 2011, 2:41pm UTC](https://www.ruby-forum.com/t/0-90-9-release-tarball-incomplete/208560 "2011-06-23T14:41:38Z")

</div>

Hello, I was trying to get gio working and after some searching concluded that ruby-gnome2 0.19.3 packaged in Debian does not have that. I downloaded ruby-gnome2-all-0.90.9 and while the readme mentions libraries lik…

---

## [Add new value to top of an Array](https://www.ruby-forum.com/t/add-new-value-to-top-of-an-array/202254)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 25, 2011, 12:44pm UTC](https://www.ruby-forum.com/t/add-new-value-to-top-of-an-array/202254 "2011-01-25T12:44:33Z")

</div>

Hi, Does anyone know how to add a new value to the top of an array, instead of the bottom. eg. When using \<\<, this appends to the end.

---

## [Not stretching vertically](https://www.ruby-forum.com/t/not-stretching-vertically/193694)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 5\
**Last updated:** [August 24, 2010, 7:17am UTC](https://www.ruby-forum.com/t/not-stretching-vertically/193694 "2010-08-24T07:17:10Z")

</div>

I’m using wxRuby 2.0.1 on a PCLinuxOS system I have a form with a horizontal sizer. The form was built by wsFormBuilder if that matters. The sizer’s proportion is set to 1. There are two controls in the sizer. On the …

---

## [Change csv file into html table](https://www.ruby-forum.com/t/change-csv-file-into-html-table/189438)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 5\
**Last updated:** [June 2, 2010, 7:35am UTC](https://www.ruby-forum.com/t/change-csv-file-into-html-table/189438 "2010-06-02T07:35:33Z")

</div>

there is csv class showtable() function to change csv file into html table,can i make it in ruby?

---

## [Mailto](https://www.ruby-forum.com/t/mailto/170803)

<div class="topic-metadata">

**Author:** [@Werner\_L](https://www.ruby-forum.com/u/Werner_L)\
**Replies:** 5\
**Last updated:** [June 24, 2009, 9:20am UTC](https://www.ruby-forum.com/t/mailto/170803 "2009-06-24T09:20:52Z")

</div>

Gibts eigentlich kein mail\_to image\_tag ? Was zusammenbasteln? Gruß Werner L. removed\_email\_address@domain.invalid

---

## [JSON Builder for Rails?](https://www.ruby-forum.com/t/json-builder-for-rails/143885)

<div class="topic-metadata">

**Author:** [@blackflash](https://www.ruby-forum.com/u/blackflash)\
**Replies:** 3\
**Last updated:** [December 2, 2010, 12:50am UTC](https://www.ruby-forum.com/t/json-builder-for-rails/143885 "2010-12-02T00:50:07Z")

</div>

How to build JSON formatted data structures like XML’s are done with rxml templates? I can’t use to\_json method because I need other formatting than object’s one… probably I should play with strings within html.erb t…

---

## [\[Cucumber\] JUnit, Spring and autowiring](https://www.ruby-forum.com/t/cucumber-junit-spring-and-autowiring/168226)

<div class="topic-metadata">

**Author:** [@mikaelvik](https://www.ruby-forum.com/u/mikaelvik)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 11:02am UTC](https://www.ruby-forum.com/t/cucumber-junit-spring-and-autowiring/168226 "2009-05-20T11:02:44Z")

</div>

We are having trouble with JUnit-tests that are doing dependency injection in the setup of database connections. The stacktrace identifies autowiring of sessionFactory as the problem. During bean creation of sessionF…

---

## [Form submit onchange of dropdown](https://www.ruby-forum.com/t/form-submit-onchange-of-dropdown/119910)

<div class="topic-metadata">

**Author:** [@artybala](https://www.ruby-forum.com/u/artybala)\
**Replies:** 1\
**Last updated:** [November 12, 2007, 4:28am UTC](https://www.ruby-forum.com/t/form-submit-onchange-of-dropdown/119910 "2007-11-12T04:28:14Z")

</div>

Hi., Need help in learning how to submit a Form when a drop down value changes. I am using form\_remote\_tag . I want detail rows to be retrieved below automatically based on the value selected. ( Ex: Automatically …

---

## [Rmagick : impossible to remap](https://www.ruby-forum.com/t/rmagick-impossible-to-remap/263859)

<div class="topic-metadata">

**Author:** [@chridubois](https://www.ruby-forum.com/u/chridubois)\
**Replies:** 2\
**Last updated:** [May 16, 2023, 9:43am UTC](https://www.ruby-forum.com/t/rmagick-impossible-to-remap/263859 "2023-05-16T09:43:22Z")

</div>

Hello, As inputs, I have : An image (.png or .jpg) A array of color hex codes. I’ve built this script to create the palette with color hex codes in order to use it during the remap : In order to use Image Magick on …

---

## [Subtraction, union and intersection of arrays in Ruby](https://www.ruby-forum.com/t/subtraction-union-and-intersection-of-arrays-in-ruby/222705)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 6, 2012, 9:26pm UTC](https://www.ruby-forum.com/t/subtraction-union-and-intersection-of-arrays-in-ruby/222705 "2012-09-06T21:26:18Z")

</div>

Hi All. In the exercise I’m trying to solve I have 2 arrays of names and what I have to do in a subtraction, a union and an intersection of arrays, the issue is that I have to use basic functions as a for loop such as…

---

## [Gem install bundler works, gem bundle doesn't?](https://www.ruby-forum.com/t/gem-install-bundler-works-gem-bundle-doesnt/193287)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 2\
**Last updated:** [August 14, 2010, 11:36pm UTC](https://www.ruby-forum.com/t/gem-install-bundler-works-gem-bundle-doesnt/193287 "2010-08-14T23:36:46Z")

</div>

This is probably a simple user error, but why doesn’t “gem bundle” work after “gem install bundler”? bash$ gem install bundler Successfully installed bundler-0.9.26 1 gem installed Installing ri documentation for bun…

---

## [Updated\_at not updating](https://www.ruby-forum.com/t/updated-at-not-updating/135556)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 2\
**Last updated:** [April 23, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/updated-at-not-updating/135556 "2008-04-23T18:28:48Z")

</div>

How strange? I have a model that has updated\_at as a “magic” field in the database. But it isn’t updating unless I update it manually. Doing a google search, I saw someone else having a similar problem that was usin…

---

## [Group by (2 -levels)](https://www.ruby-forum.com/t/group-by-2-levels/82277)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 2\
**Last updated:** [January 19, 2007, 9:39am UTC](https://www.ruby-forum.com/t/group-by-2-levels/82277 "2007-01-19T09:39:08Z")

</div>

My table looks like: make | model | year And I’d like to display the info like: Make 01 Model 01 Year 01 Year 02 Year 03 Model 02 Year 01 Year 02 Make 02 Model 01 Year 01 Year 02 etc… I think group\_by wi…

---

## [How to display error messages for a child resource that failed validation](https://www.ruby-forum.com/t/how-to-display-error-messages-for-a-child-resource-that-failed-validation/187444)

<div class="topic-metadata">

**Author:** [@Matthew\_Hillsboroug](https://www.ruby-forum.com/u/Matthew_Hillsboroug)\
**Replies:** 4\
**Last updated:** [May 8, 2010, 12:10am UTC](https://www.ruby-forum.com/t/how-to-display-error-messages-for-a-child-resource-that-failed-validation/187444 "2010-05-08T00:10:53Z")

</div>

Can anyone explain why this happens? mybox:$ ruby script/console Loading development environment (Rails 2.3.5) \>\> foo = Foo.new =\> #\<Foo id: nil, customer\_id: nil, created\_at: nil, updated\_at: nil\> \>\> bar = Bar.new =\>…

---

## [Redirection rule 301 on routes.rb](https://www.ruby-forum.com/t/redirection-rule-301-on-routes-rb/184309)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 5:38pm UTC](https://www.ruby-forum.com/t/redirection-rule-301-on-routes-rb/184309 "2010-03-01T17:38:56Z")

</div>

hi, i have created a redirection controller for redirect old pages of another previous site: ####### start code ###### class RedirectController \< ApplicationController def index headers\[“Status”\] = “301 Moved Perman…

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

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