# Top

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

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

---

## [News Roll](https://www.ruby-forum.com/t/news-roll/155367)

<div class="topic-metadata">

**Author:** [@Jaikishan\_J](https://www.ruby-forum.com/u/Jaikishan_J)\
**Replies:** 4\
**Last updated:** [December 11, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/news-roll/155367 "2008-12-11T14:31:47Z")

</div>

Hello, I am making an application in which I have a div where a new news is flashed after every 5 second or so automatically. By automatically, I mean user does not send any request to server by clicking on anything…

---

## [Read Database Metadata](https://www.ruby-forum.com/t/read-database-metadata/154271)

<div class="topic-metadata">

**Author:** [@xdork](https://www.ruby-forum.com/u/xdork)\
**Replies:** 4\
**Last updated:** [November 28, 2008, 1:50am UTC](https://www.ruby-forum.com/t/read-database-metadata/154271 "2008-11-28T01:50:34Z")

</div>

Hi All, I’m reviewing Ruby if its appropriate for my project. I’m planning to port my existing application made from Java to Ruby but before I do that I have to check if Ruby have capablities of doing the following: …

---

## [Get the id of the last record from a table](https://www.ruby-forum.com/t/get-the-id-of-the-last-record-from-a-table/152134)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 4\
**Last updated:** [October 30, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/get-the-id-of-the-last-record-from-a-table/152134 "2008-10-30T13:28:55Z")

</div>

can anyone tell me how can i get the last id(primary key) of the table

---

## [Weird Deprecation Warning](https://www.ruby-forum.com/t/weird-deprecation-warning/150461)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 4\
**Last updated:** [October 8, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/weird-deprecation-warning/150461 "2008-10-08T23:08:39Z")

</div>

I am getting the following message in my development.log after installing mongrel\_service, installing the service and starting the service. DEPRECATION WARNING: config.action\_view.cache\_template\_extensions option has…

---

## [How to validate presence of associated?](https://www.ruby-forum.com/t/how-to-validate-presence-of-associated/149405)

<div class="topic-metadata">

**Author:** [@Christian\_RishSSSSj](https://www.ruby-forum.com/u/Christian_RishSSSSj)\
**Replies:** 4\
**Last updated:** [September 27, 2008, 12:55pm UTC](https://www.ruby-forum.com/t/how-to-validate-presence-of-associated/149405 "2008-09-27T12:55:25Z")

</div>

On Rails 2.1.1, I have this simple case: class Post \< ActiveRecord::Base has\_many :comments end class Comment \< ActiveRecord::Base belongs\_to :post validates\_presence\_of :post\_id end Now, when building associated…

---

## [Form GET / POST problem](https://www.ruby-forum.com/t/form-get-post-problem/146497)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 4\
**Last updated:** [August 24, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/form-get-post-problem/146497 "2008-08-24T16:13:14Z")

</div>

I have a search form on page. It works fine, but if user give a search word by typing it in URL: http://domain.com/search/?word=searchword After that search form dosn’t work any more, because form post data to this U…

---

## [Problem in check\_box](https://www.ruby-forum.com/t/problem-in-check-box/146293)

<div class="topic-metadata">

**Author:** [@leonard2](https://www.ruby-forum.com/u/leonard2)\
**Replies:** 4\
**Last updated:** [August 19, 2008, 10:30pm UTC](https://www.ruby-forum.com/t/problem-in-check-box/146293 "2008-08-19T22:30:27Z")

</div>

hello list I have this check\_box in my code \<% for mercado in @merca %\> \<%= check\_box “mercado”, “nombre”, {:value=\>mercado.id, :name=\>mercado.nombre}, :onchange =\> remote\_function(:url =\> {:action =\> “find2”}, :wit…

---

## [Improved find syntax in rails](https://www.ruby-forum.com/t/improved-find-syntax-in-rails/144702)

<div class="topic-metadata">

**Author:** [@xgamerx](https://www.ruby-forum.com/u/xgamerx)\
**Replies:** 4\
**Last updated:** [August 1, 2008, 11:34am UTC](https://www.ruby-forum.com/t/improved-find-syntax-in-rails/144702 "2008-08-01T11:34:38Z")

</div>

Hey guys, I was told to move discussion to the mailing list so that is what I am doing. I recently started working with merb and datamapper and I am really fond of moving the super simple conditions syntax over to rai…

---

## [Probl;ems with Rails 2.1.0](https://www.ruby-forum.com/t/probl-ems-with-rails-2-1-0/142574)

<div class="topic-metadata">

**Author:** [@soutom](https://www.ruby-forum.com/u/soutom)\
**Replies:** 4\
**Last updated:** [July 9, 2008, 12:31pm UTC](https://www.ruby-forum.com/t/probl-ems-with-rails-2-1-0/142574 "2008-07-09T12:31:43Z")

</div>

i just install the Ruby on Rails 2.1.0… But i faced lots of problem… is there any way to install Ruby On Rails 2.0.2 thanking you

---

## [Rails 2.1 w/MS SQL Server 2008 warning re: ":lock option"](https://www.ruby-forum.com/t/rails-2-1-w-ms-sql-server-2008-warning-re-lock-option/140863)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [June 20, 2008, 1:53am UTC](https://www.ruby-forum.com/t/rails-2-1-w-ms-sql-server-2008-warning-re-lock-option/140863 "2008-06-20T01:53:14Z")

</div>

All, I’m successfully running my 2.1 app. against MS SQL Server 2008. One of my actions generated these messages, though: Warning: SQLServer :lock option ‘nil’ not supported It doesn’t appear to hurt anything, but I…

---

## [Rails e ajax](https://www.ruby-forum.com/t/rails-e-ajax/134265)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 4\
**Last updated:** [April 9, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/rails-e-ajax/134265 "2008-04-09T16:31:01Z")

</div>

Ciao a tutti, stavo giocando con ajax, un link mi fa uscire un popup che mi chiede una password, se Ã¨ corretta ridirigo al controller di destinazione altrimenti visualizzo un msg di errore nella pagina che ha mostrat…

---

## [Modifying FIX::\* method](https://www.ruby-forum.com/t/modifying-fix-method/133463)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/modifying-fix-method/133463 "2008-03-31T20:38:42Z")

</div>

I have a class such as Class Foo def initialize(x) @x = x end attr\_read :x end I want to be able to multiply a NUMERIC object by my Foo object and have it return a new Foo object with all the instance variables m…

---

## [Deploying Rails](https://www.ruby-forum.com/t/deploying-rails/125697)

<div class="topic-metadata">

**Author:** [@stranger](https://www.ruby-forum.com/u/stranger)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 8:48pm UTC](https://www.ruby-forum.com/t/deploying-rails/125697 "2008-01-11T20:48:27Z")

</div>

Hello all, I am new to ruby on rails. I started to deploy a open source project into my website under a subdomain called ‘scheduler’. But when I point to www.mydomain.com/scheduler/ I am getting my home page when i l…

---

## [Hidden URL](https://www.ruby-forum.com/t/hidden-url/119193)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 4, 2007, 11:44pm UTC](https://www.ruby-forum.com/t/hidden-url/119193 "2007-11-04T23:44:27Z")

</div>

Hello, I have in my application a private public URL. For those who know Flickr, it is sorta like the URL you give to your friend for them to access your photos. Usually the URL looks like this: http://www.domain.com…

---

## [In\_place\_editor\_field](https://www.ruby-forum.com/t/in-place-editor-field/117563)

<div class="topic-metadata">

**Author:** [@macsig](https://www.ruby-forum.com/u/macsig)\
**Replies:** 4\
**Last updated:** [October 18, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/117563 "2007-10-18T22:27:14Z")

</div>

Hi guys, even if editing in place is very documented I have a issue with it and frankly speaking I feel a bit silly. I’m trying to editing the home team’s name of football schedule. Below my code class MatchControll…

---

## [Rails e postgres](https://www.ruby-forum.com/t/rails-e-postgres/111814)

<div class="topic-metadata">

**Author:** [@ranza](https://www.ruby-forum.com/u/ranza)\
**Replies:** 4\
**Last updated:** [August 11, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/rails-e-postgres/111814 "2007-08-11T16:45:58Z")

</div>

Salve a tutti, sono un nuovo utente, alle prime armi con ruby, con un problemino non che non riesco a risolvere. Devo sviluppare una web application in ruby come progetto universitario che deve usare come specifica i…

---

## [Table id's never get recycled?](https://www.ruby-forum.com/t/table-ids-never-get-recycled/110379)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 25, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/table-ids-never-get-recycled/110379 "2007-07-25T23:32:29Z")

</div>

I’ve noticed that as you create and delete records, id’s that are no longer being used don’t seem to get used again. Is this supposed to happen? Is there a way to choose an id that is not being used for a new record?…

---

## [Rails Noob, Math or Array Issue?](https://www.ruby-forum.com/t/rails-noob-math-or-array-issue/109430)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 17, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/rails-noob-math-or-array-issue/109430 "2007-07-17T15:49:24Z")

</div>

Let’s say that below is the math for figuring out a unit in a popular diet program: @fiber = Array.new(@food.fiber, 4) @points = (@food.calories / 50) + (@food.fat / 12) - (@fiber.min / And that for personal use, …

---

## [Fun about inspect](https://www.ruby-forum.com/t/fun-about-inspect/107866)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 4\
**Last updated:** [June 27, 2007, 3:48pm UTC](https://www.ruby-forum.com/t/fun-about-inspect/107866 "2007-06-27T15:48:07Z")

</div>

Hi all. By some complex reasons, I’ve made an interesting conclusion: for “serializable” types it’s always good to have eval(obj.inspect) == obj For me it was a good thought, because previously, I’ve always doubt what …

---

## [Tooltip libraries?](https://www.ruby-forum.com/t/tooltip-libraries/107525)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 4\
**Last updated:** [June 22, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/tooltip-libraries/107525 "2007-06-22T19:24:11Z")

</div>

this may be a little off-topic, so i apologize in advance if this is the wrong place to post my question. i’m trying to find a good library for using small tooltip popups with javascript. i’m specifically looking for …

---

## [Re: Beginner question](https://www.ruby-forum.com/t/re-beginner-question/104481)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 18, 2007, 5:25pm UTC](https://www.ruby-forum.com/t/re-beginner-question/104481 "2007-05-18T17:25:39Z")

</div>

I guess I did not ask my question very clearly. Sorry about that. What does the “#{ }” do for you? I think what I am missing is the feature provided by having that as a wrapper vs bare. Does that make sense? Thanks …

---

## [Newby (how to save information of two tables in a single dat](https://www.ruby-forum.com/t/newby-how-to-save-information-of-two-tables-in-a-single-dat/77145)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/newby-how-to-save-information-of-two-tables-in-a-single-dat/77145 "2006-11-24T20:24:36Z")

</div>

Hello, I'm very new on rails, I discovered it last week so, sorry if my question are stupid, I am wainting for some books on rails, read some documentation but can’t solve this problems. I imported gem for autentica…

---

## [Define\_method confusery](https://www.ruby-forum.com/t/define-method-confusery/70360)

<div class="topic-metadata">

**Author:** [@mjcharl](https://www.ruby-forum.com/u/mjcharl)\
**Replies:** 4\
**Last updated:** [September 28, 2006, 11:32pm UTC](https://www.ruby-forum.com/t/define-method-confusery/70360 "2006-09-28T23:32:01Z")

</div>

So I have some code which adds a method to a class based on user input like this: class Klass Do nowt originally end Get the name of a method to add puts “Enter the name of the method to add” $stdout.flush method…

---

## [Method self.a= and a= create different instance variables](https://www.ruby-forum.com/t/method-self-a-and-a-create-different-instance-variables/99826)

<div class="topic-metadata">

**Author:** [@yuesefa](https://www.ruby-forum.com/u/yuesefa)\
**Replies:** 4\
**Last updated:** [July 25, 2006, 9:09pm UTC](https://www.ruby-forum.com/t/method-self-a-and-a-create-different-instance-variables/99826 "2006-07-25T21:09:44Z")

</div>

i try this in irb . irb(main):001:0\> def a=(a) irb(main):002:1\> @a=a irb(main):003:1\> end =\> nil irb(main):004:0\> def a irb(main):005:1\> @a irb(main):006:1\> end =\> nil irb(main):007:0\> a=1 =\> 1 irb(main):0…

---

## [Simplest way to demonstrate a RoR app](https://www.ruby-forum.com/t/simplest-way-to-demonstrate-a-ror-app/64098)

<div class="topic-metadata">

**Author:** [@hariraj](https://www.ruby-forum.com/u/hariraj)\
**Replies:** 4\
**Last updated:** [June 22, 2006, 2:09pm UTC](https://www.ruby-forum.com/t/simplest-way-to-demonstrate-a-ror-app/64098 "2006-06-22T14:09:52Z")

</div>

Hi, I have built a simple RoR application and would like to show it to some friends. I would like to assign a dyndns URI like “myapp.dyndns.org” address to point to the application. As the WEBrick/Mongrel servers ar…

---

## [Creatulator: Before I go and make it myself, does this exist](https://www.ruby-forum.com/t/creatulator-before-i-go-and-make-it-myself-does-this-exist/78371)

<div class="topic-metadata">

**Author:** [@Mason](https://www.ruby-forum.com/u/Mason)\
**Replies:** 4\
**Last updated:** [March 9, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/creatulator-before-i-go-and-make-it-myself-does-this-exist/78371 "2006-03-09T18:14:03Z")

</div>

Basically, on thing that annoys me to no end is that I am constantly having to add things to my model that could just be reflected out by the active record. I use PortGres exclusivly, and I know that there are ways t…

---

## [User engine: Role.count() is zero in tests](https://www.ruby-forum.com/t/user-engine-role-count-is-zero-in-tests/50496)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 4\
**Last updated:** [December 17, 2005, 7:14am UTC](https://www.ruby-forum.com/t/user-engine-role-count-is-zero-in-tests/50496 "2005-12-17T07:14:01Z")

</div>

Subject pretty much says it all. When user\_engine#check\_system\_roles is called, it discovers that Role.count is zero. However using script/console to execute the same query reveals three users. N.b., this does not hap…

---

## [Help with form](https://www.ruby-forum.com/t/help-with-form/97020)

<div class="topic-metadata">

**Author:** [@farocco](https://www.ruby-forum.com/u/farocco)\
**Replies:** 4\
**Last updated:** [December 11, 2005, 11:06pm UTC](https://www.ruby-forum.com/t/help-with-form/97020 "2005-12-11T23:06:22Z")

</div>

Hello, I am getting a application error(rails) when I click the edit button. What am I doing wrong? Thanks Frank \<%= start\_form\_tag :action =\> ‘update’, :id =\> @receipt %\> Patient Information Last Name \<%= …

---

## [Rails Quick loading of changed files](https://www.ruby-forum.com/t/rails-quick-loading-of-changed-files/262589)

<div class="topic-metadata">

**Author:** [@whaleGlider](https://www.ruby-forum.com/u/whaleGlider)\
**Replies:** 0\
**Last updated:** [March 12, 2022, 10:02pm UTC](https://www.ruby-forum.com/t/rails-quick-loading-of-changed-files/262589 "2022-03-12T22:02:41Z")

</div>

I am working on a ruby on rails application and I want to reduce the time it takes to “load” the application after changes are made to a couple of files. What I mean by that is after I make a few changes, in ruby on rail…

---

## [How to forward basic-auth from upstream](https://www.ruby-forum.com/t/how-to-forward-basic-auth-from-upstream/244246)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [March 10, 2016, 5:19pm UTC](https://www.ruby-forum.com/t/how-to-forward-basic-auth-from-upstream/244246 "2016-03-10T17:19:45Z")

</div>

hi list, i have an nginx infront of apaches, and the apacheshold a list of locations with basic-auth. i cannot pass the auth-request from the upstream through nginx to the user, when i access the urls through nginx …

---

## [\[Reminder\]\[jrubyconf.eu\] CFP closes in 1.5 weeks!](https://www.ruby-forum.com/t/reminder-jrubyconf-eu-cfp-closes-in-1-5-weeks/241641)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [April 20, 2015, 10:12pm UTC](https://www.ruby-forum.com/t/reminder-jrubyconf-eu-cfp-closes-in-1-5-weeks/241641 "2015-04-20T22:12:45Z")

</div>

Hi everyone, this is your occasional reminder that JRubyConf.EU is happening on the 31st of July in Potsdam (near Berlin) :slight\_smile: http://2015.jrubyconf.eu/ We are still looking for talks - and I’m sure everyone…

---

## [Error in TestEnv#test\_memory\_leak\_\* on Solaris](https://www.ruby-forum.com/t/error-in-testenv-test-memory-leak-on-solaris/230843)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 8, 2014, 11:42am UTC](https://www.ruby-forum.com/t/error-in-testenv-test-memory-leak-on-solaris/230843 "2014-07-08T11:42:04Z")

</div>

Issue #10010 has been updated by Naohisa G… 以下のように test/ruby/test\_env.rb を実行すると、なぜか、 uninitialized constant EnvUtil::RbConfig (NameError) になります。 実行に使ったrubyはr46751で、svnレポジトリのローカルコピーr46756 の test/ruby/test\_env.rb を相対パス…

---

## [Gnuradio repository error](https://www.ruby-forum.com/t/gnuradio-repository-error/237610)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [November 21, 2013, 3:20am UTC](https://www.ruby-forum.com/t/gnuradio-repository-error/237610 "2013-11-21T03:20:10Z")

</div>

It timeouts even after few attempts. See below. $ git clone --progress gnuradio.git - GNU Radio Cloning into ‘gnuradio’… error: Unable to get pack file http://gnuradio.org/git/gnuradio.git/objects/pack/pack-d0093c65…

---

## [My base.extend does not extend the base](https://www.ruby-forum.com/t/my-base-extend-does-not-extend-the-base/236715)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 27, 2013, 7:18pm UTC](https://www.ruby-forum.com/t/my-base-extend-does-not-extend-the-base/236715 "2013-09-27T19:18:16Z")

</div>

I want to try out extending a class as explained in Include vs Extend in Ruby // RailsTips by John Nunemaker (see the section “A Common Idiom”). Note that I’m NOT talking about Rails. I just want to understand this fe…

---

## [RE: where is the rails 4 branch?](https://www.ruby-forum.com/t/re-where-is-the-rails-4-branch/229592)

<div class="topic-metadata">

**Author:** [@S\_Ahmed](https://www.ruby-forum.com/u/S_Ahmed)\
**Replies:** 3\
**Last updated:** [January 2, 2013, 4:09am UTC](https://www.ruby-forum.com/t/re-where-is-the-rails-4-branch/229592 "2013-01-02T04:09:44Z")

</div>

Where is the rails 4 branch?

---

## [Writing packet payloads to file](https://www.ruby-forum.com/t/writing-packet-payloads-to-file/224565)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 24, 2012, 4:31pm UTC](https://www.ruby-forum.com/t/writing-packet-payloads-to-file/224565 "2012-11-24T16:31:54Z")

</div>

Hello all, I am researching a new coding algorithm. I am transmitting and coding a text file using payload\_tx.py and then write the binary of the packet payload to a file to do offline analysis. I am having trouble w…

---

## [Cant change the string](https://www.ruby-forum.com/t/cant-change-the-string/222727)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 7, 2012, 3:35pm UTC](https://www.ruby-forum.com/t/cant-change-the-string/222727 "2012-09-07T15:35:23Z")

</div>

s=hostname cluster\_name=s.match(/(\\w+?)-\\w+?-(\\d+)/).captures.join.upcase puts cluster\_name Result : BD55 but I want , if hostname starts with BD ,then change it to DK, if hostname starts with CH,(CH57) change it to…

---

## [Rails test environment can't find capybara methods](https://www.ruby-forum.com/t/rails-test-environment-cant-find-capybara-methods/222309)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:06pm UTC](https://www.ruby-forum.com/t/rails-test-environment-cant-find-capybara-methods/222309 "2012-08-27T14:06:30Z")

</div>

I’m trying to include capybara into my RSpec integration tests. It seems to work fine with the Cucumber environment but for some reason it’s giving me issues with the Test environment. Here are the steps I’ve followed…

---

## [Would you merge repeating code even when it gets more complex?](https://www.ruby-forum.com/t/would-you-merge-repeating-code-even-when-it-gets-more-complex/222305)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:00pm UTC](https://www.ruby-forum.com/t/would-you-merge-repeating-code-even-when-it-gets-more-complex/222305 "2012-08-27T14:00:56Z")

</div>

Hi, I wrote a module including some instance and class methods with are very similar. That means some lines do exactly the same once for instance and once for class methods. I started to refactor theses methods but th…

---

## [How to edit particular element value from list of xml elements using ruby](https://www.ruby-forum.com/t/how-to-edit-particular-element-value-from-list-of-xml-elements-using-ruby/220577)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 13, 2012, 3:30pm UTC](https://www.ruby-forum.com/t/how-to-edit-particular-element-value-from-list-of-xml-elements-using-ruby/220577 "2012-06-13T15:30:08Z")

</div>

Hi friends, I want to edit for particular elementin xml file.Am using rexml I have the xml file like below in that i want to edit date for only event name"New Year" \<?xml version="1.0" encoding="utf-8"?\> …

---

## [RoR Developer for Munich - Germany based Company wanted! Permanent Position!](https://www.ruby-forum.com/t/ror-developer-for-munich-germany-based-company-wanted-permanent-position/220223)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 0\
**Last updated:** [June 2, 2012, 2:17pm UTC](https://www.ruby-forum.com/t/ror-developer-for-munich-germany-based-company-wanted-permanent-position/220223 "2012-06-02T14:17:43Z")

</div>

Ruby on Rails Developer - Award Winning Interactive Agency - Munich - Germany My client is an award winning interactive agency based in Munich - Germany. They have been exceptionally financially successful (few can s…

---

## [Routes.rb and configuration over convention](https://www.ruby-forum.com/t/routes-rb-and-configuration-over-convention/217865)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 16, 2012, 4:08pm UTC](https://www.ruby-forum.com/t/routes-rb-and-configuration-over-convention/217865 "2012-03-16T16:08:56Z")

</div>

Hello there, I am new to the rails framework. I have seen that rails uses the “Convention over configuration” philosophy. Then when I create a controller “post\_controller” I have to actually configure it in the route…

---

## [How to sponsor a feature request?](https://www.ruby-forum.com/t/how-to-sponsor-a-feature-request/217629)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 7, 2012, 10:42am UTC](https://www.ruby-forum.com/t/how-to-sponsor-a-feature-request/217629 "2012-03-07T10:42:53Z")

</div>

Hi, I have some interest in being able to use WebDAV in nginx with enough conformance to be able to use it for file sharing (I think this mainly means support for PROPFIND and OPTIONS ?) Is it affordable to either “en…

---

## [View rendering and javascript files](https://www.ruby-forum.com/t/view-rendering-and-javascript-files/217170)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 26, 2012, 2:32am UTC](https://www.ruby-forum.com/t/view-rendering-and-javascript-files/217170 "2012-02-26T02:32:56Z")

</div>

Hi I am noticing my view rendering is getting a bit bogged down as I add more javascript libraries. For each .js file I have, I am seeing this in the console: Started GET “/assets/tinymce/jscripts/tiny\_mce/tiny\_mce.js…

---

## [Why "system" command does not read Ruby output file?](https://www.ruby-forum.com/t/why-system-command-does-not-read-ruby-output-file/216955)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 17, 2012, 6:14pm UTC](https://www.ruby-forum.com/t/why-system-command-does-not-read-ruby-output-file/216955 "2012-02-17T18:14:02Z")

</div>

Hi, I have following script. It works fine except that “system” command does not read output file “tmp\_out.txt”, when I run the script. I do not get any error when I run the script. I expect to see the results of sys…

---

## [Ruby Readline - do something when a key combination is pressed](https://www.ruby-forum.com/t/ruby-readline-do-something-when-a-key-combination-is-pressed/211619)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 21, 2011, 5:04pm UTC](https://www.ruby-forum.com/t/ruby-readline-do-something-when-a-key-combination-is-pressed/211619 "2011-12-21T17:04:25Z")

</div>

Hi, When I use readline, I would like to run an action if a key combination is pressed. Alt + cursor key left Alt + cursor key right In other words, I want the cursor key to do something, but only when it is presse…

---

## [Migration reports success but did not do anything](https://www.ruby-forum.com/t/migration-reports-success-but-did-not-do-anything/213383)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 31, 2011, 11:54pm UTC](https://www.ruby-forum.com/t/migration-reports-success-but-did-not-do-anything/213383 "2011-10-31T23:54:30Z")

</div>

I observed this a few times, but not always happen, and if I down the migration and run again, it often works. My migration is really simple like: Foo.find\_each do |foo| foo.update\_attribute(:bar, “baz”) end Occasi…

---

## [How to host Ruby Rails application in https](https://www.ruby-forum.com/t/how-to-host-ruby-rails-application-in-https/212607)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [October 7, 2011, 11:46pm UTC](https://www.ruby-forum.com/t/how-to-host-ruby-rails-application-in-https/212607 "2011-10-07T23:46:24Z")

</div>

How to make my ruby on rails application to work on with https protocol . My application rails version - 2.3.8 . I use phusion passenger and apache as server . Kindly help me how to make it up .

---

## [FileUtils head-scratcher](https://www.ruby-forum.com/t/fileutils-head-scratcher/212205)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 26, 2011, 2:54pm UTC](https://www.ruby-forum.com/t/fileutils-head-scratcher/212205 "2011-09-26T14:54:31Z")

</div>

In one of my projects I need to move all files and subdirectories in a particular directory up on level. e.g. mv \* … When I wrote this in Ruby using FileUtils, it works the first time but subsequent runs fail and I d…

---

## [Flog 2.5.3 Released](https://www.ruby-forum.com/t/flog-2-5-3-released/212091)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 22, 2011, 7:03am UTC](https://www.ruby-forum.com/t/flog-2-5-3-released/212091 "2011-09-22T07:03:55Z")

</div>

flog version 2.5.3 has been released! http://ruby.sadi.st/ Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in. Changes: 2.5.3 / 2011-09-21 1 mi…

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

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