# Top

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

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

---

## [Classpath Ignored in Command Line](https://www.ruby-forum.com/t/classpath-ignored-in-command-line/184818)

<div class="topic-metadata">

**Author:** [@Paul\_F\_Fraser](https://www.ruby-forum.com/u/Paul_F_Fraser)\
**Replies:** 3\
**Last updated:** [March 9, 2010, 8:40am UTC](https://www.ruby-forum.com/t/classpath-ignored-in-command-line/184818 "2010-03-09T08:40:58Z")

</div>

java -jar jruby-complete-1.5.0.dev.jar -J-cp h2-latest.jar main.rb fails with jruby: unknown option -J-cp also java -cp h2-latest.jar -jar jruby-complete-1.5.0.dev.jar main.rb ignores the classpath How best to get …

---

## [A Ferret/AAF success story](https://www.ruby-forum.com/t/a-ferret-aaf-success-story/104146)

<div class="topic-metadata">

**Author:** [@dburkes](https://www.ruby-forum.com/u/dburkes)\
**Replies:** 3\
**Last updated:** [May 15, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/a-ferret-aaf-success-story/104146 "2007-05-15T20:41:33Z")

</div>

Hello everyone- We recently added full archives search to Lingr (http://www.lingr.com), and we used Ferret/AAF to do it. I’ve written a blog post with some details of that integration, and I thought some of you might…

---

## [Proxy\_pass fails after calling $r-\>has\_request\_body()](https://www.ruby-forum.com/t/proxy-pass-fails-after-calling-r-has-request-body/123735)

<div class="topic-metadata">

**Author:** [@hailandkill](https://www.ruby-forum.com/u/hailandkill)\
**Replies:** 2\
**Last updated:** [December 20, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/proxy-pass-fails-after-calling-r-has-request-body/123735 "2007-12-20T13:24:50Z")

</div>

Hi, I’m trying to parse a request in a perl handler, extract a value from it and use that to set a variable for use in a proxy\_pass mapping. GET requests work fine, but POST’s fail. I suspect that the proxy\_pass is t…

---

## [Creating a StringIO object](https://www.ruby-forum.com/t/creating-a-stringio-object/116202)

<div class="topic-metadata">

**Author:** [@learningruby](https://www.ruby-forum.com/u/learningruby)\
**Replies:** 2\
**Last updated:** [October 4, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/creating-a-stringio-object/116202 "2007-10-04T20:50:48Z")

</div>

Hi all, can any body tell me how to create a StringIO object from an existing string object. my code str = StringIO.new results an error saying that “uninitialized constant StringIO(NameError)” What i sthe problem …

---

## [Rails transactions issue with rollback](https://www.ruby-forum.com/t/rails-transactions-issue-with-rollback/70805)

<div class="topic-metadata">

**Author:** [@samonderous](https://www.ruby-forum.com/u/samonderous)\
**Replies:** 2\
**Last updated:** [October 3, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/rails-transactions-issue-with-rollback/70805 "2006-10-03T19:14:23Z")

</div>

Hi, I have a transaction in which a duplicate key exception is being thrown by MySQL. I assume this happens when I try to do a save. The problem is that before the save, I do a destroy on another object as part of t…

---

## [Using control port monitor](https://www.ruby-forum.com/t/using-control-port-monitor/232008)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 13, 2014, 6:32pm UTC](https://www.ruby-forum.com/t/using-control-port-monitor/232008 "2014-09-13T18:32:52Z")

</div>

Hello all, I have recently installed GNURadio new version of 3.7.5. I want to use “CtrlPort Monitor” but in GRC this is under “None” module instead of “Control Port” module!! I enabled the control port as explained: h…

---

## [How can I separate the db DBA user and the db app user](https://www.ruby-forum.com/t/how-can-i-separate-the-db-dba-user-and-the-db-app-user/238278)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [January 10, 2014, 10:49pm UTC](https://www.ruby-forum.com/t/how-can-i-separate-the-db-dba-user-and-the-db-app-user/238278 "2014-01-10T22:49:18Z")

</div>

How can I separate the database DBA user and app access user in rails? The app user will be able to run the app but perform no DDL. The DBA user will be used for migrations. I do not want the user that runs the rai…

---

## [Text\_area enriquecido](https://www.ruby-forum.com/t/text-area-enriquecido/158473)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 6\
**Last updated:** [January 26, 2009, 11:51am UTC](https://www.ruby-forum.com/t/text-area-enriquecido/158473 "2009-01-26T11:51:14Z")

</div>

hola buenas a todos a lo mejor esta pregunta es muy simple pero no le encuentro soluciÃ³n quiero hacer un text\_area enriquecido, (que le pudes dar formato al texto que colocas dentro) para ello estoy usando javascrip…

---

## [Valentina Database Now Supports Ruby on Rails on Mac OS X](https://www.ruby-forum.com/t/valentina-database-now-supports-ruby-on-rails-on-mac-os-x/123211)

<div class="topic-metadata">

**Author:** [@Lynn](https://www.ruby-forum.com/u/Lynn)\
**Replies:** 6\
**Last updated:** [December 30, 2007, 2:21am UTC](https://www.ruby-forum.com/t/valentina-database-now-supports-ruby-on-rails-on-mac-os-x/123211 "2007-12-30T02:21:58Z")

</div>

Valentina 3.5.1 technology release now includes support for building RoR applications on Mac OS X. They have previously released support on the Windows platform. There is also a component for building local Ruby app…

---

## [\[Rails3\] Displaying the full stack trace for test errors?](https://www.ruby-forum.com/t/rails3-displaying-the-full-stack-trace-for-test-errors/190595)

<div class="topic-metadata">

**Author:** [@Isak](https://www.ruby-forum.com/u/Isak)\
**Replies:** 1\
**Last updated:** [July 6, 2010, 12:26pm UTC](https://www.ruby-forum.com/t/rails3-displaying-the-full-stack-trace-for-test-errors/190595 "2010-07-06T12:26:49Z")

</div>

I’m porting an app from 2.3 to 3.0, have errors in my test suite, and don’t get enough info to figure out where these occur. See the example below; that’s all the feedback I get for an exception raised in a view. Sug…

---

## [Global variable in helper function](https://www.ruby-forum.com/t/global-variable-in-helper-function/139874)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 1\
**Last updated:** [June 8, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/global-variable-in-helper-function/139874 "2008-06-08T19:57:38Z")

</div>

I have a helper function that generates a tree and i’m trying to get the sum of time for each element in the whole tree. def tree(time) print element time = element.time tree(time) end function the script works bu…

---

## [Watermarks?](https://www.ruby-forum.com/t/watermarks/79989)

<div class="topic-metadata">

**Author:** [@roland](https://www.ruby-forum.com/u/roland)\
**Replies:** 4\
**Last updated:** [June 14, 2024, 9:31am UTC](https://www.ruby-forum.com/t/watermarks/79989 "2024-06-14T09:31:34Z")

</div>

I have desperately searched the web about how to apply watermarks to images in RoR Has anyone been able to apply watermarks to pictures using ruby? Any tips are very much welcomed, Thanks, Roland

---

## [WCDMA/UMTS receiver implementation](https://www.ruby-forum.com/t/wcdma-umts-receiver-implementation/213166)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 7, 2013, 12:20pm UTC](https://www.ruby-forum.com/t/wcdma-umts-receiver-implementation/213166 "2013-08-07T12:20:22Z")

</div>

Hi, I am dealing with a UMTS uplink receiver implementation with USRP N210. I have some general questions that I hope that someone can answer: Is it completely necessary to implement a rake receiver? I have been re…

---

## [Events through XRC](https://www.ruby-forum.com/t/events-through-xrc/185372)

<div class="topic-metadata">

**Author:** [@ayanami](https://www.ruby-forum.com/u/ayanami)\
**Replies:** 4\
**Last updated:** [March 19, 2010, 4:13am UTC](https://www.ruby-forum.com/t/events-through-xrc/185372 "2010-03-19T04:13:52Z")

</div>

Hello. I’m very newbie, pardon in advance. I would like to know if events can be generated automatically using XRCise such as ruby\_glade\_create\_template does. When I use DialogBlocks or wxFormBuilder I see that, altho…

---

## [JRuby embedded in an Eclipse plugin (with gems in a jar)](https://www.ruby-forum.com/t/jruby-embedded-in-an-eclipse-plugin-with-gems-in-a-jar/184620)

<div class="topic-metadata">

**Author:** [@ggironda](https://www.ruby-forum.com/u/ggironda)\
**Replies:** 4\
**Last updated:** [March 6, 2010, 12:20pm UTC](https://www.ruby-forum.com/t/jruby-embedded-in-an-eclipse-plugin-with-gems-in-a-jar/184620 "2010-03-06T12:20:17Z")

</div>

Environment: Jruby 1.4, Eclipse 3.5 Hi, I tried to use two new great features of JRuby 1.4.0 (JSR223 integration and Gems in a jar) inside an Eclipse plugin but ran into some problems. Here’s the list and the workar…

---

## [Multiple forms or panels](https://www.ruby-forum.com/t/multiple-forms-or-panels/169267)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 4\
**Last updated:** [June 1, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/multiple-forms-or-panels/169267 "2009-06-01T23:07:24Z")

</div>

How do I organize widgets in a form when I need them placed in more than a single column or row? I leaned how to use BoxSizer and successfully displayed my widgets in a single column but can’t get the next column. He…

---

## [ActiveRecord - nil object when you didn't expect it](https://www.ruby-forum.com/t/activerecord-nil-object-when-you-didnt-expect-it/137673)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 4\
**Last updated:** [May 15, 2008, 7:49pm UTC](https://www.ruby-forum.com/t/activerecord-nil-object-when-you-didnt-expect-it/137673 "2008-05-15T19:49:37Z")

</div>

Hi, I have the following code in a RoR project, models and tests are all in the proper directories: require File.dirname(FILE) + ‘/…/test\_helper’ class GalleryTest \< Test::Unit::TestCase fixtures :galleries @galler…

---

## [Uninitialized constant exception when trying to navigate a has\_many =\> through relationship](https://www.ruby-forum.com/t/uninitialized-constant-exception-when-trying-to-navigate-a-has-many-through-relationship/137530)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 4\
**Last updated:** [May 14, 2008, 2:32am UTC](https://www.ruby-forum.com/t/uninitialized-constant-exception-when-trying-to-navigate-a-has-many-through-relationship/137530 "2008-05-14T02:32:48Z")

</div>

Hey All, I’m trying to do a many-to-many relationship w/has\_many, :through and having trouble. I want to classify my Projects into one or more ResearchAreas. So I have a Project model, a ResearchArea model, and a P…

---

## [Diagnosing the cause of D's](https://www.ruby-forum.com/t/diagnosing-the-cause-of-ds/242131)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 31, 2015, 12:35am UTC](https://www.ruby-forum.com/t/diagnosing-the-cause-of-ds/242131 "2015-05-31T00:35:57Z")

</div>

Hi all, I need some help determining the cause of D’s being displayed from my N210 device. I know it means GNU Radio is not consuming the samples from my laptops Ethernet socket buffer fast enough, causing the USRP t…

---

## [Gsub](https://www.ruby-forum.com/t/gsub/165289)

<div class="topic-metadata">

**Author:** [@stewie](https://www.ruby-forum.com/u/stewie)\
**Replies:** 5\
**Last updated:** [April 11, 2009, 5:06pm UTC](https://www.ruby-forum.com/t/gsub/165289 "2009-04-11T17:06:40Z")

</div>

Ciao avrei un problema con l’istruzione gsub,che non riesco a risolvere.Ho un testo da cui devo sostituire alcune parole con altre,e uso agevolmente la funzione gsub.Tuttavia ho un problema con una sostituizione…io ho…

---

## [Oferta de empleo en Valencia](https://www.ruby-forum.com/t/oferta-de-empleo-en-valencia/158658)

<div class="topic-metadata">

**Author:** [@fernan2](https://www.ruby-forum.com/u/fernan2)\
**Replies:** 5\
**Last updated:** [January 26, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/oferta-de-empleo-en-valencia/158658 "2009-01-26T18:54:45Z")

</div>

Buscamos de nuevo una persona con una titulaciÃ³n reciente (Ingenieria InformÃ¡tica, Telecomunicaciones, etc.) que se encargue de desarrollar proyectos web de comunidades online mediante Ruby on Rails. El perfil ideal…

---

## [Gem for displaying international postal addresses?](https://www.ruby-forum.com/t/gem-for-displaying-international-postal-addresses/191949)

<div class="topic-metadata">

**Author:** [@nosretep](https://www.ruby-forum.com/u/nosretep)\
**Replies:** 2\
**Last updated:** [July 22, 2010, 5:57am UTC](https://www.ruby-forum.com/t/gem-for-displaying-international-postal-addresses/191949 "2010-07-22T05:57:39Z")

</div>

Is there a Gem that can be utilized for displaying postal addresses in the format specific to their destination country or region? Basically, a Gem that programatically does what this site advises? Anything similar? …

---

## [Errno::EBADF Bad file descriptor - connect(2)](https://www.ruby-forum.com/t/errno-ebadf-bad-file-descriptor-connect-2/136141)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 2\
**Last updated:** [April 29, 2008, 11:19am UTC](https://www.ruby-forum.com/t/errno-ebadf-bad-file-descriptor-connect-2/136141 "2008-04-29T11:19:34Z")

</div>

hi, my application was working fine till the day before yesterday. but its not working since yesterday suddenly, don’t know why. some pages are visible but where i’m posting something, those pages show the “Errno::EB…

---

## [Warning: peer certificate won't be verified in this SSL sess](https://www.ruby-forum.com/t/warning-peer-certificate-wont-be-verified-in-this-ssl-sess/116757)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 2\
**Last updated:** [October 9, 2007, 4:54pm UTC](https://www.ruby-forum.com/t/warning-peer-certificate-wont-be-verified-in-this-ssl-sess/116757 "2007-10-09T16:54:25Z")

</div>

Just wondering how to make the above warning message disappear from the soap call? irb(main):002:0\> bf = “https://api.betfair.com/global/v3/BFGlobalService.wsdl” =\> “https://api.betfair.com/global/v3/BFGlobalService.…

---

## [Boolean db fields set to false fail validation with validate](https://www.ruby-forum.com/t/boolean-db-fields-set-to-false-fail-validation-with-validate/86942)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 2\
**Last updated:** [February 27, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/boolean-db-fields-set-to-false-fail-validation-with-validate/86942 "2007-02-27T16:24:10Z")

</div>

I have a model that contains a :boolean field. In my view, I have a simple select of Yes or No, which equates to true or false, respectively. If I choose yes and save, everything works great. If I choose no, my model …

---

## [Japanese / chinese characters](https://www.ruby-forum.com/t/japanese-chinese-characters/201550)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 10, 2011, 6:10pm UTC](https://www.ruby-forum.com/t/japanese-chinese-characters/201550 "2011-01-10T18:10:04Z")

</div>

Is there a way to test is a string contains any japanese or chinese character? Is that possible? Thanks, Luis

---

## [Set\_window can't run](https://www.ruby-forum.com/t/set-window-cant-run/189627)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 8\
**Last updated:** [June 9, 2010, 6:59am UTC](https://www.ruby-forum.com/t/set-window-cant-run/189627 "2010-06-09T06:59:51Z")

</div>

there is a program which i get in the web,it can run. require ‘gtk2’ class RubyApp \< Gtk::Window def initialize super set\_title “Center” signal\_connect “destroy” do Gtk.main\_quit end set\_default\_size 250, 200 …

---

## [POST instead of GET gives 404 (newbie)](https://www.ruby-forum.com/t/post-instead-of-get-gives-404-newbie/142495)

<div class="topic-metadata">

**Author:** [@Birgit\_SWesthawk](https://www.ruby-forum.com/u/Birgit_SWesthawk)\
**Replies:** 8\
**Last updated:** [July 9, 2008, 3:32pm UTC](https://www.ruby-forum.com/t/post-instead-of-get-gives-404-newbie/142495 "2008-07-09T15:32:06Z")

</div>

Hi, Using JRuby 1.1 and Rails 2.0, I created a small project in NetBeans that allows me to generate a dynamic dialplan in XML. In case it matters, I’m using builder-2.1.2 and activerecord-2.0.2. Going in the browser …

---

## [Upstream server:port variable?](https://www.ruby-forum.com/t/upstream-server-port-variable/130214)

<div class="topic-metadata">

**Author:** [@Mansoor\_P](https://www.ruby-forum.com/u/Mansoor_P)\
**Replies:** 3\
**Last updated:** [February 26, 2008, 8:29pm UTC](https://www.ruby-forum.com/t/upstream-server-port-variable/130214 "2008-02-26T20:29:57Z")

</div>

Hello, A quick question: Does nginx have a variable which will give me the actual upstream server:port for the selected upstream server ? For instance, if I have: upstream xxx { server s1:7070; server s2:7…

---

## [Rts/cts on gnuradio](https://www.ruby-forum.com/t/rts-cts-on-gnuradio/241603)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 8, 2024, 9:48pm UTC](https://www.ruby-forum.com/t/rts-cts-on-gnuradio/241603 "2024-12-08T21:48:12Z")

</div>

Hello all, I am trying to implement rts/cts handshake scenario on gnuradio prior to packet transmission. I intend to work on gr-mac which was created by john malsbury, i.e by adding the functions on the simple mac bl…

---

## [Syntax error, unexpected keyword\_ensure, expecting keyword\_end](https://www.ruby-forum.com/t/syntax-error-unexpected-keyword-ensure-expecting-keyword-end/252161)

<div class="topic-metadata">

**Author:** [@Anuja94](https://www.ruby-forum.com/u/Anuja94)\
**Replies:** 1\
**Last updated:** [March 30, 2019, 3:19am UTC](https://www.ruby-forum.com/t/syntax-error-unexpected-keyword-ensure-expecting-keyword-end/252161 "2019-03-30T03:19:36Z")

</div>

in my report.xlsx.axlsx file contains below code wb = xlsx\_package.workbook headers = \[“Index No”, “Cus/Sup Name”, “Short Name”, “Account Number”, “Customer Code”, “Industry Type”, “Organization Type” , “VAT Number…

---

## [Dynamic Google Maps](https://www.ruby-forum.com/t/dynamic-google-maps/192015)

<div class="topic-metadata">

**Author:** [@mercurius](https://www.ruby-forum.com/u/mercurius)\
**Replies:** 7\
**Last updated:** [July 29, 2010, 3:59pm UTC](https://www.ruby-forum.com/t/dynamic-google-maps/192015 "2010-07-29T15:59:32Z")

</div>

My Rails application (Rails: V 2.1.0, Ruby: V 1.8.6) has on it, the ability for users to submit stories with their address information, which will be atomised into appropriate fields. A front end form allows users to …

---

## [How to retrieve an object from form\_remote\_tag?](https://www.ruby-forum.com/t/how-to-retrieve-an-object-from-form-remote-tag/120022)

<div class="topic-metadata">

**Author:** [@GlennNZ](https://www.ruby-forum.com/u/GlennNZ)\
**Replies:** 7\
**Last updated:** [November 13, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/how-to-retrieve-an-object-from-form-remote-tag/120022 "2007-11-13T20:46:37Z")

</div>

Hi everyone, my misadventures with rails continues… If I have a cart object which contains CartItem objects and then use partials to display them, how do I go about getting a copy of a CartItem object to a controller …

---

## [How to add an iterator to a class?](https://www.ruby-forum.com/t/how-to-add-an-iterator-to-a-class/115333)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 7\
**Last updated:** [October 3, 2007, 11:55am UTC](https://www.ruby-forum.com/t/how-to-add-an-iterator-to-a-class/115333 "2007-10-03T11:55:23Z")

</div>

I have a simple class (this is just an example, so ignore any syntax or style errors): class MyArray def initialize @a = Array.new end def Push( item ) @a.push( item ) end def GetArray return @a end end And …

---

## [Parsing visual basic](https://www.ruby-forum.com/t/parsing-visual-basic/71174)

<div class="topic-metadata">

**Author:** [@FSSenault](https://www.ruby-forum.com/u/FSSenault)\
**Replies:** 7\
**Last updated:** [October 7, 2006, 7:26pm UTC](https://www.ruby-forum.com/t/parsing-visual-basic/71174 "2006-10-07T19:26:28Z")

</div>

Hello. Where I work, we have to develop and maintain a quite huge application fully written in Visual Basic 6 \[1\]. Quite a few tasks should be automated, and being the magical-one-liner- script guru of the workplace,…

---

## [Calculate Percentage using jquery](https://www.ruby-forum.com/t/calculate-percentage-using-jquery/243987)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [February 3, 2016, 2:43pm UTC](https://www.ruby-forum.com/t/calculate-percentage-using-jquery/243987 "2016-02-03T14:43:37Z")

</div>

Hello, I want to calculate percentage marks of students using jquery, for this I tried the below code but its not working. I am very beginner in ruby on rails. \<%= t('obtained\_marks') %\> \<%= a.text\_f…

---

## [Best practices with migrations in production deployments](https://www.ruby-forum.com/t/best-practices-with-migrations-in-production-deployments/242734)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [July 24, 2015, 3:58pm UTC](https://www.ruby-forum.com/t/best-practices-with-migrations-in-production-deployments/242734 "2015-07-24T15:58:43Z")

</div>

Hi every one! In rails every evolution of a model must be executed through migrations, isn’t it? And if it must be done this way, how can we control migrations in a production deployment? We have to take care of our…

---

## [How can i add multiple records to a single table, through single form](https://www.ruby-forum.com/t/how-can-i-add-multiple-records-to-a-single-table-through-single-form/242404)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [June 22, 2015, 10:13pm UTC](https://www.ruby-forum.com/t/how-can-i-add-multiple-records-to-a-single-table-through-single-form/242404 "2015-06-22T22:13:20Z")

</div>

Hi, i have just started with rails. I am making a attendance web app. I want to insert student attendance into attendances table and unable to do it as the form just inserts only last entry of the form. Student table …

---

## [Class with Ruby/Shoes. please help!](https://www.ruby-forum.com/t/class-with-ruby-shoes-please-help/238643)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 22, 2014, 7:42pm UTC](https://www.ruby-forum.com/t/class-with-ruby-shoes-please-help/238643 "2014-01-22T19:42:48Z")

</div>

Hello, I´m working on a rect wie Ruby/Shoes, the rect should move right, left, top and down. The methods should be in the Class Quadrat. This is what I got so far, but I don´t know how to move on. I´m working on it si…

---

## [\[ruby-trunk - Bug #6441\]\[Assigned\] IO.pipe on ENFILE](https://www.ruby-forum.com/t/ruby-trunk-bug-6441-assigned-io-pipe-on-enfile/219784)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 6\
**Last updated:** [September 19, 2012, 10:54am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-6441-assigned-io-pipe-on-enfile/219784 "2012-09-19T10:54:30Z")

</div>

Issue #6441 has been reported by naruse (Yui NARUSE). Bug #6441: IO.pipe on ENFILE Author: naruse (Yui NARUSE) Status: Assigned Priority: Normal Assignee: authorNari (Narihiro N.) Category: Target version: ruby…

---

## [Net/http set content-type for images](https://www.ruby-forum.com/t/net-http-set-content-type-for-images/189745)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 6\
**Last updated:** [June 8, 2010, 2:07am UTC](https://www.ruby-forum.com/t/net-http-set-content-type-for-images/189745 "2010-06-08T02:07:09Z")

</div>

I need to pull an image from a URL (I have permission) that is a .jpg. I know I need to set the content-type to ‘image/jpeg’, but not sure where to do that at. result = Net::HTTP.get\_response(URI.parse(‘http:// link\_…

---

## [IronRuby.Rack](https://www.ruby-forum.com/t/ironruby-rack/187395)

<div class="topic-metadata">

**Author:** [@cpher](https://www.ruby-forum.com/u/cpher)\
**Replies:** 6\
**Last updated:** [April 23, 2010, 3:09am UTC](https://www.ruby-forum.com/t/ironruby-rack/187395 "2010-04-23T03:09:37Z")

</div>

Anyone have IronRuby running rails in IIS7 on server 2k8? I followed the following links: http://ironruby.net/Documentation/Real\_Ruby\_Applications/Rails http://github.com/ironruby/ironruby/tree/master/Merlin/Main/Host…

---

## [DHT upstream module + nginx patches](https://www.ruby-forum.com/t/dht-upstream-module-nginx-patches/176982)

<div class="topic-metadata">

**Author:** [@Peter\_SchSSS\_ller](https://www.ruby-forum.com/u/Peter_SchSSS_ller)\
**Replies:** 6\
**Last updated:** [November 3, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/dht-upstream-module-nginx-patches/176982 "2009-11-03T18:52:28Z")

</div>

Hello, We have been doing some nginx development for internal use. Tommie has already sent the statistics module to the list yesterday separately, because it was very self-contained. However, we have additional chang…

---

## [Tb lock and unlock with USRP2](https://www.ruby-forum.com/t/tb-lock-and-unlock-with-usrp2/161275)

<div class="topic-metadata">

**Author:** [@Kieran\_B](https://www.ruby-forum.com/u/Kieran_B)\
**Replies:** 6\
**Last updated:** [February 25, 2009, 1:45am UTC](https://www.ruby-forum.com/t/tb-lock-and-unlock-with-usrp2/161275 "2009-02-25T01:45:26Z")

</div>

Hello all, I seem to be having some strange behaviour when trying to lock and unlock multiple times. I am using a USRP2 with the latest trunk of GNU Radio (just compiled/update the firmware and updated FPGA code to …

---

## [Locals in partials](https://www.ruby-forum.com/t/locals-in-partials/117065)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 6\
**Last updated:** [October 12, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/locals-in-partials/117065 "2007-10-12T20:49:54Z")

</div>

hiya, in specing a partial, how can i assign a local var that is normally passed via :locals ? i tried adding :locals =\> to the render call but that doesnt seem to take linoj

---

## [STI and has\_many :through not playing nicely](https://www.ruby-forum.com/t/sti-and-has-many-through-not-playing-nicely/91336)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 6\
**Last updated:** [April 7, 2007, 11:40am UTC](https://www.ruby-forum.com/t/sti-and-has-many-through-not-playing-nicely/91336 "2007-04-07T11:40:15Z")

</div>

Hi all, I’m trying to use STI (single table inheritance) with has\_many :through, and I’m getting a NameError: uninitialized constant. Details below. Presumably I’ve set up the relationship incorrectly? Any help would…

---

## [Merge XML documents with Ruby](https://www.ruby-forum.com/t/merge-xml-documents-with-ruby/149620)

<div class="topic-metadata">

**Author:** [@harm](https://www.ruby-forum.com/u/harm)\
**Replies:** 2\
**Last updated:** [September 26, 2008, 10:15pm UTC](https://www.ruby-forum.com/t/merge-xml-documents-with-ruby/149620 "2008-09-26T22:15:24Z")

</div>

Dear group, Currently I’m working with Ruby to merge several XML documents into one. I’m using Builder to construct the ‘master’ XML file: x = Builder::XmlMarkup.new(:indent =\> 2) x.instruct! :xml, :version =\> "1.0", …

---

## [How to consume Asp.net web service in ruby on rails](https://www.ruby-forum.com/t/how-to-consume-asp-net-web-service-in-ruby-on-rails/225640)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [January 21, 2013, 4:33pm UTC](https://www.ruby-forum.com/t/how-to-consume-asp-net-web-service-in-ruby-on-rails/225640 "2013-01-21T16:33:59Z")

</div>

Guys i m new to Ruby on rails , Task - i m trying to consume a webservice in ruby on rails and this web service is made in asp.net . my controller code is through which i m trying to consume webservice is class Webse…

---

## [Log shifting error](https://www.ruby-forum.com/t/log-shifting-error/198435)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 1, 2010, 1:49pm UTC](https://www.ruby-forum.com/t/log-shifting-error/198435 "2010-11-01T13:49:24Z")

</div>

Once again, here in the UK, we have had our switch back from summer time saving and once again various applications failed for things like /usr/local/lib/ruby/1.8/logger.rb:501:in \`write’: Shifting failed. ‘/…/log/pol…

---

## [What I don't like about Radiant](https://www.ruby-forum.com/t/what-i-dont-like-about-radiant/198150)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 27, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/what-i-dont-like-about-radiant/198150 "2010-10-27T21:40:12Z")

</div>

Folks, this is not about bashing Radiant. Instead, I’d like to mention a few things that make it harder to sell Radiant-based solutions to customers who often answer “Why don’t you use Wordpress for the job?” (1) Rad…

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

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