# Top

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

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

---

## [Two inputs/outputs of different data types](https://www.ruby-forum.com/t/two-inputs-outputs-of-different-data-types/58862)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 3:30pm UTC](https://www.ruby-forum.com/t/two-inputs-outputs-of-different-data-types/58862 "2008-07-03T15:30:35Z")

</div>

How do you declare two inputs of different data types? Several atsc blocks pass a stream of ‘float’ and also ‘syminfo’ (a struct of 4 ints). From what I can tell, gr\_sync\_block allows many inputs and outputs, but on…

---

## [Help with test design](https://www.ruby-forum.com/t/help-with-test-design/140192)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 3\
**Last updated:** [June 14, 2008, 11:14am UTC](https://www.ruby-forum.com/t/help-with-test-design/140192 "2008-06-14T11:14:18Z")

</div>

I’m having trouble figuring out how to drive the design of a class. I’m hoping I can get a hint or two from the more experienced BDDers on this list. I’m writing an adapter class that sits between a 3rd party library …

---

## [Webrick start error in Ubuntu](https://www.ruby-forum.com/t/webrick-start-error-in-ubuntu/138506)

<div class="topic-metadata">

**Author:** [@apicito](https://www.ruby-forum.com/u/apicito)\
**Replies:** 3\
**Last updated:** [May 24, 2008, 12:59am UTC](https://www.ruby-forum.com/t/webrick-start-error-in-ubuntu/138506 "2008-05-24T00:59:48Z")

</div>

Hi, I’m running Ubuntu gutsy and am trying to get RoR running. I followed the standard step by step installation of all the components and all seems to go well until I try to start WEBrick. Here’s what I’ve done: i…

---

## [Which rspec for rails 2.1RC1?](https://www.ruby-forum.com/t/which-rspec-for-rails-2-1rc1/137826)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 3\
**Last updated:** [May 17, 2008, 3:29am UTC](https://www.ruby-forum.com/t/which-rspec-for-rails-2-1rc1/137826 "2008-05-17T03:29:31Z")

</div>

I’m working on porting our app. Do I need to upgrade rspec from 1.1.3? If so which version. BTW the installation doc at http://rspec.info/documentation/rails/install.html seems to be stuck in the pre-git days. – Ri…

---

## [Strings that contain quote marks](https://www.ruby-forum.com/t/strings-that-contain-quote-marks/127053)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/strings-that-contain-quote-marks/127053 "2008-01-25T20:05:31Z")

</div>

Sorry if this post is a duplicate, I’m having problems with my posts posting. Hello, I’ve searched through the Ruby documentation to try and figure this out - no luck at all, also searched google to see if anyone had …

---

## [Question sur la syntaxe de ruby](https://www.ruby-forum.com/t/question-sur-la-syntaxe-de-ruby/124955)

<div class="topic-metadata">

**Author:** [@adiates](https://www.ruby-forum.com/u/adiates)\
**Replies:** 3\
**Last updated:** [January 4, 2008, 2:38am UTC](https://www.ruby-forum.com/t/question-sur-la-syntaxe-de-ruby/124955 "2008-01-04T02:38:47Z")

</div>

Bonsoir, Etant pas un pro du ruby je me pose une question sur la possibilité et donc la syntaxe de ruby. Dison que j’ai un modèle nommé Customer j’aimerais savoir si il est possible a partir d’un string contenant “Cu…

---

## [Generating PDF- environment.rb problem](https://www.ruby-forum.com/t/generating-pdf-environment-rb-problem/122800)

<div class="topic-metadata">

**Author:** [@valerieloy](https://www.ruby-forum.com/u/valerieloy)\
**Replies:** 3\
**Last updated:** [December 13, 2007, 2:38am UTC](https://www.ruby-forum.com/t/generating-pdf-environment-rb-problem/122800 "2007-12-13T02:38:24Z")

</div>

Hi, I would like to implement a PDF function into my application. I have already installed the pdf-writer-1.1.6. Firstly, there are several folders in this zip folder e.g. pdf, writer etc. Where exactly should I pas…

---

## [Reg:login](https://www.ruby-forum.com/t/reg-login/119241)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 3\
**Last updated:** [November 5, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/reg-login/119241 "2007-11-05T14:20:23Z")

</div>

Hi After selection of default username and password when i open the page if i give user name as admin and password as radiant it is giving Invalid username or password.I want to install anything new or i wnat to give…

---

## [Execution stops once exception is encountered](https://www.ruby-forum.com/t/execution-stops-once-exception-is-encountered/117120)

<div class="topic-metadata">

**Author:** [@vishwanath](https://www.ruby-forum.com/u/vishwanath)\
**Replies:** 3\
**Last updated:** [October 13, 2007, 7:16am UTC](https://www.ruby-forum.com/t/execution-stops-once-exception-is-encountered/117120 "2007-10-13T07:16:44Z")

</div>

Hi all, I am using ruby and watir to test my web application. I wanna run watir script 24 x 7 without stopping. The problem is that the ruby stops execution each time it encounters an exception for e.g if it fails to…

---

## [Gnuradio usrp python](https://www.ruby-forum.com/t/gnuradio-usrp-python/110111)

<div class="topic-metadata">

**Author:** [@Eze\_Kenneth\_C](https://www.ruby-forum.com/u/Eze_Kenneth_C)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/gnuradio-usrp-python/110111 "2007-09-25T23:09:49Z")

</div>

hi, pls am a postgraduate student of brunel university west london, M.Sc Wireless communication systems, working on ‘design and implementation of software defined radio for digital communication’ preferably 3G. i’ve …

---

## [Check for active web pages with open-uri](https://www.ruby-forum.com/t/check-for-active-web-pages-with-open-uri/114916)

<div class="topic-metadata">

**Author:** [@animate123](https://www.ruby-forum.com/u/animate123)\
**Replies:** 3\
**Last updated:** [September 18, 2007, 10:56pm UTC](https://www.ruby-forum.com/t/check-for-active-web-pages-with-open-uri/114916 "2007-09-18T22:56:58Z")

</div>

I’m using openuri module to open web pages. If the pages doesn’t exist I get an error: in \`initialize’: getaddrinfo: no address associated with hostname. (SocketError) then I get a whole bunch of other stuff. Is ther…

---

## [Convert to time value](https://www.ruby-forum.com/t/convert-to-time-value/109542)

<div class="topic-metadata">

**Author:** [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Replies:** 3\
**Last updated:** [July 16, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/convert-to-time-value/109542 "2007-07-16T18:40:29Z")

</div>

Hi to all, i’ve a timestamp value stored in a Postgres DB. I’ve to make the difference between the time value obtained with Time.now function and the time value that get from the DB. The code is above: res = conn.que…

---

## [Why is my program taking so long?](https://www.ruby-forum.com/t/why-is-my-program-taking-so-long/109098)

<div class="topic-metadata">

**Author:** [@finer\_recliner](https://www.ruby-forum.com/u/finer_recliner)\
**Replies:** 3\
**Last updated:** [July 12, 2007, 3:00am UTC](https://www.ruby-forum.com/t/why-is-my-program-taking-so-long/109098 "2007-07-12T03:00:06Z")

</div>

i just wrote a program in ruby that generates sudoku puzzles. its fairly long (~600 lines) so i wont post it all here. from what i’ve read from other programmers (who may have coded their sudoku generators in C++ or j…

---

## [IRB require issues](https://www.ruby-forum.com/t/irb-require-issues/108694)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 3\
**Last updated:** [July 6, 2007, 4:14pm UTC](https://www.ruby-forum.com/t/irb-require-issues/108694 "2007-07-06T16:14:44Z")

</div>

is there a reason why saying require ‘net/http’ would return false? i’ve been trying to figure out what’s wrong with my installation, but i see no reason why it refuses to load that one library, it works for everythin…

---

## [\[Bug\] String.titlecase failing on UTF-8 with accented chars](https://www.ruby-forum.com/t/bug-string-titlecase-failing-on-utf-8-with-accented-chars/105700)

<div class="topic-metadata">

**Author:** [@mlemos](https://www.ruby-forum.com/u/mlemos)\
**Replies:** 3\
**Last updated:** [June 1, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/bug-string-titlecase-failing-on-utf-8-with-accented-chars/105700 "2007-06-01T16:30:17Z")

</div>

Anybody knows how to solve that? Check this: u.lastname =\> “Guimar\\303\\243es” puts u.lastname GuimarÃ£es =\> nil u.lastname.titlecase =\> “Guimar\\303\\243Es” puts u.lastname.titlecase GuimarÃ£Es # ------…

---

## [500.html not being returned to IE](https://www.ruby-forum.com/t/500-html-not-being-returned-to-ie/92500)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 3\
**Last updated:** [April 20, 2007, 6:06am UTC](https://www.ruby-forum.com/t/500-html-not-being-returned-to-ie/92500 "2007-04-20T06:06:41Z")

</div>

When I access a “broken” page on my site, most browsers display my 500.html file found in the RAILS\_ROOT/public folder. However, Internet Explorer always shows its own default “The page cannot be displayed” error rath…

---

## [Using OpenID as Single-Sign-On option for rails apps?](https://www.ruby-forum.com/t/using-openid-as-single-sign-on-option-for-rails-apps/92085)

<div class="topic-metadata">

**Author:** [@Tino\_B](https://www.ruby-forum.com/u/Tino_B)\
**Replies:** 3\
**Last updated:** [April 16, 2007, 5:07pm UTC](https://www.ruby-forum.com/t/using-openid-as-single-sign-on-option-for-rails-apps/92085 "2007-04-16T17:07:59Z")

</div>

Hi, I investigated the possibilities for creating a single-sign-on service for two custom rails applications and a beast forum. The two apps use the restful\_authentication plugin, slightly modified. I read about diff…

---

## [Problem loading data from database](https://www.ruby-forum.com/t/problem-loading-data-from-database/88163)

<div class="topic-metadata">

**Author:** [@eyp](https://www.ruby-forum.com/u/eyp)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 4:39am UTC](https://www.ruby-forum.com/t/problem-loading-data-from-database/88163 "2007-03-09T04:39:58Z")

</div>

Hello, I get this error trying to load some data from DB. I’m using Rails 1.2.2 on Fedora Core 6 and Sybase adapter. This worked fine when application run under Rails 1.1.6 but now I’m migrating to 1.2.2 and have some…

---

## [Per sapere se sto procedendo bene](https://www.ruby-forum.com/t/per-sapere-se-sto-procedendo-bene/86993)

<div class="topic-metadata">

**Author:** [@sulfarom](https://www.ruby-forum.com/u/sulfarom)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 1:39pm UTC](https://www.ruby-forum.com/t/per-sapere-se-sto-procedendo-bene/86993 "2007-02-28T13:39:10Z")

</div>

Solo per sapere se sto andando bene guardate questo frammento di codice per una connesione a ldap: require ‘ldap’ class GesLDAP def initialize @host = “localhost” @port = “” @base = “ou=People,dc=zzz,dc=zzz,dc=zz” …

---

## [Question sur rjs](https://www.ruby-forum.com/t/question-sur-rjs/83657)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/question-sur-rjs/83657 "2007-01-29T19:11:59Z")

</div>

est-ce qu’il est possible d’Ã©ffacer le contenu d’un text\_field avec du rjs genre page.clear montextfield ou est-ce que je dois faire un replace\_html avec un nouvau text\_field? Merci d’avance Pat

---

## [Rails bug reports & patches - why no action?](https://www.ruby-forum.com/t/rails-bug-reports-patches-why-no-action/83140)

<div class="topic-metadata">

**Author:** [@frank\_programmer](https://www.ruby-forum.com/u/frank_programmer)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 12:47am UTC](https://www.ruby-forum.com/t/rails-bug-reports-patches-why-no-action/83140 "2007-01-24T00:47:24Z")

</div>

I have noticed at the dev.rubyonrails.org site that many tickets with pretty clear-cut bug reports/patches or feature enhancements don’t get any attention. They sit there for months at a time. Why is this? Are tickets…

---

## [Forms, view & AJAX best practice help](https://www.ruby-forum.com/t/forms-view-ajax-best-practice-help/93541)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [December 25, 2006, 2:53am UTC](https://www.ruby-forum.com/t/forms-view-ajax-best-practice-help/93541 "2006-12-25T02:53:52Z")

</div>

What i’m trying to get working is I have a controller called “permissions” and a view “permissions.rhtml”. This view has a hidden div that contains a form for adding new roles. Its just a single textfield. Also on the…

---

## [Radrails 0.7.2 est dispo](https://www.ruby-forum.com/t/radrails-0-7-2-est-dispo/78666)

<div class="topic-metadata">

**Author:** [@philippe\_lachaise](https://www.ruby-forum.com/u/philippe_lachaise)\
**Replies:** 3\
**Last updated:** [December 8, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/radrails-0-7-2-est-dispo/78666 "2006-12-08T17:09:09Z")

</div>

Ce qui saute aux yeux : une chouette outline pour RHTML On attend toujours la 0.8 pour le debugger. Et la 0.8 attend toujours la 0.9de RDT (patience et longueur de temps…)

---

## [Undefined method \`load\_paths=' for Dependencies:Module](https://www.ruby-forum.com/t/undefined-method-load-paths-for-dependencies-module/74919)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [November 9, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/undefined-method-load-paths-for-dependencies-module/74919 "2006-11-09T19:31:56Z")

</div>

I’ve been working on an app, and had a friend check it out to his machine. I’ve got rails and all my plugins set up with svn:externals, so when he svn ups it he gets all the latest stuff. I’ve just svn up’d both mac…

---

## [How do I start RadiantCMS with Instant Rails?](https://www.ruby-forum.com/t/how-do-i-start-radiantcms-with-instant-rails/69862)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [September 26, 2006, 12:20am UTC](https://www.ruby-forum.com/t/how-do-i-start-radiantcms-with-instant-rails/69862 "2006-09-26T00:20:08Z")

</div>

I’ve searched everywhere on Google and I can’t find the answer because probably it’s the dumbest question and everyone has it figured it out. But it’s like I couldn’t find the switch to power on my PC. I’ve got Instan…

---

## [Understanding boost?](https://www.ruby-forum.com/t/understanding-boost/69324)

<div class="topic-metadata">

**Author:** [@Neville\_B](https://www.ruby-forum.com/u/Neville_B)\
**Replies:** 3\
**Last updated:** [September 20, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/understanding-boost/69324 "2006-09-20T15:40:49Z")

</div>

Hi, I’m confused about managing field boosting … I have set the :boost for the :name field in my docs to 10, via :boost =\> 10 Then I performed a search for ‘keith’ over all fields via with :(keith), expecting a doc …

---

## [Miroir rubyonrails.com](https://www.ruby-forum.com/t/miroir-rubyonrails-com/67090)

<div class="topic-metadata">

**Author:** [@Bruno\_Bonfils](https://www.ruby-forum.com/u/Bruno_Bonfils)\
**Replies:** 3\
**Last updated:** [August 31, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/miroir-rubyonrails-com/67090 "2006-08-31T16:14:03Z")

</div>

Hello, ca fais plusieurs fois que rubyonrails n’est pas accessible, au moins pour nous pauvre français. Si jamais quelqu’un d’ici connais une personne de la bas (directement ou pas), sachez que je suis prêt à mettre …

---

## [Calling non-existing methods works! (little magic?)](https://www.ruby-forum.com/t/calling-non-existing-methods-works-little-magic/64860)

<div class="topic-metadata">

**Author:** [@Martin\_SSWeber](https://www.ruby-forum.com/u/Martin_SSWeber)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/calling-non-existing-methods-works-little-magic/64860 "2006-08-15T14:20:13Z")

</div>

Hoi Rubyists. I am kind of … confused. Up till now I had the illusion you could only call methods on an object which you could also find via methods or via the included modules. Fine… Why does this output what it does…

---

## [How absurd is this?](https://www.ruby-forum.com/t/how-absurd-is-this/102431)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/how-absurd-is-this/102431 "2006-08-15T14:17:18Z")

</div>

Imagine you have in a method a block. Sometimes you will want that block to be executed via a mutex.synchronize() call. And sometimes you don’t want to synchronize. def y yield end def method\_with\_a\_block (dont…

---

## [Re: Stylesheets](https://www.ruby-forum.com/t/re-stylesheets/101456)

<div class="topic-metadata">

**Author:** [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Replies:** 3\
**Last updated:** [August 7, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/re-stylesheets/101456 "2006-08-07T22:04:16Z")

</div>

I’ve now tested by copying the static HTML and putting it into a layout file. Unfortunately, it still causes the same problem. Works fine as a simple static HTML file and pulls the right CSS but doesn’t work through …

---

## [Radiant Hooks](https://www.ruby-forum.com/t/radiant-hooks/99678)

<div class="topic-metadata">

**Author:** [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Replies:** 3\
**Last updated:** [July 25, 2006, 3:02pm UTC](https://www.ruby-forum.com/t/radiant-hooks/99678 "2006-07-25T15:02:42Z")

</div>

I’ve been thinking on the same line as Dror, Radiant core needs some hooks so that us (implementers can write plugins against). Here is a list of hooks that I’ve been thinking about. Please add yours to this thread. …

---

## [Wierdness with rake test\_units and schema.rb](https://www.ruby-forum.com/t/wierdness-with-rake-test-units-and-schema-rb/62337)

<div class="topic-metadata">

**Author:** [@Chester\_C](https://www.ruby-forum.com/u/Chester_C)\
**Replies:** 3\
**Last updated:** [June 2, 2006, 10:40pm UTC](https://www.ruby-forum.com/t/wierdness-with-rake-test-units-and-schema-rb/62337 "2006-06-02T22:40:54Z")

</div>

I have just migrated to use Rail 1.1 from 1.0. In the progress of fixing and cleaning up the unit tests. I found the following problem. I am not sure if this is a bug or it is my environment. When I run "rake test\_un…

---

## [Operator overload on views](https://www.ruby-forum.com/t/operator-overload-on-views/59965)

<div class="topic-metadata">

**Author:** [@malweth](https://www.ruby-forum.com/u/malweth)\
**Replies:** 3\
**Last updated:** [May 9, 2006, 4:03am UTC](https://www.ruby-forum.com/t/operator-overload-on-views/59965 "2006-05-09T04:03:38Z")

</div>

In my User auth scheme I have a userlevel. I’ve overloaded the User class operators like this: def \>(item) if item.class == “User” self.userlevel \> item.userlevel else self.userlevel \> item end end (other operat…

---

## [Rake test:units fails on Postgresql due to nil](https://www.ruby-forum.com/t/rake-test-units-fails-on-postgresql-due-to-nil/58713)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [April 26, 2006, 3:01am UTC](https://www.ruby-forum.com/t/rake-test-units-fails-on-postgresql-due-to-nil/58713 "2006-04-26T03:01:12Z")

</div>

Following the directions in: http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=2 I get through the: rake db:migrate With the tables created properly but then when I run the: rake test:units I get a failur…

---

## [Can RoR work togehter with PHP](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149)

<div class="topic-metadata">

**Author:** [@Janis\_Lanka](https://www.ruby-forum.com/u/Janis_Lanka)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/can-ror-work-togehter-with-php/53149 "2006-04-18T17:37:04Z")

</div>

Can PHP and Ruby on Rails work together? basically, if we decide that we want to build some additions to php product in RoR…can it be done?

---

## [Resources to get started with ruby](https://www.ruby-forum.com/t/resources-to-get-started-with-ruby/57998)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 3\
**Last updated:** [April 17, 2006, 9:41pm UTC](https://www.ruby-forum.com/t/resources-to-get-started-with-ruby/57998 "2006-04-17T21:41:03Z")

</div>

Hi - Im looking to find resources on ruby I have found rubyforums.co.uk has some great tutorials, can anyone suggest any other places I might find easy tutorials thanx

---

## [File\_column url\_for\_file returns nil](https://www.ruby-forum.com/t/file-column-url-for-file-returns-nil/51658)

<div class="topic-metadata">

**Author:** [@mikkel](https://www.ruby-forum.com/u/mikkel)\
**Replies:** 3\
**Last updated:** [February 1, 2006, 7:22pm UTC](https://www.ruby-forum.com/t/file-column-url-for-file-returns-nil/51658 "2006-02-01T19:22:21Z")

</div>

Hi Guys, I have been struggling with this one for a while… file\_column 0.3.1 My file gets uploaded and thumbnailed correctly, however \<%= url\_for\_file\_column(“item”, “image”) %\> returns nil… I have tracked the prob…

---

## [GUI Applications with Ruby](https://www.ruby-forum.com/t/gui-applications-with-ruby/48546)

<div class="topic-metadata">

**Author:** [@nospam2](https://www.ruby-forum.com/u/nospam2)\
**Replies:** 3\
**Last updated:** [November 22, 2005, 3:41am UTC](https://www.ruby-forum.com/t/gui-applications-with-ruby/48546 "2005-11-22T03:41:05Z")

</div>

Hi, I intend to develop crossplatform applications (with great usage of GUI), what frameworks and what IDE are available for Ruby? Thanks.

---

## [Verbose Migrations (plugin)](https://www.ruby-forum.com/t/verbose-migrations-plugin/48297)

<div class="topic-metadata">

**Author:** [@jamis](https://www.ruby-forum.com/u/jamis)\
**Replies:** 3\
**Last updated:** [November 18, 2005, 8:17pm UTC](https://www.ruby-forum.com/t/verbose-migrations-plugin/48297 "2005-11-18T20:17:44Z")

</div>

DESCRIPTION Verbose Migrations is a plugin that causes migrations to report what they are doing, verbosely, to the console. By default, each migration will report it’s name, and whether it is being migrated (up) or r…

---

## [Help refactoring](https://www.ruby-forum.com/t/help-refactoring/235601)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [July 3, 2013, 5:38am UTC](https://www.ruby-forum.com/t/help-refactoring/235601 "2013-07-03T05:38:40Z")

</div>

Hello, I’m learning rails and starting to try to refactor code that repeats itself… I have several lines of code like the following and wonder if there is a more efficient way to do this. Any suggestions would be gr…

---

## [Good Rubyistic way Looking for nokogiri program](https://www.ruby-forum.com/t/good-rubyistic-way-looking-for-nokogiri-program/235260)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 18, 2013, 5:24am UTC](https://www.ruby-forum.com/t/good-rubyistic-way-looking-for-nokogiri-program/235260 "2013-06-18T05:24:33Z")

</div>

Hi, I love ruby,but it seems Ruby don’t me. :slight\_smile: I actually doing some play with nokogiri methods since last 3 days. Doing so I have ended up with the below code: require ‘nokogiri’ doc = Nokogiri::XML(\<\<-…

---

## [Railscasts Android app](https://www.ruby-forum.com/t/railscasts-android-app/235271)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 12, 2013, 6:50am UTC](https://www.ruby-forum.com/t/railscasts-android-app/235271 "2013-06-12T06:50:52Z")

</div>

Hey guys, I’ve developed a small free Android app to help me keep track of which Railscasts screencasts (http://railscasts.com) I already watched, and to help me watch some screencasts on my smartphone while travellin…

---

## [New: a problem with type method not being undefined](https://www.ruby-forum.com/t/new-a-problem-with-type-method-not-being-undefined/234990)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [May 23, 2013, 11:11pm UTC](https://www.ruby-forum.com/t/new-a-problem-with-type-method-not-being-undefined/234990 "2013-05-23T23:11:46Z")

</div>

I am using ruby 2.0.0p195. I am, however, starting to think that type-method is not defined for this version of ruby. I ran the below expressions and I got values for the first two expressions but due to the error cau…

---

## [How to start programming in ruby?](https://www.ruby-forum.com/t/how-to-start-programming-in-ruby/229722)

<div class="topic-metadata">

**Author:** [@andrewdon](https://www.ruby-forum.com/u/andrewdon)\
**Replies:** 4\
**Last updated:** [February 7, 2013, 11:09pm UTC](https://www.ruby-forum.com/t/how-to-start-programming-in-ruby/229722 "2013-02-07T23:09:23Z")

</div>

Hello all. I would like to ask how do I start programming in Ruby? 1.What should I install? In what work environment: linux or windows? 2.What books should be read in order to implement the theme? 3.During which time …

---

## [Create conditions in model](https://www.ruby-forum.com/t/create-conditions-in-model/224922)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 4, 2012, 4:48am UTC](https://www.ruby-forum.com/t/create-conditions-in-model/224922 "2012-12-04T04:48:13Z")

</div>

Hello guys, I trying to create the conditions of my search, but I have some troubles. This is the method I’m trying to create in my model. def self.searchadv(title, place, category, date) !title.blank? ? conditions …

---

## [Accessing from both ends of has many through relationship](https://www.ruby-forum.com/t/accessing-from-both-ends-of-has-many-through-relationship/221893)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 3, 2012, 10:48pm UTC](https://www.ruby-forum.com/t/accessing-from-both-ends-of-has-many-through-relationship/221893 "2012-08-03T22:48:06Z")

</div>

I have a ‘has many through’ relationship in my models. I am trying to access objects from either side of this relationship, with mixed results.Here are my models: class Material \< ActiveRecord::Base attr\_accessible …

---

## [How to create a sinatra app that can create ebooks on heroku?](https://www.ruby-forum.com/t/how-to-create-a-sinatra-app-that-can-create-ebooks-on-heroku/219646)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 10, 2012, 5:55pm UTC](https://www.ruby-forum.com/t/how-to-create-a-sinatra-app-that-can-create-ebooks-on-heroku/219646 "2012-05-10T17:55:48Z")

</div>

Hi guys, I’m not new to ruby or Sinatrabut I have no idea how to get epub, mobi and pdf files using sinatra. The other problem is that I have no idea how Heroku’s file system works, so please help me on a few things. …

---

## [Visitors must select their city first. How to approach this?](https://www.ruby-forum.com/t/visitors-must-select-their-city-first-how-to-approach-this/218039)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 19, 2012, 6:43pm UTC](https://www.ruby-forum.com/t/visitors-must-select-their-city-first-how-to-approach-this/218039 "2012-03-19T18:43:40Z")

</div>

Hi guys. I have an app where visitors can see offers in their cities. So a visitor must select his city first in order to access the app (much like Groupon, using just a cookie though). How should I approach this? …

---

## [Sudo symbolic link between directories](https://www.ruby-forum.com/t/sudo-symbolic-link-between-directories/217963)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 17, 2012, 4:37pm UTC](https://www.ruby-forum.com/t/sudo-symbolic-link-between-directories/217963 "2012-03-17T16:37:15Z")

</div>

To make a symbolic link between directories, am I doing this correctly? thufir@dur:~$ thufir@dur:~$ ls opt foo thufir@dur:~$ thufir@dur:~$ ls bin bar thufir@dur:~$ thufir@dur:~$ ln -s opt bin thufir@dur:~$ thuf…

---

## [Newfish v0.5.0 released](https://www.ruby-forum.com/t/newfish-v0-5-0-released/211369)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 4, 2011, 1:09pm UTC](https://www.ruby-forum.com/t/newfish-v0-5-0-released/211369 "2011-09-04T13:09:46Z")

</div>

Newfish 0.5.0 has been released. Newfish is an ever changing RDoc template, as it reaches a point of design “beauty” it gets spun off as a new rdoc format. Think of it as “edge” rdoc-fish. home: http://rdocidile.git…

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

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