# Top

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

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

---

## [Gettext and placeholder](https://www.ruby-forum.com/t/gettext-and-placeholder/48113)

<div class="topic-metadata">

**Author:** [@Simon.Santoro](https://www.ruby-forum.com/u/Simon.Santoro)\
**Replies:** 4\
**Last updated:** [November 18, 2005, 12:18am UTC](https://www.ruby-forum.com/t/gettext-and-placeholder/48113 "2005-11-18T00:18:52Z")

</div>

Hello! In one of my views i have something like this: \<% ciccio = ‘panza’ %\> \<%=h \_(“yeah #{ciccio}”) %\> but the localize script from Peak Obsession does not add the second line to my pot and po files. Am I doing s…

---

## [Need help on multiple choice quiz program - SOLVED](https://www.ruby-forum.com/t/need-help-on-multiple-choice-quiz-program-solved/260324)

<div class="topic-metadata">

**Author:** [@Rant07](https://www.ruby-forum.com/u/Rant07)\
**Replies:** 1\
**Last updated:** [October 3, 2020, 4:00pm UTC](https://www.ruby-forum.com/t/need-help-on-multiple-choice-quiz-program-solved/260324 "2020-10-03T16:00:54Z")

</div>

Thank you. Problem solved.

---

## [I'm New - Help with scanning a string](https://www.ruby-forum.com/t/im-new-help-with-scanning-a-string/257950)

<div class="topic-metadata">

**Author:** [@fully5](https://www.ruby-forum.com/u/fully5)\
**Replies:** 1\
**Last updated:** [March 20, 2020, 6:38pm UTC](https://www.ruby-forum.com/t/im-new-help-with-scanning-a-string/257950 "2020-03-20T18:38:55Z")

</div>

If anyone can help me understand a little better i would greatly appreciate it. I’m basically trying to scan an input from a user against a variable to see if there is any matching characters and if there are any matchi…

---

## [Should i make a seperate app to send push notifications to 40-50k users in RoR App or use background](https://www.ruby-forum.com/t/should-i-make-a-seperate-app-to-send-push-notifications-to-40-50k-users-in-ror-app-or-use-background/244773)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 13, 2016, 2:08pm UTC](https://www.ruby-forum.com/t/should-i-make-a-seperate-app-to-send-push-notifications-to-40-50k-users-in-ror-app-or-use-background/244773 "2016-06-13T14:08:19Z")

</div>

I have a rails application that is in fact a backend of a popular IOS application which have a user base of 200k users who need to be notified time to time. Daily 40-50k users will be notified using push notification…

---

## [How can i bind proxy\_bind to interface name?](https://www.ruby-forum.com/t/how-can-i-bind-proxy-bind-to-interface-name/244276)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [March 14, 2016, 2:23pm UTC](https://www.ruby-forum.com/t/how-can-i-bind-proxy-bind-to-interface-name/244276 "2016-03-14T14:23:56Z")

</div>

i use proxy\_bind with interface ip address, it works fine but i need bind to interface name, for example: ppp0 but it not worked, how can i do? Posted at Nginx Forum:

---

## ['#$'.inspect contains unexpected escape character](https://www.ruby-forum.com/t/inspect-contains-unexpected-escape-character/242821)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 31, 2015, 12:52pm UTC](https://www.ruby-forum.com/t/inspect-contains-unexpected-escape-character/242821 "2015-07-31T12:52:39Z")

</div>

I assumed inspecting this sequence would simply yield the characters as is, however I’m seeing the following: 2.1.6 :001 \> ‘#$’ =\> “#$” 2.1.6 :002 \> ‘#$’.inspect =\> “”\\#$"" Can anyone explain this behavior? Is the…

---

## [Using dynamic access\_log, automatically create parent directory](https://www.ruby-forum.com/t/using-dynamic-access-log-automatically-create-parent-directory/242788)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 12:46am UTC](https://www.ruby-forum.com/t/using-dynamic-access-log-automatically-create-parent-directory/242788 "2015-07-29T00:46:00Z")

</div>

We use a dynamic value for access logs: access\_log /var/log/nginx/domains/$host/access.log main; However, if the $host directory does not exist in /var/log/nginx/domains nginx fails with an error creating the access l…

---

## [Unable to delete the table created](https://www.ruby-forum.com/t/unable-to-delete-the-table-created/232840)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 5:50pm UTC](https://www.ruby-forum.com/t/unable-to-delete-the-table-created/232840 "2014-10-30T17:50:35Z")

</div>

This is the ruby code of the migration. (class CreateUsers \< ActiveRecord::Migration def up create\_table :users do |t| t.string “first\_name”,:limit =\>25 t.string “last\_name”, :limit =\>50 t.string “email”,:default =\>…

---

## [Abstract vs Polymorphic](https://www.ruby-forum.com/t/abstract-vs-polymorphic/232216)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 25, 2014, 7:08pm UTC](https://www.ruby-forum.com/t/abstract-vs-polymorphic/232216 "2014-09-25T19:08:10Z")

</div>

I have an abstract class. Another developer wants to take the abstract class and make it polymorphic. Is this a good idea? The abstract class and its descendents have controllers. Will the controllers have to be ch…

---

## [Gem check errors after clean install](https://www.ruby-forum.com/t/gem-check-errors-after-clean-install/231891)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 4, 2014, 4:55pm UTC](https://www.ruby-forum.com/t/gem-check-errors-after-clean-install/231891 "2014-09-04T16:55:19Z")

</div>

After a clean install of JRuby-1.7.15, I ran ‘gem check’. Unexpectedly, there were quite a number of errors indicated (see attached). Is this correct? If it is correct, then should it be correct? What, then, would be …

---

## [Image Reading and Writing in GNU Radio](https://www.ruby-forum.com/t/image-reading-and-writing-in-gnu-radio/231232)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 29, 2014, 10:28am UTC](https://www.ruby-forum.com/t/image-reading-and-writing-in-gnu-radio/231232 "2014-07-29T10:28:39Z")

</div>

Dear all, I want to transmit an image over wireless link, so I need two blocks: + one for reading grayscale image and giving out a bit stream+ the other one take a bit stream as input and rebuild the image Is there a…

---

## [How to do marksheet program in Ruby](https://www.ruby-forum.com/t/how-to-do-marksheet-program-in-ruby/239594)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 6, 2014, 10:10am UTC](https://www.ruby-forum.com/t/how-to-do-marksheet-program-in-ruby/239594 "2014-03-06T10:10:07Z")

</div>

I want to do marksheet program in table form. It should look like as below: MARKSHEET |--------------|------------------------------| SEAT NO. CANDIDATE’S FULL NAME A 147740 JAIMIN PANDYA -----…

---

## [\[ANN\] Ruboto 1.0.0 released!](https://www.ruby-forum.com/t/ann-ruboto-1-0-0-released/238222)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [December 26, 2013, 1:28am UTC](https://www.ruby-forum.com/t/ann-ruboto-1-0-0-released/238222 "2013-12-26T01:28:38Z")

</div>

The Ruboto team is pleased to announce the release of Ruboto 1.0.0. Ruboto (JRuby on Android) is a platform for developing full stand-alone apps for Android using the Ruby language and libraries. It includes support …

---

## [Error Message at Install](https://www.ruby-forum.com/t/error-message-at-install/229291)

<div class="topic-metadata">

**Author:** [@oscar-alexander](https://www.ruby-forum.com/u/oscar-alexander)\
**Replies:** 1\
**Last updated:** [February 2, 2013, 12:35pm UTC](https://www.ruby-forum.com/t/error-message-at-install/229291 "2013-02-02T12:35:37Z")

</div>

After I type “rvm all do gem install visualruby” in terminal, I get the following error message: ERROR: Error installing visualruby: ERROR: Failed to build gem native extension. /Users/agajews/.rvm/rubies/ruby-1…

---

## [How running GTK for a beginner?](https://www.ruby-forum.com/t/how-running-gtk-for-a-beginner/222282)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 24, 2012, 8:38pm UTC](https://www.ruby-forum.com/t/how-running-gtk-for-a-beginner/222282 "2012-08-24T20:38:57Z")

</div>

Hello guys :slight\_smile: Im learning GTK and im doing ruby project with GTK2 so how to use GTK2 with my ruby script? I create windows for the user but when the user cliked on the buttom i would like the result appea…

---

## [What's happened to ruby-glade-create-template](https://www.ruby-forum.com/t/whats-happened-to-ruby-glade-create-template/221302)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 11, 2012, 5:46am UTC](https://www.ruby-forum.com/t/whats-happened-to-ruby-glade-create-template/221302 "2012-07-11T05:46:47Z")

</div>

I used to prepare my glade files with the following command: ruby-glade-create-template screen\_a.glade \> screen\_a.rb However, after I’ve installed “vrm” and “Ruby 1.9.3”, I subsequently lost my “libglade2” library. Ea…

---

## [Access remote mysql DB](https://www.ruby-forum.com/t/access-remote-mysql-db/198430)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 1, 2010, 2:01pm UTC](https://www.ruby-forum.com/t/access-remote-mysql-db/198430 "2010-11-01T14:01:59Z")

</div>

I have been given a job to put a local mysql to a remote server and then connect to it. the thing is I’ve not done it before and am hitting an obstacle to make this work. it isn’t a web server so you don’t go http:/…

---

## [Newbie regular expression question](https://www.ruby-forum.com/t/newbie-regular-expression-question/186448)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 7\
**Last updated:** [April 7, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/newbie-regular-expression-question/186448 "2010-04-07T12:09:44Z")

</div>

Hello champs, I am having an string and i want all extra characters to be removed from that string except + and . How to write a regular expression for it… Currently i am trying it like this as word.sub(/\[\_-:\\/\]/, “”…

---

## [Stubbing helper methods in controller specs when integrate\_views is On](https://www.ruby-forum.com/t/stubbing-helper-methods-in-controller-specs-when-integrate-views-is-on/179465)

<div class="topic-metadata">

**Author:** [@Krasimir\_Angelov](https://www.ruby-forum.com/u/Krasimir_Angelov)\
**Replies:** 1\
**Last updated:** [November 26, 2009, 7:28pm UTC](https://www.ruby-forum.com/t/stubbing-helper-methods-in-controller-specs-when-integrate-views-is-on/179465 "2009-11-26T19:28:58Z")

</div>

Hi all, I’m using rspec-caching-test-plugin to test caching (obviously) in my controller specs. Because views are also involved in caching integrate\_views have to be turned On. The problem comes when mock is passed …

---

## [Leggere i barcode da pdf o immagini](https://www.ruby-forum.com/t/leggere-i-barcode-da-pdf-o-immagini/174393)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 10:40am UTC](https://www.ruby-forum.com/t/leggere-i-barcode-da-pdf-o-immagini/174393 "2009-09-10T10:40:31Z")

</div>

Sto provando gbarcode ma non funziona con ruby 1.9.1. Esiste un branch dove Ã¨ stato modificato per renderlo compatibile ma come si installa senza una gemma? http://github.com/ahaller/gbarcode/tree/ruby1.9 La seconda…

---

## [Problemas de novato con el METODO "gets"](https://www.ruby-forum.com/t/problemas-de-novato-con-el-metodo-gets/144338)

<div class="topic-metadata">

**Author:** [@fromthaend](https://www.ruby-forum.com/u/fromthaend)\
**Replies:** 1\
**Last updated:** [July 28, 2008, 8:00pm UTC](https://www.ruby-forum.com/t/problemas-de-novato-con-el-metodo-gets/144338 "2008-07-28T20:00:39Z")

</div>

Hoolaa a todos… soy nuevo en la lista y tambien en la programacion con Ruby… anoche practicando con el libro “Learn To Program” de Christ Pine en la pag 37 sale el sig cod: puts ’ Hello there, and what' s your name…

---

## [Safari 3.1 AJAX crashes not caused by getElementsByClassName](https://www.ruby-forum.com/t/safari-3-1-ajax-crashes-not-caused-by-getelementsbyclassname/133074)

<div class="topic-metadata">

**Author:** [@nauhaie](https://www.ruby-forum.com/u/nauhaie)\
**Replies:** 7\
**Last updated:** [March 30, 2008, 11:12am UTC](https://www.ruby-forum.com/t/safari-3-1-ajax-crashes-not-caused-by-getelementsbyclassname/133074 "2008-03-30T11:12:09Z")

</div>

Hi all, I’ve been having a lot of trouble with Rails Errors for over I week, and I finally realized that they are caused by Safari 3.1, since everything works fine with FireFox… Pretty much every AJAX request makes th…

---

## [Alias problem](https://www.ruby-forum.com/t/alias-problem/121825)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 7\
**Last updated:** [December 3, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/alias-problem/121825 "2007-12-03T21:46:03Z")

</div>

is there any idea to change public definition to private definition by using alias or some others…

---

## [ActiveRecord Problem](https://www.ruby-forum.com/t/activerecord-problem/110283)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 7\
**Last updated:** [July 26, 2007, 2:32am UTC](https://www.ruby-forum.com/t/activerecord-problem/110283 "2007-07-26T02:32:36Z")

</div>

Ugh. ActiveRecord is giving me a hard time. I go to connect to my mysql database on localhost, and I get rejected! Actual IRB session: character.rb(main):015:0\* class Character \< ActiveRecord::Base; end =\> nil chara…

---

## [Solution for undefined method \`use\_transactional\_fixtures='](https://www.ruby-forum.com/t/solution-for-undefined-method-use-transactional-fixtures/82544)

<div class="topic-metadata">

**Author:** [@Jean-Michel\_G](https://www.ruby-forum.com/u/Jean-Michel_G)\
**Replies:** 1\
**Last updated:** [April 6, 2007, 11:15pm UTC](https://www.ruby-forum.com/t/solution-for-undefined-method-use-transactional-fixtures/82544 "2007-04-06T23:15:29Z")

</div>

If you see this error message: undefined method \`use\_transactional\_fixtures=’ for Test::Unit::TestCase:Class (NoMethodError) You should check all your dependencies, all the lines containing require and especially req…

---

## [Class/Subclass and has\_many belongs\_to](https://www.ruby-forum.com/t/class-subclass-and-has-many-belongs-to/87762)

<div class="topic-metadata">

**Author:** [@alberto](https://www.ruby-forum.com/u/alberto)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/class-subclass-and-has-many-belongs-to/87762 "2007-03-08T16:55:24Z")

</div>

Hi: I would appreciate some hint. I can’t modify Class A1 but I can subclass it so I wonder how can I get access to its belongs\_to and has\_many i.e. Class A1 \< ActiveRecord::Base belongs\_to : B1 belongs\_to : C1 has…

---

## [Global Hash?](https://www.ruby-forum.com/t/global-hash/82990)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 1\
**Last updated:** [January 22, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/global-hash/82990 "2007-01-22T22:23:48Z")

</div>

I am working on a remote control slideshow app. Basically, there is a control URL, and viewers point at a different URL to see the slides. When the controller changes the slide, all viewers are updated. The viewer con…

---

## [Need a new Ruby book?](https://www.ruby-forum.com/t/need-a-new-ruby-book/75731)

<div class="topic-metadata">

**Author:** [@stuinzuri](https://www.ruby-forum.com/u/stuinzuri)\
**Replies:** 7\
**Last updated:** [November 13, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/need-a-new-ruby-book/75731 "2006-11-13T16:25:10Z")

</div>

Hi all, Back in 2001 or so I took a look at ruby…downloaded ruby for my windows machine, bought Thomas & Hunt’s “Programming Ruby” (2001, Addison Wesley), …and promptly got caught up in a massive career change. Now …

---

## [Sparklines rake test failure](https://www.ruby-forum.com/t/sparklines-rake-test-failure/100077)

<div class="topic-metadata">

**Author:** [@john-anes](https://www.ruby-forum.com/u/john-anes)\
**Replies:** 1\
**Last updated:** [July 27, 2006, 2:47am UTC](https://www.ruby-forum.com/t/sparklines-rake-test-failure/100077 "2006-07-27T02:47:08Z")

</div>

This was my only issue in my initial install and I’ve spent a large chunk of the day on it. I have reinstalled ImageMagick and individual libraries and the sparklines gem and upgraded all gems on the server. I have do…

---

## [Generating chrip signals](https://www.ruby-forum.com/t/generating-chrip-signals/58181)

<div class="topic-metadata">

**Author:** [@seph\_004](https://www.ruby-forum.com/u/seph_004)\
**Replies:** 1\
**Last updated:** [April 19, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/generating-chrip-signals/58181 "2006-04-19T18:36:24Z")

</div>

Hi At the moment I would like to see if I can generate a chirp signal. Looking through what gnuradio blocks are available, I assumed I could use the gr\_fxpt\_nco block to do something like this. I was wondering firstl…

---

## [A stupid question?](https://www.ruby-forum.com/t/a-stupid-question/226580)

<div class="topic-metadata">

**Author:** [@ghatokan](https://www.ruby-forum.com/u/ghatokan)\
**Replies:** 5\
**Last updated:** [December 22, 2012, 2:31pm UTC](https://www.ruby-forum.com/t/a-stupid-question/226580 "2012-12-22T14:31:18Z")

</div>

I’m trying to find a way to count the consonants in a sentence. how would i go about that? i tried to use length - \[aeiou\]. but never got the result i was looking for

---

## [Time-efficient program](https://www.ruby-forum.com/t/time-efficient-program/222037)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 10, 2012, 6:10am UTC](https://www.ruby-forum.com/t/time-efficient-program/222037 "2012-08-10T06:10:00Z")

</div>

Suppose you are given a program, now you are given a task to minimize the time, what will be your approach? and how will you measure the time needed? I think if we can get total clock cycle by any mean, that could be …

---

## [Catch bad image/script urls from user provided content](https://www.ruby-forum.com/t/catch-bad-image-script-urls-from-user-provided-content/206781)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 10, 2011, 12:58am UTC](https://www.ruby-forum.com/t/catch-bad-image-script-urls-from-user-provided-content/206781 "2011-05-10T00:58:55Z")

</div>

Hello all, Currently, we have a membership website application where our customers create a membership based website secured by a login. We allow our customers to create pages which they provide html for. Well, some…

---

## [Validations in the same Model](https://www.ruby-forum.com/t/validations-in-the-same-model/206254)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 27, 2011, 2:42pm UTC](https://www.ruby-forum.com/t/validations-in-the-same-model/206254 "2011-04-27T14:42:57Z")

</div>

Hi all, I am newbie in Rails and new at this group. I am with a problem with validation. I searched at Google but I cant see anything. I have just one Model: User. I have 2 CRUD’s (controllers and views): Representat…

---

## [How to simulate a column that do not exists in a model](https://www.ruby-forum.com/t/how-to-simulate-a-column-that-do-not-exists-in-a-model/194192)

<div class="topic-metadata">

**Author:** [@lucas\_franceschi](https://www.ruby-forum.com/u/lucas_franceschi)\
**Replies:** 5\
**Last updated:** [August 31, 2010, 9:09pm UTC](https://www.ruby-forum.com/t/how-to-simulate-a-column-that-do-not-exists-in-a-model/194192 "2010-08-31T21:09:46Z")

</div>

Hello there… what i am trying to do, is to consider a new column in my model, a column that do not exist in the database, and will not be created. imagine, for instance, this case: I have a table that store a number…

---

## [QTKit glitchy on Snow Leopard Server - Help!](https://www.ruby-forum.com/t/qtkit-glitchy-on-snow-leopard-server-help/186883)

<div class="topic-metadata">

**Author:** [@spencer](https://www.ruby-forum.com/u/spencer)\
**Replies:** 5\
**Last updated:** [April 15, 2010, 5:33pm UTC](https://www.ruby-forum.com/t/qtkit-glitchy-on-snow-leopard-server-help/186883 "2010-04-15T17:33:36Z")

</div>

I have written a script to pull a frame image from a QuickTime Movie. It works great on Snow Leopard, Leopard, and Leopard Server but I get weird results on Snow Leopard Server. When pulling on the 3 working OSs I get…

---

## [HABTM: join table records being deleted & not restored when validation fails](https://www.ruby-forum.com/t/habtm-join-table-records-being-deleted-not-restored-when-validation-fails/183708)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 5\
**Last updated:** [February 19, 2010, 5:30pm UTC](https://www.ruby-forum.com/t/habtm-join-table-records-being-deleted-not-restored-when-validation-fails/183708 "2010-02-19T17:30:30Z")

</div>

Rails: 2.1.2 Ruby: 1.8.6 I have two models joined by HABTM: Sessions and Learners. On the Session edit form, there’s a checkbox list of Learners. Users check which Learners will attend the session. Very straight forw…

---

## [PDF::Writer - measure size of a section before rendering it?](https://www.ruby-forum.com/t/pdf-writer-measure-size-of-a-section-before-rendering-it/148017)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [November 3, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/pdf-writer-measure-size-of-a-section-before-rendering-it/148017 "2009-11-03T15:09:15Z")

</div>

I’m using the PDF::Writer plugin and have got everything that i wanted working except for one thing: I have sections that i don’t want to split over a page. I tried a couple of ways of dealing with this, each of whi…

---

## [Need help viewing my first App](https://www.ruby-forum.com/t/need-help-viewing-my-first-app/172652)

<div class="topic-metadata">

**Author:** [@veganopolis](https://www.ruby-forum.com/u/veganopolis)\
**Replies:** 5\
**Last updated:** [July 28, 2009, 4:33pm UTC](https://www.ruby-forum.com/t/need-help-viewing-my-first-app/172652 "2009-07-28T16:33:27Z")

</div>

Hi All, I am new to ROR and I am experiencing a few problems viewing my first app. Can anyone pls help me to get my first app up and running? I created a rails application called my\_app. I created a controller called…

---

## [Execute ruby entered in view in controller](https://www.ruby-forum.com/t/execute-ruby-entered-in-view-in-controller/160961)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 5\
**Last updated:** [February 21, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/execute-ruby-entered-in-view-in-controller/160961 "2009-02-21T19:52:04Z")

</div>

HI, I have a requirement where a user could enter ruby scripts in the view( typically a text area) and the controller should pick this text on submit and execute the script(content of text area) line by line. How sho…

---

## [\[Bug #974\] Range#max $B$G=\*N;$7$J$$$3$H$,$"$k(B](https://www.ruby-forum.com/t/bug-974-range-max-b-g-n-7-j-3-h-k-b/156826)

<div class="topic-metadata">

**Author:** [@tadayoshi\_funaba](https://www.ruby-forum.com/u/tadayoshi_funaba)\
**Replies:** 5\
**Last updated:** [January 7, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/bug-974-range-max-b-g-n-7-j-3-h-k-b/156826 "2009-01-07T16:51:14Z")

</div>

Bug #974: Range#max e$B$G=\*N;$7$J$$$3$H$,$"$ke(B http://redmine.ruby-lang.org/issues/show/974 e$B5/I\<\<Te(B: tadayoshi funaba e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B0J2\<$N$h$&$K$9$k$H=\*N;$7$J$$$h$&$G$9!#e(B $…

---

## [Problem stored values in Oracle](https://www.ruby-forum.com/t/problem-stored-values-in-oracle/150999)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 5\
**Last updated:** [October 20, 2008, 12:57pm UTC](https://www.ruby-forum.com/t/problem-stored-values-in-oracle/150999 "2008-10-20T12:57:23Z")

</div>

If I enter in my website the value Ã©I9Ãq’ÃœnPtâ€¢ the last character is replaced on the database by Â¿ The problem is I have to test automatically that the content on the database is the same that the content it …

---

## [$SAFE=4$B$N\>l9g$N(BReadline::HISTORY.each](https://www.ruby-forum.com/t/safe-4-b-n-l9g-n-breadline-history-each/144742)

<div class="topic-metadata">

**Author:** [@Takao\_K](https://www.ruby-forum.com/u/Takao_K)\
**Replies:** 5\
**Last updated:** [August 6, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/safe-4-b-n-l9g-n-breadline-history-each/144742 "2008-08-06T13:04:04Z")

</div>

knu e$B$5$s$Xe(B e$B9bHx9(\<#$G$9!#e(B knu e$B$5$s$,e(B r16125 e$B$K$F!"e(B Readline::HISTORY.each e$B%a%=%C%I$r%V%m%C%/$J$7$G8F$S=P$7$?$H$-$K!"e(B Enumerable::Enumerator e$B$rJV$9$h$&$K=$@5$5$l$?$HG’\<1$7$F$$$^$9!#e(B …

---

## [Mod\_rails on 256meg slicehost vps crashing often](https://www.ruby-forum.com/t/mod-rails-on-256meg-slicehost-vps-crashing-often/141721)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 5\
**Last updated:** [June 30, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/mod-rails-on-256meg-slicehost-vps-crashing-often/141721 "2008-06-30T18:18:56Z")

</div>

I’m running ubuntu hardy 8.04 with mod\_rails on a site that gets about 1000 hits a day. the site runs perfectly fine if there are only a handful of users making request. but when the site gets busy i run out of memo…

---

## [Upgrade and Action Web Service](https://www.ruby-forum.com/t/upgrade-and-action-web-service/137456)

<div class="topic-metadata">

**Author:** [@amanda](https://www.ruby-forum.com/u/amanda)\
**Replies:** 5\
**Last updated:** [May 14, 2008, 2:28pm UTC](https://www.ruby-forum.com/t/upgrade-and-action-web-service/137456 "2008-05-14T14:28:59Z")

</div>

I inherited a rails membership database that was basically working, though it came with no documentation. For context: the database manages members of a CSA (community supported agriculture) organization. So there is …

---

## [Hostingrails issues](https://www.ruby-forum.com/t/hostingrails-issues/135365)

<div class="topic-metadata">

**Author:** [@Rodrigo\_MuiSSSSo](https://www.ruby-forum.com/u/Rodrigo_MuiSSSSo)\
**Replies:** 5\
**Last updated:** [April 21, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/hostingrails-issues/135365 "2008-04-21T22:39:40Z")

</div>

Hi guys, I have some issues with hostingrails and none of their support people could come up with the solution. It seems that this weekend the’ve been changing some firewall configurations. Is any of you having this p…

---

## [Rspec with continuations: very strange](https://www.ruby-forum.com/t/rspec-with-continuations-very-strange/130675)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 5\
**Last updated:** [March 2, 2008, 12:41pm UTC](https://www.ruby-forum.com/t/rspec-with-continuations-very-strange/130675 "2008-03-02T12:41:41Z")

</div>

I appear to have written code which travels backwards through time: This disturbs me immensely. If anyone can explain it, that would be cool. I think it’s an illusion brought about by how RSpec wraps the…

---

## [Scaffolding hates me, please help](https://www.ruby-forum.com/t/scaffolding-hates-me-please-help/123618)

<div class="topic-metadata">

**Author:** [@kevin](https://www.ruby-forum.com/u/kevin)\
**Replies:** 5\
**Last updated:** [January 3, 2008, 8:23pm UTC](https://www.ruby-forum.com/t/scaffolding-hates-me-please-help/123618 "2008-01-03T20:23:14Z")

</div>

Hello folks, Well, I am really new to RoR, but I am doing my best to learn. I have followed the Apple tutorial as well as the ONLamp one. However, both have resulted in problems. So, I decided to hit Lynda.com, hop…

---

## [Update a div](https://www.ruby-forum.com/t/update-a-div/118106)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 5\
**Last updated:** [October 25, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/update-a-div/118106 "2007-10-25T19:58:36Z")

</div>

I have this list of users that I want to include in a group. I choose these users from a larger group - all the employees for a company , for example. I have both lists displayed on the page, the thing is that when I …

---

## [Could somone please check this over.. i cant find the error](https://www.ruby-forum.com/t/could-somone-please-check-this-over-i-cant-find-the-error/110269)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 5\
**Last updated:** [July 27, 2007, 5:27pm UTC](https://www.ruby-forum.com/t/could-somone-please-check-this-over-i-cant-find-the-error/110269 "2007-07-27T17:27:21Z")

</div>

Hi there. Can anyone help me. I get a “Unexpected $end expected kEnd” But the error is in the very last line. What is the reason for this. I cant find it myself. I have attached the file in question to this topic. E…

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

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