# Top

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

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

---

## [Linked associations question please help](https://www.ruby-forum.com/t/linked-associations-question-please-help/177498)

<div class="topic-metadata">

**Author:** [@theambler](https://www.ruby-forum.com/u/theambler)\
**Replies:** 5\
**Last updated:** [October 19, 2009, 11:44am UTC](https://www.ruby-forum.com/t/linked-associations-question-please-help/177498 "2009-10-19T11:44:40Z")

</div>

I have a Users model. Users ‘have many’ Stories, and Stories have many Items. This structure allows the sharing of Items between Stories and Stories between Users. But given there is no direct ‘ownership’ link betw…

---

## [Good Articles/Blogs Explaing Rest with Rails Please](https://www.ruby-forum.com/t/good-articles-blogs-explaing-rest-with-rails-please/139707)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 5\
**Last updated:** [November 1, 2008, 12:38pm UTC](https://www.ruby-forum.com/t/good-articles-blogs-explaing-rest-with-rails-please/139707 "2008-11-01T12:38:44Z")

</div>

Hi, It seems Rails 2.0.2 has focussed more on Rest Approach. I need to study more about the Exact meaning of REST and its advantages with Rails. Can someone point me out important and helpful links, where i can focus …

---

## [Worthwhile to build a gem?](https://www.ruby-forum.com/t/worthwhile-to-build-a-gem/142050)

<div class="topic-metadata">

**Author:** [@S-gw](https://www.ruby-forum.com/u/S-gw)\
**Replies:** 5\
**Last updated:** [July 3, 2008, 7:17am UTC](https://www.ruby-forum.com/t/worthwhile-to-build-a-gem/142050 "2008-07-03T07:17:37Z")

</div>

I have a project where a number of internally-developed Ruby libraries will need to be installed on numerous machines. Small apps will then be written using this set of libraries almost like a framework really. Is it …

---

## [Importing many 'dirty' .csv records..what approach is best?](https://www.ruby-forum.com/t/importing-many-dirty-csv-records-what-approach-is-best/135991)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [April 28, 2008, 11:16am UTC](https://www.ruby-forum.com/t/importing-many-dirty-csv-records-what-approach-is-best/135991 "2008-04-28T11:16:56Z")

</div>

I am tasked with importing many .csv files into an application that has a ‘scoped’ database that services many distinct customers. I’m sure it comes as no surprise that many of these will be damaged in some way with s…

---

## [Post from controller](https://www.ruby-forum.com/t/post-from-controller/134024)

<div class="topic-metadata">

**Author:** [@fredmsun](https://www.ruby-forum.com/u/fredmsun)\
**Replies:** 5\
**Last updated:** [April 9, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/post-from-controller/134024 "2008-04-09T16:11:10Z")

</div>

Hi All I have a newbie question. I have a RESTful controller that has a standard create method, however I also want to POST a request to a separate external URL from this same method. def create @out\_message = OutM…

---

## [Designing filters: remez?](https://www.ruby-forum.com/t/designing-filters-remez/125633)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 5\
**Last updated:** [January 14, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/designing-filters-remez/125633 "2008-01-14T16:56:56Z")

</div>

Hello! I thought about a graphical filter designer (probably to be integrated with GRC). I read up about the window method and the Remez method. I found both in GNU Radio code, but the examples only use the window me…

---

## [\[ANN\] Instant Rails replaced by the BitNami RubyStack](https://www.ruby-forum.com/t/ann-instant-rails-replaced-by-the-bitnami-rubystack/121049)

<div class="topic-metadata">

**Author:** [@Curt\_SWorkS\_Hibbs](https://www.ruby-forum.com/u/Curt_SWorkS_Hibbs)\
**Replies:** 5\
**Last updated:** [November 26, 2007, 12:17am UTC](https://www.ruby-forum.com/t/ann-instant-rails-replaced-by-the-bitnami-rubystack/121049 "2007-11-26T00:17:08Z")

</div>

no longer have the time to maintain and support Instant Rails, and there will be no further releases. However, Instant Rails is being replaced by the BitNami RubyStack, which you can find here: Ruby Cloud Hosting, Ru…

---

## [Rendering exotic character](https://www.ruby-forum.com/t/rendering-exotic-character/116301)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 5\
**Last updated:** [October 8, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/rendering-exotic-character/116301 "2007-10-08T17:00:33Z")

</div>

hi all, I put a ° in a string but when I render it to the screen the ° changes in \<?\> block. The rest of the string is renderen correctly. How is this caused? Thanks Stijn

---

## [I am new one to Ruby can u help me](https://www.ruby-forum.com/t/i-am-new-one-to-ruby-can-u-help-me/86671)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 25, 2007, 1:54am UTC](https://www.ruby-forum.com/t/i-am-new-one-to-ruby-can-u-help-me/86671 "2007-02-25T01:54:48Z")

</div>

i m new one to this plat, now am working in php mysql. but i want to shift in to ruby . am not having single bit idea abt ruby . can u help me , how ca i learn ruby, how to write the code ,how differ from php/ mysql. …

---

## [Newbie - File Rename](https://www.ruby-forum.com/t/newbie-file-rename/72070)

<div class="topic-metadata">

**Author:** [@snoopy](https://www.ruby-forum.com/u/snoopy)\
**Replies:** 5\
**Last updated:** [October 16, 2006, 6:31am UTC](https://www.ruby-forum.com/t/newbie-file-rename/72070 "2006-10-16T06:31:15Z")

</div>

I am obviously missing something. I am simple trying to rename some files with long names to a shorter format. Here are a couple of sample file names: longfilename - 0100.txt, longfilename - 01-1.txt Here is my cod…

---

## [Debian Hosting Setup](https://www.ruby-forum.com/t/debian-hosting-setup/65932)

<div class="topic-metadata">

**Author:** [@snowbug](https://www.ruby-forum.com/u/snowbug)\
**Replies:** 5\
**Last updated:** [August 22, 2006, 4:17pm UTC](https://www.ruby-forum.com/t/debian-hosting-setup/65932 "2006-08-22T16:17:58Z")

</div>

Friends, I’m about to launch a little usergroup-type community site and have a VPS waiting with (what will be) a clean Debian Stable install. The last time I installed this VPS box, I followed Ezra’s Debian guide to …

---

## [Proving Ruby's effectiveness](https://www.ruby-forum.com/t/proving-rubys-effectiveness/99757)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [July 27, 2006, 11:18am UTC](https://www.ruby-forum.com/t/proving-rubys-effectiveness/99757 "2006-07-27T11:18:44Z")

</div>

Our company (2500 employees) has a development conference in a few months. I want to present a talk about the effectiveness of Ruby. I’ve been asked (at late notice, grrrr) to give concrete evendence about it’s applic…

---

## [Problem running rake db:migrate](https://www.ruby-forum.com/t/problem-running-rake-db-migrate/99853)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 5\
**Last updated:** [July 25, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/problem-running-rake-db-migrate/99853 "2006-07-25T23:42:36Z")

</div>

I’m having a great deal of trouble getting rake to run migrations on our staging server. Everything works fine on my dev box, but trying to run the following on staging results in errors. rake db:migrate (in /var…

---

## [Iorcc](https://www.ruby-forum.com/t/iorcc/96963)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 5\
**Last updated:** [July 14, 2006, 7:56pm UTC](https://www.ruby-forum.com/t/iorcc/96963 "2006-07-14T19:56:23Z")

</div>

Was curious if anyone knew the email of the individual who originally started the iorcc (at http://iorcc.blogspot.com/) as it seems to have become defunct - the http://iorcc.dyndns.org link no longer works. I have re…

---

## [Model reloading problem](https://www.ruby-forum.com/t/model-reloading-problem/56439)

<div class="topic-metadata">

**Author:** [@Luciano\_B](https://www.ruby-forum.com/u/Luciano_B)\
**Replies:** 5\
**Last updated:** [March 31, 2006, 9:50am UTC](https://www.ruby-forum.com/t/model-reloading-problem/56439 "2006-03-31T09:50:10Z")

</div>

Hi all, I’ve a model class Toto in the model directory. I don’t understand why i have to restarts WebBrick to view changes i make in this class FYI : in the development. rb i desabled class cache with config.cache…

---

## [Returning p array](https://www.ruby-forum.com/t/returning-p-array/54972)

<div class="topic-metadata">

**Author:** [@rtilley](https://www.ruby-forum.com/u/rtilley)\
**Replies:** 5\
**Last updated:** [March 16, 2006, 10:30am UTC](https://www.ruby-forum.com/t/returning-p-array/54972 "2006-03-16T10:30:14Z")

</div>

I like the way in which p prints out the contents of an array. It’s easy for me to read. Is it possible to make a method return p array? Or is there a better way to do this? def info #create an array p array return…

---

## [Correcting Bent Records: Mongrel is not SCGI](https://www.ruby-forum.com/t/correcting-bent-records-mongrel-is-not-scgi/76699)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 5\
**Last updated:** [March 5, 2006, 8:45pm UTC](https://www.ruby-forum.com/t/correcting-bent-records-mongrel-is-not-scgi/76699 "2006-03-05T20:45:34Z")

</div>

Hi, I kept getting a very weird question about Mongrel (http://mongrel.rubyforge.org) and SCGI that I think really needs to be cleared up: \*\* Mongrel is not SCGI and will never need, use, require, or interact with …

---

## [Problem creating appdoc documentation](https://www.ruby-forum.com/t/problem-creating-appdoc-documentation/53871)

<div class="topic-metadata">

**Author:** [@Radek\_Hnilica](https://www.ruby-forum.com/u/Radek_Hnilica)\
**Replies:** 5\
**Last updated:** [February 16, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/problem-creating-appdoc-documentation/53871 "2006-02-16T14:27:23Z")

</div>

Hello, can anyone help me. After a few weeks I returned to the rails to play with it. But I recognize that I’m now not abble to build appdoc. The same thing that few weeks ago worked without an problem now give me a…

---

## [Specifying multiple for select](https://www.ruby-forum.com/t/specifying-multiple-for-select/97139)

<div class="topic-metadata">

**Author:** [@cool\_screen\_name900](https://www.ruby-forum.com/u/cool_screen_name900)\
**Replies:** 5\
**Last updated:** [December 11, 2005, 9:12pm UTC](https://www.ruby-forum.com/t/specifying-multiple-for-select/97139 "2005-12-11T21:12:10Z")

</div>

With select(), how can I get it to just add ‘multiple’ to the tag? Here’s what I’m doing: select ‘obj’, ‘prop’, collection, {}, {:multiple=\>true, :size=\>10} which outputs: I’d like it to look like this: Possibl…

---

## [About building gnuradio on mac os x lion behind a firewall](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [May 26, 2013, 9:51pm UTC](https://www.ruby-forum.com/t/about-building-gnuradio-on-mac-os-x-lion-behind-a-firewall/235018 "2013-05-26T21:51:50Z")

</div>

Hi, Is it possible to compile gnuradio in Mac OS X Lion. I am behind a college firewall and I can use only port 80 and sometimes 443. Svn, rsync etc. doesn’t work and so i can use neither fink nor macports. Some of t…

---

## [Extracting part of a string](https://www.ruby-forum.com/t/extracting-part-of-a-string/221491)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 17, 2012, 4:10am UTC](https://www.ruby-forum.com/t/extracting-part-of-a-string/221491 "2012-07-17T04:10:20Z")

</div>

I have a file of the form server.corp.abc.com:/vol/test/xyz server2.corp.def.com:/vol/stage/123 server3.corp.xyz.net:/vol/prod/abc and etc. How do I return a list of only the server names? In other words everythin…

---

## [Problem in Rails Controller and Model](https://www.ruby-forum.com/t/problem-in-rails-controller-and-model/216393)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 3, 2012, 10:35am UTC](https://www.ruby-forum.com/t/problem-in-rails-controller-and-model/216393 "2012-02-03T10:35:05Z")

</div>

Hi, This is a piece of code found in a fictional Rails controller and model. Please point out any bugs or security problems in the code, fix them, and refactor the code to make it cleaner. class ProfileController \< …

---

## [Uhd problem](https://www.ruby-forum.com/t/uhd-problem/190151)

<div class="topic-metadata">

**Author:** [@dynamic](https://www.ruby-forum.com/u/dynamic)\
**Replies:** 4\
**Last updated:** [December 14, 2011, 12:33pm UTC](https://www.ruby-forum.com/t/uhd-problem/190151 "2011-12-14T12:33:38Z")

</div>

Hi, I’m a french student. I am working on UHD for the time-stamping on USRP2 with a WBX dboard for my final project. I try to implement a specification on a usrp2. I got a problem. if someone can help me please: wh…

---

## [Multithreading in Ruby](https://www.ruby-forum.com/t/multithreading-in-ruby/210985)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 22, 2011, 6:58pm UTC](https://www.ruby-forum.com/t/multithreading-in-ruby/210985 "2011-08-22T18:58:10Z")

</div>

Hi, I’m relatively new to ruby and threading in general. I’m trying to get the following code to work. Essentially, the program scrapes data from a site which has a list of urls on the first page (and more list pages …

---

## [There aren't server in the script folder](https://www.ruby-forum.com/t/there-arent-server-in-the-script-folder/201995)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 19, 2011, 5:59pm UTC](https://www.ruby-forum.com/t/there-arent-server-in-the-script-folder/201995 "2011-01-19T17:59:32Z")

</div>

Hi, I would like to run ruby on rails in windows. I have watched some tutorial but I haven’t got any answer for this. After, I create a new app in the projectfolder/script folder only contains rails file, there aren’…

---

## [How to get started using UHD](https://www.ruby-forum.com/t/how-to-get-started-using-uhd/200652)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [January 11, 2011, 12:31am UTC](https://www.ruby-forum.com/t/how-to-get-started-using-uhd/200652 "2011-01-11T00:31:11Z")

</div>

Hello: I have a USRP2 with a WBX, and I’m using a raw Ethernet interface. I’m running GNU Radio 3.3.0 with openSUSE 11.2 and Python 2.6.2 How can I get started using UHD? I need to get a branch of GNU Radio that supp…

---

## [Problems with Google Maps](https://www.ruby-forum.com/t/problems-with-google-maps/198549)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 4, 2010, 9:59am UTC](https://www.ruby-forum.com/t/problems-with-google-maps/198549 "2010-11-04T09:59:45Z")

</div>

Hello everybody, I’m working with Google Maps and i want to display a map for an event that i have in my aplicaction. When I clik on the link to view the map the bwroser show me the next fail: NoMethodError in Concl…

---

## [Scaffold with no data?](https://www.ruby-forum.com/t/scaffold-with-no-data/191385)

<div class="topic-metadata">

**Author:** [@DrSney](https://www.ruby-forum.com/u/DrSney)\
**Replies:** 4\
**Last updated:** [July 12, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/scaffold-with-no-data/191385 "2010-07-12T13:46:38Z")

</div>

Hello, please help me with one little error that I have here. I have created database structure, than generated scaffold for it (script/ generate scaffold Artist). But when I try to use it, all i have is this (db cont…

---

## [No default .htaccess](https://www.ruby-forum.com/t/no-default-htaccess/188958)

<div class="topic-metadata">

**Author:** [@simon780](https://www.ruby-forum.com/u/simon780)\
**Replies:** 4\
**Last updated:** [May 22, 2010, 8:49pm UTC](https://www.ruby-forum.com/t/no-default-htaccess/188958 "2010-05-22T20:49:44Z")

</div>

Hey all! I just created my first RoR project (following this guide http://wiki.rubyonrails.org/start), and I had some trouble getting everything to work under apache with passenger. After some debugging I found out I…

---

## [Ror noob need help with easy hidden\_field question](https://www.ruby-forum.com/t/ror-noob-need-help-with-easy-hidden-field-question/186820)

<div class="topic-metadata">

**Author:** [@siouxsioux](https://www.ruby-forum.com/u/siouxsioux)\
**Replies:** 4\
**Last updated:** [April 15, 2010, 7:34am UTC](https://www.ruby-forum.com/t/ror-noob-need-help-with-easy-hidden-field-question/186820 "2010-04-15T07:34:38Z")

</div>

I’m trying to save users the trouble of creating a username, so I am generating it based on their email address. It doesn’t need to be unique, it is used in the view only, but that’s not my question. My question is h…

---

## [Current\_user Authlogic & Service.rb](https://www.ruby-forum.com/t/current-user-authlogic-service-rb/185441)

<div class="topic-metadata">

**Author:** [@fury](https://www.ruby-forum.com/u/fury)\
**Replies:** 4\
**Last updated:** [April 4, 2010, 1:42pm UTC](https://www.ruby-forum.com/t/current-user-authlogic-service-rb/185441 "2010-04-04T13:42:18Z")

</div>

Hi, I am using Authlogic & Weborb to remote from as3. Is it possible to access current\_user, which is defined in a helper method in the application controller, in a Service class. Thank you in advance, John.

---

## [Load issue with roo](https://www.ruby-forum.com/t/load-issue-with-roo/182796)

<div class="topic-metadata">

**Author:** [@lycanthrope](https://www.ruby-forum.com/u/lycanthrope)\
**Replies:** 4\
**Last updated:** [February 3, 2010, 2:42am UTC](https://www.ruby-forum.com/t/load-issue-with-roo/182796 "2010-02-03T02:42:32Z")

</div>

could someone point me in the direction of a solution to this error? $ irb irb(main):001:0\> require ‘rubygems’ =\> true irb(main):002:0\> require ‘roo’ LoadError: no such file to load – builder from /usr/lib/ruby/1.…

---

## [Displaying the html from a ruby .cgi script](https://www.ruby-forum.com/t/displaying-the-html-from-a-ruby-cgi-script/180612)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [January 30, 2010, 11:48am UTC](https://www.ruby-forum.com/t/displaying-the-html-from-a-ruby-cgi-script/180612 "2010-01-30T11:48:15Z")

</div>

I have a script, foobar.cgi I can load it into my browser, as in http://localhost/foobar.cgi It generates html code. I am using Apache on Linux here, everything is local only. My question is: Is there an easy way t…

---

## [Requiring records in the DB before testing](https://www.ruby-forum.com/t/requiring-records-in-the-db-before-testing/182557)

<div class="topic-metadata">

**Author:** [@kkohrt](https://www.ruby-forum.com/u/kkohrt)\
**Replies:** 4\
**Last updated:** [January 29, 2010, 10:30pm UTC](https://www.ruby-forum.com/t/requiring-records-in-the-db-before-testing/182557 "2010-01-29T22:30:32Z")

</div>

Is there any way I can require a small set of data be in the test database before any tests are run? (unit, functional, integration, cucumber, etc) Any way besides using fixtures, that is. Overload a rake task? Modi…

---

## [Fib.rb 1.9.1/1.8.6 source code conflicts/errors](https://www.ruby-forum.com/t/fib-rb-1-9-1-1-8-6-source-code-conflicts-errors/181376)

<div class="topic-metadata">

**Author:** [@jzakiya](https://www.ruby-forum.com/u/jzakiya)\
**Replies:** 4\
**Last updated:** [January 11, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/fib-rb-1-9-1-1-8-6-source-code-conflicts-errors/181376 "2010-01-11T21:46:25Z")

</div>

In the latest ruby-1.8.6-p388 source code I just downloaded the file fib.rb; 2007-2-12 contains correct code: calculate Fibonacci(20) benchmark def fib(n) if n\<2 n else fib(n-2)+fib(n-1) end end print(fib(20…

---

## [Gnuradio Python on ubuntu 9.10 install problems](https://www.ruby-forum.com/t/gnuradio-python-on-ubuntu-9-10-install-problems/178992)

<div class="topic-metadata">

**Author:** [@dave\_k](https://www.ruby-forum.com/u/dave_k)\
**Replies:** 4\
**Last updated:** [November 15, 2009, 8:02pm UTC](https://www.ruby-forum.com/t/gnuradio-python-on-ubuntu-9-10-install-problems/178992 "2009-11-15T20:02:36Z")

</div>

checking for python… /usr/bin/python checking for python version… 2.6 checking for python platform… linux2 checking for python script directory… ${prefix}/lib/python2.6/dist-packages checking for python extension mo…

---

## [\[OT\] Becoming incorporated? Few quick questions, S-Corp fine, etc?](https://www.ruby-forum.com/t/ot-becoming-incorporated-few-quick-questions-s-corp-fine-etc/172278)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 4\
**Last updated:** [July 20, 2009, 4:11am UTC](https://www.ruby-forum.com/t/ot-becoming-incorporated-few-quick-questions-s-corp-fine-etc/172278 "2009-07-20T04:11:06Z")

</div>

I figure a lot of you are probably independent contractors so I have a couple quick OT questions… I currently work full-time in a company as W2 employee, but will be picking up side contract work. I’d like to become …

---

## [Nginx-0.7.7](https://www.ruby-forum.com/t/nginx-0-7-7/144514)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 4\
**Last updated:** [May 16, 2009, 6:07pm UTC](https://www.ruby-forum.com/t/nginx-0-7-7/144514 "2009-05-16T18:07:53Z")

</div>

Changes with nginx 0.7.7 30 Jul 2008 \*) Change: now the EAGAIN error returned by connect() is not considered as temporary error. \*) Change: now the $ssl\_client\_cert variable …

---

## [Regexp](https://www.ruby-forum.com/t/regexp/167955)

<div class="topic-metadata">

**Author:** [@mikael](https://www.ruby-forum.com/u/mikael)\
**Replies:** 4\
**Last updated:** [May 14, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/regexp/167955 "2009-05-14T14:02:33Z")

</div>

Hello! Anyone who can help me with this. If i have a string and want to take out a sub string of that by regexp. string = “Today is it monday after work. blah blah.” or string2 = “monday morning. Nice day today.” A…

---

## [Modernizing my rails chops](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 4\
**Last updated:** [April 30, 2009, 4:30pm UTC](https://www.ruby-forum.com/t/modernizing-my-rails-chops/136621 "2009-04-30T16:30:21Z")

</div>

I got aboard the rails train last year with my first project and made the decision to not go the RESTful route since it didnt seem necessary at the time and many of the tutorials and books had been written before this…

---

## [Facing problem while running db migrate](https://www.ruby-forum.com/t/facing-problem-while-running-db-migrate/165065)

<div class="topic-metadata">

**Author:** [@darshana](https://www.ruby-forum.com/u/darshana)\
**Replies:** 4\
**Last updated:** [April 9, 2009, 9:22am UTC](https://www.ruby-forum.com/t/facing-problem-while-running-db-migrate/165065 "2009-04-09T09:22:24Z")

</div>

I have ruby 1.8.6 with rubygems support and rails for windows. when i am running command rake db:migrate from command promt, i am getting error: C:\\ruby\\bin\\ruby.exe: No such file or directory – C:/ruby/bin/rake (Loa…

---

## [About qt4-ruby](https://www.ruby-forum.com/t/about-qt4-ruby/155827)

<div class="topic-metadata">

**Author:** [@Magicloud](https://www.ruby-forum.com/u/Magicloud)\
**Replies:** 4\
**Last updated:** [December 19, 2008, 5:06am UTC](https://www.ruby-forum.com/t/about-qt4-ruby/155827 "2008-12-19T05:06:33Z")

</div>

Hi, Today I compiled qt4-ruby in my rhel5 box. And have a little test. Well, when the .rb runs, it says something wrong from qtruby4.so, libsmokeqt.so.2 does not have symbol of \_ZN8QWebView11qt\_metacastEPKc. I recomp…

---

## [Retrive data from table](https://www.ruby-forum.com/t/retrive-data-from-table/152188)

<div class="topic-metadata">

**Author:** [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Replies:** 4\
**Last updated:** [November 1, 2008, 2:07am UTC](https://www.ruby-forum.com/t/retrive-data-from-table/152188 "2008-11-01T02:07:03Z")

</div>

hi… how can I retrive data from a specific row of table by giving two or more properties of that row? examlpe I want to get data which ID = 23 and NAME = “xx” like thankx

---

## [Permissions at creating directory](https://www.ruby-forum.com/t/permissions-at-creating-directory/150886)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 4\
**Last updated:** [October 15, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/permissions-at-creating-directory/150886 "2008-10-15T16:20:31Z")

</div>

Why a new directory is ignoring my permissions? Dir.mkdir(‘foo’, 711) It’s created with 755, the permissions by deafult of my system. My umask is to 0022.

---

## [Reverse proxy performance woes](https://www.ruby-forum.com/t/reverse-proxy-performance-woes/147654)

<div class="topic-metadata">

**Author:** [@pachl](https://www.ruby-forum.com/u/pachl)\
**Replies:** 4\
**Last updated:** [September 29, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/reverse-proxy-performance-woes/147654 "2008-09-29T15:11:23Z")

</div>

Hey all, I'm running into performance issues with nginx as a load balancer. I have three web servers and one load balancer server. All four of them have nginx installed and setup. Using a stress testing tool (jMeter…

---

## [Change model definition using scaffold](https://www.ruby-forum.com/t/change-model-definition-using-scaffold/145505)

<div class="topic-metadata">

**Author:** [@Gromski](https://www.ruby-forum.com/u/Gromski)\
**Replies:** 4\
**Last updated:** [August 13, 2008, 4:50am UTC](https://www.ruby-forum.com/t/change-model-definition-using-scaffold/145505 "2008-08-13T04:50:42Z")

</div>

Hi all Apologies if this a trivially newb question but I’m new to rails (and frameworks in general) but is there a way to change the model definition using the scaffold, i.e. is it possible to update the model, views…

---

## [Why does the initialize method not return the last expression?](https://www.ruby-forum.com/t/why-does-the-initialize-method-not-return-the-last-expression/145493)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 4\
**Last updated:** [August 10, 2008, 9:10pm UTC](https://www.ruby-forum.com/t/why-does-the-initialize-method-not-return-the-last-expression/145493 "2008-08-10T21:10:12Z")

</div>

Hi, In Ruby the last expression in a method is returned. Why is this not the case for the initialize method? class Browser def initialize ie ||= Watir::IE.new end end ie = Browser.new #goto is a url navigation m…

---

## [Question on Ranges](https://www.ruby-forum.com/t/question-on-ranges/141990)

<div class="topic-metadata">

**Author:** [@Mukund](https://www.ruby-forum.com/u/Mukund)\
**Replies:** 4\
**Last updated:** [July 3, 2008, 2:19pm UTC](https://www.ruby-forum.com/t/question-on-ranges/141990 "2008-07-03T14:19:39Z")

</div>

Why am I not able to do this? x=Time.now y=Time.now + 1.year (x…y).step(1.week) The step function just goes seems to hang in a loop. Shouldn’t it return the remaining weeks in the current year (ignoring the start …

---

## [What is the server load when uploading files?](https://www.ruby-forum.com/t/what-is-the-server-load-when-uploading-files/133276)

<div class="topic-metadata">

**Author:** [@sumwutdum](https://www.ruby-forum.com/u/sumwutdum)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 6:43am UTC](https://www.ruby-forum.com/t/what-is-the-server-load-when-uploading-files/133276 "2008-03-31T06:43:35Z")

</div>

It isn’t a secret that Rails doesn’t handle uploads in the best possible way, but what are the limits of this? I have a site that on a typical post will contain 5- 10 picture uploads each of which will have a size of …

---

## [404 error on WPMU](https://www.ruby-forum.com/t/404-error-on-wpmu/129864)

<div class="topic-metadata">

**Author:** [@dika](https://www.ruby-forum.com/u/dika)\
**Replies:** 4\
**Last updated:** [February 29, 2008, 7:59am UTC](https://www.ruby-forum.com/t/404-error-on-wpmu/129864 "2008-02-29T07:59:59Z")

</div>

Hai Teams, I’ve installed NginX to host my Wordpress MU. Everything running well, but one thing didn’t works properly. When I use this : http://202.158.66.216/wp-admin/ I got \*Error 404 - Not Found. \*But if I use : h…

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

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