# Top

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

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

---

## [Including MySQL in a desktop application](https://www.ruby-forum.com/t/including-mysql-in-a-desktop-application/215775)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 15, 2012, 8:48pm UTC](https://www.ruby-forum.com/t/including-mysql-in-a-desktop-application/215775 "2012-01-15T20:48:34Z")

</div>

Hello good people, first of all: my english is not so good, I’ll try my best. I’m on the path to make a desktop application which needs to include database managment, MySQL was chosen between SQlite, RedCloth and othe…

---

## [Uniqueness scope](https://www.ruby-forum.com/t/uniqueness-scope/214881)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 16, 2011, 4:55pm UTC](https://www.ruby-forum.com/t/uniqueness-scope/214881 "2011-12-16T16:55:29Z")

</div>

HI, I have a question about uniqueness scope. I have a Scale model with this fields group\_id name min\_val max\_val category for example the first record will have as min\_val : 0 max\_val : 10 and the next values…

---

## [Simply question](https://www.ruby-forum.com/t/simply-question/212578)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 10, 2011, 2:50am UTC](https://www.ruby-forum.com/t/simply-question/212578 "2011-10-10T02:50:17Z")

</div>

Can’t understand: coding: cp1251 x = puts ‘bbb’ puts x out needs to be: =\> bbb =\> nil But nil is not returned(bbb displayed),only empty line instead of nil is on screen. ruby v.1.9.2-p180

---

## [Devise](https://www.ruby-forum.com/t/devise/207960)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 7, 2011, 8:44am UTC](https://www.ruby-forum.com/t/devise/207960 "2011-06-07T08:44:57Z")

</div>

Hi, I’m working with devise for user system, but after logged in, he redirect the user for the root project. I would like to redirect each type of user for an different page. Someone already did something like that w…

---

## [Best practice for root?](https://www.ruby-forum.com/t/best-practice-for-root/201848)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 16, 2011, 4:38pm UTC](https://www.ruby-forum.com/t/best-practice-for-root/201848 "2011-01-16T16:38:40Z")

</div>

Good morning, I just started a new application and was wondering what the best practice for root (-\> http://localhost:3000/) is. My landing page is going to load data from 5 different models and I don’t really know if…

---

## [Most elegant way: array of files from array of directories](https://www.ruby-forum.com/t/most-elegant-way-array-of-files-from-array-of-directories/197571)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 16, 2010, 5:51pm UTC](https://www.ruby-forum.com/t/most-elegant-way-array-of-files-from-array-of-directories/197571 "2010-10-16T17:51:48Z")

</div>

I have a array of directories passed into my program. I want a new array which is a list of all files in said directories (only one level deep is necessary). N.B.: Each elements of the new array must be an absolute (…

---

## [Standard firmware for 1 rx and 1 tx](https://www.ruby-forum.com/t/standard-firmware-for-1-rx-and-1-tx/192155)

<div class="topic-metadata">

**Author:** [@Bishal\_T](https://www.ruby-forum.com/u/Bishal_T)\
**Replies:** 4\
**Last updated:** [July 25, 2010, 8:53pm UTC](https://www.ruby-forum.com/t/standard-firmware-for-1-rx-and-1-tx/192155 "2010-07-25T20:53:55Z")

</div>

Hi GNURadioers, I have a quick question. I am trying to use USRP running gnuradio-3.3.0 with two daughterboards… RFX2400. I am going to use one daughterboard to receive and another to transmit. Do I use the standard…

---

## [Current state of Rails CMSs](https://www.ruby-forum.com/t/current-state-of-rails-cmss/184508)

<div class="topic-metadata">

**Author:** [@twifkak](https://www.ruby-forum.com/u/twifkak)\
**Replies:** 4\
**Last updated:** [March 4, 2010, 1:28am UTC](https://www.ruby-forum.com/t/current-state-of-rails-cmss/184508 "2010-03-04T01:28:50Z")

</div>

I’ve been using Rails for many years, but it’s been primarily for building custom applications and hosting small sites with less than ten pages. I’m interested in learning a CMS to start building more content-heavy s…

---

## [How does ActiveRecord do it?](https://www.ruby-forum.com/t/how-does-activerecord-do-it/179617)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 4\
**Last updated:** [November 30, 2009, 10:39pm UTC](https://www.ruby-forum.com/t/how-does-activerecord-do-it/179617 "2009-11-30T22:39:52Z")

</div>

I know it sounds like a Rails question … but it isn’t. Consider irb(main):001:0\> class X irb(main):002:1\> puts “Hi” irb(main):003:1\> end Hi =\> nil irb(main):004:0\> x = X.new =\> #\<X:0x42458ac\> The “Hi” is sent …

---

## [External Model Definition Using ActiveRecord](https://www.ruby-forum.com/t/external-model-definition-using-activerecord/173911)

<div class="topic-metadata">

**Author:** [@Elizabeth](https://www.ruby-forum.com/u/Elizabeth)\
**Replies:** 4\
**Last updated:** [August 19, 2009, 7:12am UTC](https://www.ruby-forum.com/t/external-model-definition-using-activerecord/173911 "2009-08-19T07:12:39Z")

</div>

I’ve been Googling this topic, and I haven’t found the answer. In Rails, the Models are defined in external files. How do you use externally defined models in Ruby using ActiveRecord. I have a rails app and a ruby a…

---

## [Database structuring](https://www.ruby-forum.com/t/database-structuring/173965)

<div class="topic-metadata">

**Author:** [@peterbe](https://www.ruby-forum.com/u/peterbe)\
**Replies:** 4\
**Last updated:** [August 18, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/database-structuring/173965 "2009-08-18T23:14:15Z")

</div>

Hi I have website which displays tweets (from twitter). Each tweet can either be given thumbsup or thumbsdown, but only once. What would be the best way to organzine a database table for this? Its a many-to-many r…

---

## [Manipulating Multi-Dimensional Array](https://www.ruby-forum.com/t/manipulating-multi-dimensional-array/171695)

<div class="topic-metadata">

**Author:** [@knappe](https://www.ruby-forum.com/u/knappe)\
**Replies:** 4\
**Last updated:** [July 8, 2009, 5:30am UTC](https://www.ruby-forum.com/t/manipulating-multi-dimensional-array/171695 "2009-07-08T05:30:46Z")

</div>

I’m attempting to modify elements within a multi-dimensional array. However, syntax like calendar\[0\]\[0\] = ‘True’ results in the entire calendar\[0…6\]\[0\] portion of the multi-dimensional array to be set to ‘True’. Can …

---

## [Wordpress MU Config](https://www.ruby-forum.com/t/wordpress-mu-config/171080)

<div class="topic-metadata">

**Author:** [@Shri\_S\_DevLib.Org](https://www.ruby-forum.com/u/Shri_S_DevLib.Org)\
**Replies:** 4\
**Last updated:** [June 30, 2009, 7:40am UTC](https://www.ruby-forum.com/t/wordpress-mu-config/171080 "2009-06-30T07:40:28Z")

</div>

Hi there, Does anyone have an optimized config for Wordpress MU with subdomain support? There are a lot of conflicting configs on the wordpress forums and I could not find one on the Nginx Wiki - hence the request. T…

---

## [Why do we use form\_for @story do |f| when there is no loop?](https://www.ruby-forum.com/t/why-do-we-use-form-for-story-do-f-when-there-is-no-loop/168689)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 4\
**Last updated:** [May 24, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/why-do-we-use-form-for-story-do-f-when-there-is-no-loop/168689 "2009-05-24T15:05:56Z")

</div>

we use (1…10).each do |i| p i end so that a value is “yield” to i in a block… but what about \<% form\_for @story do |f| %\> \<%= f.text\_field %\> \<% end %\> there is no loop at all… why do we need to make it look lik…

---

## [Another quick question, or two](https://www.ruby-forum.com/t/another-quick-question-or-two/168513)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 4\
**Last updated:** [May 21, 2009, 8:29pm UTC](https://www.ruby-forum.com/t/another-quick-question-or-two/168513 "2009-05-21T20:29:22Z")

</div>

If I want to link from/redirect via the index page (which I notice will not process as erb), what’s the local relative path I should use to the the view (object/method don’t work)? I am getting to like rails so I will…

---

## [Removing part of a String](https://www.ruby-forum.com/t/removing-part-of-a-string/167461)

<div class="topic-metadata">

**Author:** [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Replies:** 4\
**Last updated:** [May 8, 2009, 8:00am UTC](https://www.ruby-forum.com/t/removing-part-of-a-string/167461 "2009-05-08T08:00:50Z")

</div>

I want to get the names of all files in a given directory. When I employ the Dir\[\] method, it returns the name of the files with the pathname I invoked it with: allfiles = Dir\["public/images/icons/\*\*"\] So to remedy…

---

## [Uploads with FCKEditor](https://www.ruby-forum.com/t/uploads-with-fckeditor/164609)

<div class="topic-metadata">

**Author:** [@gattone](https://www.ruby-forum.com/u/gattone)\
**Replies:** 4\
**Last updated:** [April 3, 2009, 10:09am UTC](https://www.ruby-forum.com/t/uploads-with-fckeditor/164609 "2009-04-03T10:09:26Z")

</div>

Hello everyone. Since I’ve found very poor documentation about the rails FCKEditor plug-in and Easy-FCKEditor (which is a fork of the very same plug-in), I decided to bother you with my noobish questions. I have this…

---

## [Defining fixtures in Unit Tests necessary?](https://www.ruby-forum.com/t/defining-fixtures-in-unit-tests-necessary/163907)

<div class="topic-metadata">

**Author:** [@yachtman](https://www.ruby-forum.com/u/yachtman)\
**Replies:** 4\
**Last updated:** [March 26, 2009, 2:44pm UTC](https://www.ruby-forum.com/t/defining-fixtures-in-unit-tests-necessary/163907 "2009-03-26T14:44:40Z")

</div>

Just sinking my teeth into tests and the going is tough. Is it necessary to define fixtures in my test file (‘fixtures :users’)? My test are working with the definition, but I decided to debug and checked for the fix…

---

## [Problem with instant rails](https://www.ruby-forum.com/t/problem-with-instant-rails/159758)

<div class="topic-metadata">

**Author:** [@priyankeshu](https://www.ruby-forum.com/u/priyankeshu)\
**Replies:** 4\
**Last updated:** [February 9, 2009, 1:31am UTC](https://www.ruby-forum.com/t/problem-with-instant-rails/159758 "2009-02-09T01:31:22Z")

</div>

hi thre i have just started learning ROR (following video tutorial by VTC) but on the video they were teaching on MAC, i thought i can follow along on window with instantrails… it was going fine i got the instantrails…

---

## [Calling methods of subclassed thread](https://www.ruby-forum.com/t/calling-methods-of-subclassed-thread/150433)

<div class="topic-metadata">

**Author:** [@christoforever](https://www.ruby-forum.com/u/christoforever)\
**Replies:** 4\
**Last updated:** [October 8, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/calling-methods-of-subclassed-thread/150433 "2008-10-08T19:30:34Z")

</div>

As you will see at the bottom of this code snippet, i’ve commented out where the problem is. There are no errors but simply the methods never execute. I cant figure out for the life of me why that is. I’ve tried a few…

---

## [\[ANN\] NeverBlock support for ActiveRecord](https://www.ruby-forum.com/t/ann-neverblock-support-for-activerecord/146750)

<div class="topic-metadata">

**Author:** [@oldmoe](https://www.ruby-forum.com/u/oldmoe)\
**Replies:** 4\
**Last updated:** [August 25, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/ann-neverblock-support-for-activerecord/146750 "2008-08-25T16:28:25Z")

</div>

I gladly announce the first release of the NeverBlock PostgreSQL adapter for ActiveRecord. The new adapter enables ActiveRecord to perform queries in parallel even in a single threaded Ruby1.9 application. Benchmarki…

---

## [Server is broken!](https://www.ruby-forum.com/t/server-is-broken/142696)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [July 11, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/server-is-broken/142696 "2008-07-11T15:14:48Z")

</div>

The mongrel server has mysteriously stopped working on one of my rails projects. Here’s what the console says: $ script/server =\> Booting Mongrel (use ‘script/server webrick’ to force WEBrick) =\> Rails 2.1.0 applica…

---

## [Nginx restarting/log rotation](https://www.ruby-forum.com/t/nginx-restarting-log-rotation/141284)

<div class="topic-metadata">

**Author:** [@alanwatts](https://www.ruby-forum.com/u/alanwatts)\
**Replies:** 4\
**Last updated:** [June 24, 2008, 10:48am UTC](https://www.ruby-forum.com/t/nginx-restarting-log-rotation/141284 "2008-06-24T10:48:10Z")

</div>

Morning all. what is the correct procedure for asking nginx to reload the configuration files? and on that note, what is the procedure for restarting nginx to give me a chance to rotate the log files once a day? so…

---

## [Type with two references to the same table](https://www.ruby-forum.com/t/type-with-two-references-to-the-same-table/134333)

<div class="topic-metadata">

**Author:** [@toddlc](https://www.ruby-forum.com/u/toddlc)\
**Replies:** 4\
**Last updated:** [April 21, 2008, 3:35pm UTC](https://www.ruby-forum.com/t/type-with-two-references-to-the-same-table/134333 "2008-04-21T15:35:22Z")

</div>

Hi all, Struggling with the case of one type with two refs to another type: Type has\_many :attributes Attribute belongs\_to :owner, :foreign\_key =\> “owner\_id”, :class\_name = “Type” has\_one :type When I type…

---

## [Consuming a RESTful webservice in Rails](https://www.ruby-forum.com/t/consuming-a-restful-webservice-in-rails/133694)

<div class="topic-metadata">

**Author:** [@Javier\_CH](https://www.ruby-forum.com/u/Javier_CH)\
**Replies:** 4\
**Last updated:** [April 2, 2008, 6:43pm UTC](https://www.ruby-forum.com/t/consuming-a-restful-webservice-in-rails/133694 "2008-04-02T18:43:12Z")

</div>

Can anyone point me to an url regarding how to consume a REST- webservice in rails? I did find tons of websites and posts on how to use REST inside a Rails-app and some on how to serve a REST-webservice, but didn’t fi…

---

## [Issue with SQL like](https://www.ruby-forum.com/t/issue-with-sql-like/132239)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 4\
**Last updated:** [March 19, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/issue-with-sql-like/132239 "2008-03-19T18:46:12Z")

</div>

Hi Guys, I am a newbie, so excuse me if this is a lame question - I am writing a query - Airport.find(:all, :conditions =\>\[“owner\_city\_state\_zip like ‘%?%’”, \_tempZip.zip\]) Now, this gives an error - Mysql::Error: …

---

## [Simple ajax guides or tutorials](https://www.ruby-forum.com/t/simple-ajax-guides-or-tutorials/132181)

<div class="topic-metadata">

**Author:** [@megax](https://www.ruby-forum.com/u/megax)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/simple-ajax-guides-or-tutorials/132181 "2008-03-18T17:43:05Z")

</div>

Im looking to add ajax to my website and wanted to start off small, I was wondering if anyone knew some ajax guides/tutorials or had there own tips on the use of some simple ajax. I looking for anything that can make …

---

## [/#{}/e.encoding](https://www.ruby-forum.com/t/e-encoding/127205)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 4\
**Last updated:** [January 29, 2008, 10:05am UTC](https://www.ruby-forum.com/t/e-encoding/127205 "2008-01-29T10:05:10Z")

</div>

e$B0J2\<$N$h$&$Ke(B /#{}/e e$B$Ne(B encoding e$B$,e(B US-ASCII e$B$K$J$j$^$9!#e(B % ./ruby -ve ‘p(/#{}/e.encoding)’ ruby 1.9.0 (2008-01-26 revision 15237) \[i686-linux\] #Encoding:US-ASCII e$B@55,I=8=$N%=!\<%9$r9=@.$9$k…

---

## [RESTful routes not letting me rest](https://www.ruby-forum.com/t/restful-routes-not-letting-me-rest/125951)

<div class="topic-metadata">

**Author:** [@kopf1988](https://www.ruby-forum.com/u/kopf1988)\
**Replies:** 4\
**Last updated:** [January 14, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/restful-routes-not-letting-me-rest/125951 "2008-01-14T17:41:42Z")

</div>

Okay, so in my users controller I have defined a modify function. And then in my views I have placed my modify view. Then in my routes I have added: map.resources :users, :collection =\> {:login =\> :get, :logout =\> :g…

---

## [65.years.ago on Windows XP](https://www.ruby-forum.com/t/65-years-ago-on-windows-xp/125713)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 1:29pm UTC](https://www.ruby-forum.com/t/65-years-ago-on-windows-xp/125713 "2008-01-11T13:29:40Z")

</div>

Hello, I’ve some trouble with years.ago I want so use in calendar\_date\_select as described here: http://code.google.com/p/calendardateselect/wiki/CalendarDateSelectParameters I wrote: \<%= contact.calendar\_date\_sele…

---

## [Problems building ruby1.9 on Blue Gene/L](https://www.ruby-forum.com/t/problems-building-ruby1-9-on-blue-gene-l/122550)

<div class="topic-metadata">

**Author:** [@underbluewaters](https://www.ruby-forum.com/u/underbluewaters)\
**Replies:** 4\
**Last updated:** [December 12, 2007, 1:16am UTC](https://www.ruby-forum.com/t/problems-building-ruby1-9-on-blue-gene-l/122550 "2007-12-12T01:16:38Z")

</div>

Trying to cross-compile a compute node binary of Ruby1.9. First, the configure.in file is still broken from Ruby1.8.6. You need to comment out these lines so the configure script doesn’t break: ./configure.in:706:#AC\_…

---

## [Help with ? yield :](https://www.ruby-forum.com/t/help-with-yield/122001)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 4\
**Last updated:** [December 3, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/help-with-yield/122001 "2007-12-03T20:14:09Z")

</div>

Hello, I’m new to Ruby and Rails, and I’m learning at the same time I’m reading books and following some threads on the web, and of course, experimenting … What’s the meaning of this: ? session\[:auth\] ? yield : ( …

---

## [Hoe 1.1.7 Released](https://www.ruby-forum.com/t/hoe-1-1-7-released/81642)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/hoe-1-1-7-released/81642 "2007-09-25T22:40:38Z")

</div>

hoe version 1.1.7 has been released! http://rubyforge.org/projects/seattlerb/ http://seattlerb.rubyforge.org/hoe/ removed\_email\_address@domain.invalid Hoe is a simple rake/rubygems helper for project Rakefiles. It g…

---

## [Save to another database](https://www.ruby-forum.com/t/save-to-another-database/111011)

<div class="topic-metadata">

**Author:** [@pardoengreg](https://www.ruby-forum.com/u/pardoengreg)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/save-to-another-database/111011 "2007-08-02T21:59:21Z")

</div>

Hi, I want to save to current database to another one with the same format. Does anyone know how to do it ? I have a mysql database to which my Ruby on Rails is connected to. And I want to export a whole table from t…

---

## [Asking for style critics: Collecting the result of a query](https://www.ruby-forum.com/t/asking-for-style-critics-collecting-the-result-of-a-query/106004)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 4\
**Last updated:** [June 6, 2007, 9:45am UTC](https://www.ruby-forum.com/t/asking-for-style-critics-collecting-the-result-of-a-query/106004 "2007-06-06T09:45:19Z")

</div>

May I ask some kind soul to criticize the following piece of code? I don’t have that much experience with Ruby yet, but I feel I could do it simpler than that. Problem: Fetch result of a query (it happens to be a SQL …

---

## [Allow back reference with nest level in Oniguruma for Ruby a](https://www.ruby-forum.com/t/allow-back-reference-with-nest-level-in-oniguruma-for-ruby-a/104164)

<div class="topic-metadata">

**Author:** [@wonado](https://www.ruby-forum.com/u/wonado)\
**Replies:** 4\
**Last updated:** [May 15, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/allow-back-reference-with-nest-level-in-oniguruma-for-ruby-a/104164 "2007-05-15T18:00:58Z")

</div>

Hello dear Ruby folks! Nearly one year ago I asked K. Kosako for a new Oniguruma feature which will help to recognize plindrome sentences. It was an idea for an article series in Ruby-Mine, a german Ruby blog site, …

---

## [Slow ruby execution on FreeBSD](https://www.ruby-forum.com/t/slow-ruby-execution-on-freebsd/92609)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [April 24, 2007, 12:23am UTC](https://www.ruby-forum.com/t/slow-ruby-execution-on-freebsd/92609 "2007-04-24T00:23:28Z")

</div>

Howdy, Total green-horn here. A few weeks ago, a test website we were bulding (on freebsd with mysql) slowed waaaay down. I believe I have the problem narrowed down to this line of code in /vendor/rails/railties/lib…

---

## [Config/environment.rb](https://www.ruby-forum.com/t/config-environment-rb/85954)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 4\
**Last updated:** [April 6, 2007, 1:20am UTC](https://www.ruby-forum.com/t/config-environment-rb/85954 "2007-04-06T01:20:56Z")

</div>

I just recently started using the file\_column plugin. I have an easy time getting it to upload files, but I can seem to get it to work on the view. I get the error “undefined method \`image\_relative\_path’”. I read the …

---

## [What is the difference "case && if"?](https://www.ruby-forum.com/t/what-is-the-difference-case-if/90502)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 4\
**Last updated:** [March 29, 2007, 11:30am UTC](https://www.ruby-forum.com/t/what-is-the-difference-case-if/90502 "2007-03-29T11:30:44Z")

</div>

Hello there, Sometime I feel like I understood Ruby and sometime I think its too freaky??? Here is example what I don’t get? This work as it is… if request.post? #do something When I try to put it inside case, it …

---

## [RoR and Ruby Licensing](https://www.ruby-forum.com/t/ror-and-ruby-licensing/90255)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 4:19am UTC](https://www.ruby-forum.com/t/ror-and-ruby-licensing/90255 "2007-03-27T04:19:34Z")

</div>

Hey Guys, I have some questions in regards to the applications that I create using RoR and Ruby. Do I own the copyright on the scripts that I author? Can I distribute my scripts as proprietary? I think I’m good wit…

---

## [CSS XHTML resource required?](https://www.ruby-forum.com/t/css-xhtml-resource-required/88096)

<div class="topic-metadata">

**Author:** [@jima](https://www.ruby-forum.com/u/jima)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 6:08am UTC](https://www.ruby-forum.com/t/css-xhtml-resource-required/88096 "2007-03-08T06:08:59Z")

</div>

Can anyone recommend a good book or site for doing CSS and \[X|D\]HTML. cheers \<.jima\>

---

## [Ajax and IE6 - is there some sort of "trick"?](https://www.ruby-forum.com/t/ajax-and-ie6-is-there-some-sort-of-trick/87953)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/ajax-and-ie6-is-there-some-sort-of-trick/87953 "2007-03-07T16:38:24Z")

</div>

Hi, I’ve got some Ajax stuff that shows more or less of a complex form based on a radio button selection. A “radio\_handler” controller action is the action for a form handler. Some seemingly simple “replace\_html” fi…

---

## [Post variable repost itself](https://www.ruby-forum.com/t/post-variable-repost-itself/80467)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 4\
**Last updated:** [December 28, 2006, 9:31am UTC](https://www.ruby-forum.com/t/post-variable-repost-itself/80467 "2006-12-28T09:31:18Z")

</div>

Hello, I've encountered a strange problem w/ a find method in a big project I’m working on. One thing I must admit is I’m pretty new to ruby and coming from a PHP background. Anyway here’s the find method: def f…

---

## [MountainWest RubyConf 2007: Call For Papers](https://www.ruby-forum.com/t/mountainwest-rubyconf-2007-call-for-papers/73882)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 4\
**Last updated:** [October 28, 2006, 1:58am UTC](https://www.ruby-forum.com/t/mountainwest-rubyconf-2007-call-for-papers/73882 "2006-10-28T01:58:47Z")

</div>

The MountainWest RubyConf 2007, scheduled for the middle of March (we’ll be publish the final dates in the next week or two), is opening a call for presenters. We will have about nine 45 minute slots for talks (with …

---

## [Losing arrays with partial](https://www.ruby-forum.com/t/losing-arrays-with-partial/72759)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [October 18, 2006, 9:02pm UTC](https://www.ruby-forum.com/t/losing-arrays-with-partial/72759 "2006-10-18T21:02:53Z")

</div>

Not sure why this is happening. In my index.rhtml is a form with instance variable for colleciton\_selects. So in the controller - @categories = Category.find(:all, :order =\> “name”) Now I’ve changed the index.rhtml …

---

## [Rails : HTML only?](https://www.ruby-forum.com/t/rails-html-only/72329)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 4\
**Last updated:** [October 17, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/rails-html-only/72329 "2006-10-17T12:43:05Z")

</div>

Hi, Last week, someone asked me if Rails is limited to (r)html (so webapps) only. My first answer was ‘yes’ - because I think the inner workings of Rails is http-specific. After some googling, I came up with this li…

---

## [How to Install Engines?](https://www.ruby-forum.com/t/how-to-install-engines/99903)

<div class="topic-metadata">

**Author:** [@woow](https://www.ruby-forum.com/u/woow)\
**Replies:** 4\
**Last updated:** [July 26, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/how-to-install-engines/99903 "2006-07-26T22:47:21Z")

</div>

I am trying to get this enginer to work…and I am not sure how to install the engine? could someone please give me some instructions with regards to this… http://rails-engines.org/wiki/pages/DateboxEngine for example …

---

## [Problems using 'select'](https://www.ruby-forum.com/t/problems-using-select/60906)

<div class="topic-metadata">

**Author:** [@Domas\_S](https://www.ruby-forum.com/u/Domas_S)\
**Replies:** 4\
**Last updated:** [May 19, 2006, 10:57am UTC](https://www.ruby-forum.com/t/problems-using-select/60906 "2006-05-19T10:57:23Z")

</div>

I use :filter action to display form and allow record filtering. It contains form with combo box, submit button and list of record matching value in combo. filter.rb: class Filter attr\_accessor :owner def initializ…

---

## [Fully qualifying classes underneath the vendor directory](https://www.ruby-forum.com/t/fully-qualifying-classes-underneath-the-vendor-directory/60690)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [May 16, 2006, 10:58pm UTC](https://www.ruby-forum.com/t/fully-qualifying-classes-underneath-the-vendor-directory/60690 "2006-05-16T22:58:26Z")

</div>

Can I qualify classes using the first directory name under vendor? Say I have: vendor/html-scanner/html/node.rb Can I qualify the Node class using HTML-Scanner::HTML::Node? Thanks, Wes

---

## [Undesireable lazy loading](https://www.ruby-forum.com/t/undesireable-lazy-loading/60420)

<div class="topic-metadata">

**Author:** [@Piotr\_Chmolowski](https://www.ruby-forum.com/u/Piotr_Chmolowski)\
**Replies:** 4\
**Last updated:** [May 13, 2006, 4:34pm UTC](https://www.ruby-forum.com/t/undesireable-lazy-loading/60420 "2006-05-13T16:34:24Z")

</div>

Hi, My work with Rails has been fairly straightforward, until yesterday… I’ve encountered rather a peculiar problem that I’m not able to solve myself as a rails-newbie. The model code looks like this: class Link \< A…

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

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