# Top

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

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

---

## [How to tell Terminal which version of Ruby to use?](https://www.ruby-forum.com/t/how-to-tell-terminal-which-version-of-ruby-to-use/194956)

<div class="topic-metadata">

**Author:** [@shrapnel](https://www.ruby-forum.com/u/shrapnel)\
**Replies:** 4\
**Last updated:** [September 15, 2010, 5:50pm UTC](https://www.ruby-forum.com/t/how-to-tell-terminal-which-version-of-ruby-to-use/194956 "2010-09-15T17:50:37Z")

</div>

Hello, I have two entry level questions that I was hoping someone could help out with. I recently installed Ruby 1.9.2 on my Mac (running Snow Leopard 10.6.4) and I havenâ€™t been able to figure out how to get Termi…

---

## [Require jdbc\_adapter is very slow](https://www.ruby-forum.com/t/require-jdbc-adapter-is-very-slow/188553)

<div class="topic-metadata">

**Author:** [@rogergue](https://www.ruby-forum.com/u/rogergue)\
**Replies:** 4\
**Last updated:** [May 14, 2010, 7:49am UTC](https://www.ruby-forum.com/t/require-jdbc-adapter-is-very-slow/188553 "2010-05-14T07:49:41Z")

</div>

require 'rubygems 'require ‘jdbc\_adapter’ The above script needs 6 seconds to finish … Is this expected ? Regards Roger To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [ActionMailer attaching generated files](https://www.ruby-forum.com/t/actionmailer-attaching-generated-files/182634)

<div class="topic-metadata">

**Author:** [@creativelogic](https://www.ruby-forum.com/u/creativelogic)\
**Replies:** 4\
**Last updated:** [February 10, 2010, 6:37am UTC](https://www.ruby-forum.com/t/actionmailer-attaching-generated-files/182634 "2010-02-10T06:37:23Z")

</div>

I have a script that is running as a runner script, its job is to find reports that have recently been published and send emails to the users notifying them of the reports. The reports are available online, but are al…

---

## [Ruby and Excel and colour question](https://www.ruby-forum.com/t/ruby-and-excel-and-colour-question/176723)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 4\
**Last updated:** [October 9, 2009, 1:15am UTC](https://www.ruby-forum.com/t/ruby-and-excel-and-colour-question/176723 "2009-10-09T01:15:47Z")

</div>

Dear all, I need to be able to write a file in Excel format, where the fields have different background colours based on some condition which is evaluated based on the entries at runtime. I tried to look at the spre…

---

## [Usare permalink al posto degli id nelle URL](https://www.ruby-forum.com/t/usare-permalink-al-posto-degli-id-nelle-url/169163)

<div class="topic-metadata">

**Author:** [@stanley](https://www.ruby-forum.com/u/stanley)\
**Replies:** 4\
**Last updated:** [May 30, 2009, 9:27pm UTC](https://www.ruby-forum.com/t/usare-permalink-al-posto-degli-id-nelle-url/169163 "2009-05-30T21:27:06Z")

</div>

salve a tutti, sto cercando di usare i permalinks nelle URL, anzichè gli id, almeno per quanto riguarda i tags =P ho trovato questo articolo: http://www.seoonrails.com/even-better-looking-urls-with-permalink\_fu dove…

---

## [Shoes and Mechanize](https://www.ruby-forum.com/t/shoes-and-mechanize/163012)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 4\
**Last updated:** [March 17, 2009, 8:46pm UTC](https://www.ruby-forum.com/t/shoes-and-mechanize/163012 "2009-03-17T20:46:53Z")

</div>

Did mechanize switch to Nokogiri? Shoes.setup do gem ‘mechanize’ end Fails miserably: ERROR: Failed to build gem native extension. /tmp/selfgz9016/shoes --ruby extconf.rb setup.rb /tmp/selfgz9016/shoes-bin: no suc…

---

## [Route\_for](https://www.ruby-forum.com/t/route-for/162352)

<div class="topic-metadata">

**Author:** [@hayafirst](https://www.ruby-forum.com/u/hayafirst)\
**Replies:** 4\
**Last updated:** [March 9, 2009, 5:53am UTC](https://www.ruby-forum.com/t/route-for/162352 "2009-03-09T05:53:07Z")

</div>

Get restful-authentication and rspec trunk from github. And a couple tests fail. One of them is this assertion: route\_for(:controller =\> ‘users’, :action =\> ‘destroy’, :id =\> ‘1’).should == “/users/1” error msg is: …

---

## [No method error - nil object](https://www.ruby-forum.com/t/no-method-error-nil-object/161864)

<div class="topic-metadata">

**Author:** [@neubyr](https://www.ruby-forum.com/u/neubyr)\
**Replies:** 4\
**Last updated:** [March 3, 2009, 9:11am UTC](https://www.ruby-forum.com/t/no-method-error-nil-object/161864 "2009-03-03T09:11:57Z")

</div>

I am getting following error: ################################################## NoMethodError in TopicsController#show You have a nil object when you didn’t expect it! The error occurred while evaluating nil.items …

---

## [\[OT\] please prefix your subject lines](https://www.ruby-forum.com/t/ot-please-prefix-your-subject-lines/158006)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [January 18, 2009, 9:34am UTC](https://www.ruby-forum.com/t/ot-please-prefix-your-subject-lines/158006 "2009-01-18T09:34:02Z")

</div>

Hi all, Our list has grown to encompass a variety of broad subjects, and it would help people to improve their own personal signal-to-noise ratios if we all started prefixing our subject lines. The excerpt below was …

---

## [99.respond\_to? :dup ==\> true](https://www.ruby-forum.com/t/99-respond-to-dup-true/157567)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 4\
**Last updated:** [January 13, 2009, 9:05am UTC](https://www.ruby-forum.com/t/99-respond-to-dup-true/157567 "2009-01-13T09:05:35Z")

</div>

I have values of various datatypes coming into this method and the method does a dup, since it modifies the values and obviously does not want to change the original. However, Fixnum’s do respond to :dup but give an e…

---

## [Help: A copy of ModelSecurity has been removed from the module tree but is still active!](https://www.ruby-forum.com/t/help-a-copy-of-modelsecurity-has-been-removed-from-the-module-tree-but-is-still-active/148439)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 4\
**Last updated:** [September 16, 2008, 3:39pm UTC](https://www.ruby-forum.com/t/help-a-copy-of-modelsecurity-has-been-removed-from-the-module-tree-but-is-still-active/148439 "2008-09-16T15:39:14Z")

</div>

Hi all, I’m posting this in the hope that someone who understands rails dependencies can shed some light. I’ve implemented a “ModelSecurity” module in the vein of Bruce Peren’s old ModelSecurity plugin (http://rubyfor…

---

## [What the best rails Content Management System at the moment?](https://www.ruby-forum.com/t/what-the-best-rails-content-management-system-at-the-moment/144689)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 4\
**Last updated:** [August 2, 2008, 9:40am UTC](https://www.ruby-forum.com/t/what-the-best-rails-content-management-system-at-the-moment/144689 "2008-08-02T09:40:31Z")

</div>

Hi, What the best rails Content Management System at the moment? What should I look at… Tks

---

## [Not able to send request to radiotime webservice](https://www.ruby-forum.com/t/not-able-to-send-request-to-radiotime-webservice/138651)

<div class="topic-metadata">

**Author:** [@frnd4gan](https://www.ruby-forum.com/u/frnd4gan)\
**Replies:** 4\
**Last updated:** [May 26, 2008, 12:36pm UTC](https://www.ruby-forum.com/t/not-able-to-send-request-to-radiotime-webservice/138651 "2008-05-26T12:36:06Z")

</div>

Hello All, am new to RoR,I want to convert one of my PHP application to RoR. I want to sent request search\_ByQuery method of radiotime webservice ( http://wiki.radiotime.com/doku.php?id=dev:doc:webservice:guide:start …

---

## [Extract Class and Rails model objects](https://www.ruby-forum.com/t/extract-class-and-rails-model-objects/123677)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 4\
**Last updated:** [December 20, 2007, 12:33am UTC](https://www.ruby-forum.com/t/extract-class-and-rails-model-objects/123677 "2007-12-20T00:33:06Z")

</div>

Do you ever break up a large rails model class into smaller classes for the sake of just having smaller classes? I have a user model class that is growing in number of attributes quite quickly. A part of me thinks I…

---

## [Tx\_chain - Verilog question](https://www.ruby-forum.com/t/tx-chain-verilog-question/121723)

<div class="topic-metadata">

**Author:** [@Ronald\_J](https://www.ruby-forum.com/u/Ronald_J)\
**Replies:** 4\
**Last updated:** [December 1, 2007, 12:30am UTC](https://www.ruby-forum.com/t/tx-chain-verilog-question/121723 "2007-12-01T00:30:53Z")

</div>

Hi, My questions is regarding tx\_chain.v. I am a bit confused as to how the flow of the code would proceed. There is no “always” statement in the code. First, two instances of cic\_interp are instantiated .i.e. cic\_…

---

## [RAILS Views: entering NULL](https://www.ruby-forum.com/t/rails-views-entering-null/109574)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 18, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/rails-views-entering-null/109574 "2007-07-18T19:01:31Z")

</div>

I have looked around the net and can’t find the answer to this question. I have a date column that is allowed to be null. How do I allow the user to enter a null date in the form? Old hand at Ruby, new to RAILS…

---

## [Dynamic layout](https://www.ruby-forum.com/t/dynamic-layout/106968)

<div class="topic-metadata">

**Author:** [@jakedgr8](https://www.ruby-forum.com/u/jakedgr8)\
**Replies:** 4\
**Last updated:** [June 16, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/dynamic-layout/106968 "2007-06-16T14:11:31Z")

</div>

Well I’m new to Ruby on Rails and actually new to implementing xhtml layout into my apps. So right now I’m making each page a layout, but the layout is the same xhtml for every single page. The problem is I have a men…

---

## [Practical ruby console on windows?](https://www.ruby-forum.com/t/practical-ruby-console-on-windows/106313)

<div class="topic-metadata">

**Author:** [@Kiripolszky\_KSSSSro](https://www.ruby-forum.com/u/Kiripolszky_KSSSSro)\
**Replies:** 4\
**Last updated:** [June 13, 2007, 8:38pm UTC](https://www.ruby-forum.com/t/practical-ruby-console-on-windows/106313 "2007-06-13T20:38:08Z")

</div>

Ehlo, I’m just wondering if there’s any good console for Ruby on Windows? Mine is a Hungarian system and when I use irb from the win console I just can’t enter asterisks and some other chars, on the other hand fxri i…

---

## [Block of text method to make "..."](https://www.ruby-forum.com/t/block-of-text-method-to-make/104647)

<div class="topic-metadata">

**Author:** [@jko170](https://www.ruby-forum.com/u/jko170)\
**Replies:** 4\
**Last updated:** [May 21, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/block-of-text-method-to-make/104647 "2007-05-21T19:37:40Z")

</div>

What action view method turns this: asdf asdf aslkj flkjasdfljf lkasdf asdlfkjsd flkajsdf ldkffljasf aslkfj asldfkjasdf nlfkajlskf lasdfkjaslfdj asl;fkaslf asdlfsalf Into this: asdf asdf aslkj flkjasdfljf lkasdf … …

---

## [Extending Models in Extensions](https://www.ruby-forum.com/t/extending-models-in-extensions/90418)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 4\
**Last updated:** [March 29, 2007, 8:32am UTC](https://www.ruby-forum.com/t/extending-models-in-extensions/90418 "2007-03-29T08:32:25Z")

</div>

Hi Folks… Longtime Radiant user, just getting started with Mental Extensions. I am creating an extension for posting and managing Comments. I’ve created the Comment model, my controllers, and views in the new Extensi…

---

## [:includes with condition - accessing ids](https://www.ruby-forum.com/t/includes-with-condition-accessing-ids/88691)

<div class="topic-metadata">

**Author:** [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Replies:** 4\
**Last updated:** [March 13, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/includes-with-condition-accessing-ids/88691 "2007-03-13T21:27:57Z")

</div>

I’m quite new to Rails and I’ve come up against a little problem which hopefully you guys can shed some light on. I have a multiple select form element, populated with OIDs associated with a given network devices (I’m…

---

## [Automatically generated files still under version control](https://www.ruby-forum.com/t/automatically-generated-files-still-under-version-control/85393)

<div class="topic-metadata">

**Author:** [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Replies:** 4\
**Last updated:** [February 13, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/automatically-generated-files-still-under-version-control/85393 "2007-02-13T18:12:26Z")

</div>

Hi, I commited some changes that I made over the last couple of days to gr-trellis (make distcheck works fine). I realized that some files in gr-trellis/src/lib are still under version control, while they are not sup…

---

## [No entries in log files](https://www.ruby-forum.com/t/no-entries-in-log-files/70800)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 4\
**Last updated:** [October 3, 2006, 5:33pm UTC](https://www.ruby-forum.com/t/no-entries-in-log-files/70800 "2006-10-03T17:33:58Z")

</div>

Ok, this is odd. I had switched Radiant to use production mode, and now I’m not seeing any access entries written to any log file - either Apache’s log in /var/log/apache2/access.log, nor any of the rails log files in…

---

## [Problem with elsif](https://www.ruby-forum.com/t/problem-with-elsif/100089)

<div class="topic-metadata">

**Author:** [@pipogol](https://www.ruby-forum.com/u/pipogol)\
**Replies:** 4\
**Last updated:** [July 27, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/problem-with-elsif/100089 "2006-07-27T18:52:24Z")

</div>

hi! i have a little problem, im working with permissions, so if u are a normal user, u can only view something and admins can view,edit, delete i pick up the level, and then i check up, if the level is right, and the…

---

## [How to pass sorting values between pages](https://www.ruby-forum.com/t/how-to-pass-sorting-values-between-pages/60387)

<div class="topic-metadata">

**Author:** [@vor\_lord](https://www.ruby-forum.com/u/vor_lord)\
**Replies:** 4\
**Last updated:** [May 13, 2006, 5:22pm UTC](https://www.ruby-forum.com/t/how-to-pass-sorting-values-between-pages/60387 "2006-05-13T17:22:51Z")

</div>

I have several values that need to get passed on every link on a page that lists items. For example, as the user paginates, I need to keep the current sort value, how many items to display on the page, whether to sho…

---

## [ActiveRecord Validations Not Working](https://www.ruby-forum.com/t/activerecord-validations-not-working/222837)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [September 13, 2012, 7:34am UTC](https://www.ruby-forum.com/t/activerecord-validations-not-working/222837 "2012-09-13T07:34:44Z")

</div>

Hi all i am learning Rails3.2.7 but by ActiveRecords Validations are not working. These are my User.rb class User \< ActiveRecord::Base attr\_accessible :password, :fullname,:user\_name ,:email,:company\_name#,:terms\_of…

---

## ["bundle install" fails because of git gem](https://www.ruby-forum.com/t/bundle-install-fails-because-of-git-gem/210374)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 7, 2011, 6:34pm UTC](https://www.ruby-forum.com/t/bundle-install-fails-because-of-git-gem/210374 "2011-08-07T18:34:35Z")

</div>

Hey everyone, I’m having an incredibly difficult time getting bundle to work properly on my production server. My production server setup: Ubuntu 10.04 Ruby 1.9.2p290 Rails 3.0.4 Passenger rvm 1.6.32 My Gemfile …

---

## [Rails and Android/IoS](https://www.ruby-forum.com/t/rails-and-android-ios/208076)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [June 9, 2011, 7:15pm UTC](https://www.ruby-forum.com/t/rails-and-android-ios/208076 "2011-06-09T19:15:18Z")

</div>

Hi guys, I am currently developing a web app and a mobile app with pretty much the same guts. As we all know, entering ‘rails s’ will allow me to pull the site up in my local browser at ‘localhost:3000’. Is there any…

---

## [Save query string parameter value to database](https://www.ruby-forum.com/t/save-query-string-parameter-value-to-database/206688)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 7, 2011, 4:53pm UTC](https://www.ruby-forum.com/t/save-query-string-parameter-value-to-database/206688 "2011-05-07T16:53:58Z")

</div>

hi, I search google for this question but i did not find any solution for that. I want to save parameter value to database. this parameter send by url. for example: http://simple-beach-416.heroku.com/code/restserver…

---

## [Obtaining specific .csv data (one data at a time)](https://www.ruby-forum.com/t/obtaining-specific-csv-data-one-data-at-a-time/202387)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 2, 2011, 9:42am UTC](https://www.ruby-forum.com/t/obtaining-specific-csv-data-one-data-at-a-time/202387 "2011-02-02T09:42:53Z")

</div>

Im using the following code: class Target \< Struct.new(:question) #Struct.new(:action, :blank, :cost, :status, :due\_date, :responsibility) def print\_csv\_record # use the ternary operator to use one output format or…

---

## [Flash message doesn't show up](https://www.ruby-forum.com/t/flash-message-doesnt-show-up/193673)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 6\
**Last updated:** [August 22, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/flash-message-doesnt-show-up/193673 "2010-08-22T16:19:35Z")

</div>

In the controller method I have the following: def create @adv = Adv.new(params\[:adv\]) @adv.save flash\[:notice\] = “Advertisement successfully created” redirect\_to “/advs/#{@adv.id}” end When I create a new “Adv”, …

---

## [Newbie question: Where do I update the CRUD statements (if they exist)?](https://www.ruby-forum.com/t/newbie-question-where-do-i-update-the-crud-statements-if-they-exist/182361)

<div class="topic-metadata">

**Author:** [@Souschef](https://www.ruby-forum.com/u/Souschef)\
**Replies:** 6\
**Last updated:** [January 30, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/newbie-question-where-do-i-update-the-crud-statements-if-they-exist/182361 "2010-01-30T13:44:36Z")

</div>

I’ve added a foreign key to a table (specifically, user\_Id to my projects table so I can select ‘myprojects’) and now when I add a project, the user\_id is not being saved in the projects table. In a former life, I wo…

---

## [Interfacing GNU Radio with RF digitizer product](https://www.ruby-forum.com/t/interfacing-gnu-radio-with-rf-digitizer-product/182421)

<div class="topic-metadata">

**Author:** [@Catalin\_P](https://www.ruby-forum.com/u/Catalin_P)\
**Replies:** 6\
**Last updated:** [January 28, 2010, 8:17pm UTC](https://www.ruby-forum.com/t/interfacing-gnu-radio-with-rf-digitizer-product/182421 "2010-01-28T20:17:40Z")

</div>

Hi everyone, I’m working with ThinkRF (www.thinkrf.com) to implement a GNU Radio backend for their “WSA1000E Remote RF Digitizer” product (http://www.thinkrf.com/wsa1000e.html). Their product is (internally) very sim…

---

## [Possible to use svn as file system in rails application?](https://www.ruby-forum.com/t/possible-to-use-svn-as-file-system-in-rails-application/178557)

<div class="topic-metadata">

**Author:** [@murraj](https://www.ruby-forum.com/u/murraj)\
**Replies:** 6\
**Last updated:** [November 7, 2009, 7:20pm UTC](https://www.ruby-forum.com/t/possible-to-use-svn-as-file-system-in-rails-application/178557 "2009-11-07T19:20:23Z")

</div>

Hello All, In my rails application users can upload the files. At present i am using the file system as storage.( I don’t use any of the plugin such as acts\_as\_attachment or attachment\_fu) My new requirement is to us…

---

## [Quick questions on extensions/overrides](https://www.ruby-forum.com/t/quick-questions-on-extensions-overrides/174198)

<div class="topic-metadata">

**Author:** [@BallaBall](https://www.ruby-forum.com/u/BallaBall)\
**Replies:** 6\
**Last updated:** [August 23, 2009, 3:20am UTC](https://www.ruby-forum.com/t/quick-questions-on-extensions-overrides/174198 "2009-08-23T03:20:58Z")

</div>

Say I want to extend/override a method on something like ActionController. Where should I put this “monkeypatch”? Currently I am putting it in config/initializers but Im thinking there is a better place. Thanks

---

## [Query returning just one value](https://www.ruby-forum.com/t/query-returning-just-one-value/167192)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 6\
**Last updated:** [May 5, 2009, 3:02pm UTC](https://www.ruby-forum.com/t/query-returning-just-one-value/167192 "2009-05-05T15:02:35Z")

</div>

I am using INNER JOIN and it is supposed to return more than one results but it only returns first element. How do I get all elements in an array? Also, in the same query I am using another INNER JOIN that is supposed …

---

## [NginxHttpSecureLinkModule](https://www.ruby-forum.com/t/nginxhttpsecurelinkmodule/167131)

<div class="topic-metadata">

**Author:** [@Payam\_C](https://www.ruby-forum.com/u/Payam_C)\
**Replies:** 6\
**Last updated:** [May 5, 2009, 8:26am UTC](https://www.ruby-forum.com/t/nginxhttpsecurelinkmodule/167131 "2009-05-05T08:26:51Z")

</div>

Hey, Is there a way where you can re-write and allow the secure link to function for “/” ? I know the module states that it must not be / however, there has to be around this or better questions, why must this only b…

---

## [JRuby on Rails on Google App Engine](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/165008)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 6\
**Last updated:** [April 9, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-on-google-app-engine/165008 "2009-04-09T19:46:28Z")

</div>

Hi friends, As you might have heard, Google has released support for Java on App Engine. I’ve been part of a preview, and know that JRuby, Ruby on Rails and Merb works very well on it. More information here: http:/…

---

## [Rails + validations -- place them in application.rb?](https://www.ruby-forum.com/t/rails-validations-place-them-in-application-rb/164869)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 7, 2009, 9:41am UTC](https://www.ruby-forum.com/t/rails-validations-place-them-in-application-rb/164869 "2009-04-07T09:41:29Z")

</div>

I need to put a set of validations in a place that can be accessed by multiple controllers… do I just place them in application.rb? Thanks, Josh

---

## [How to get controller output in functional test](https://www.ruby-forum.com/t/how-to-get-controller-output-in-functional-test/162839)

<div class="topic-metadata">

**Author:** [@Commander\_J](https://www.ruby-forum.com/u/Commander_J)\
**Replies:** 6\
**Last updated:** [March 15, 2009, 1:21pm UTC](https://www.ruby-forum.com/t/how-to-get-controller-output-in-functional-test/162839 "2009-03-15T13:21:02Z")

</div>

Hi, How do you get the rendered output (sent to the browser) in a controller functional test? I searched for this, and tried things like @content\_for\_layout @response.template.content\_for\_layout yield yield :layou…

---

## [Testing time-dependent named\_scopes](https://www.ruby-forum.com/t/testing-time-dependent-named-scopes/151544)

<div class="topic-metadata">

**Author:** [@sven](https://www.ruby-forum.com/u/sven)\
**Replies:** 6\
**Last updated:** [October 22, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/testing-time-dependent-named-scopes/151544 "2008-10-22T19:03:34Z")

</div>

Suppose I have the following model, which defines a named\_scope that filters out some instances based on the current time: class Post \< ActiveRecord::Base named\_scope :current, lambda { { :conditions =\> \[‘do\_not\_show…

---

## [Nginx and rails configuration question](https://www.ruby-forum.com/t/nginx-and-rails-configuration-question/133680)

<div class="topic-metadata">

**Author:** [@coriordan](https://www.ruby-forum.com/u/coriordan)\
**Replies:** 6\
**Last updated:** [April 7, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/nginx-and-rails-configuration-question/133680 "2008-04-07T17:43:09Z")

</div>

Hi, I’m trying to configure nginx to serve multiple rails applications, each from its own path. app1 is accessible from ‘/’ and app2 is accessible from ‘/app2’. In my configuration I’ve defined two location’s as fol…

---

## [Challenge: Extract episode descriptions](https://www.ruby-forum.com/t/challenge-extract-episode-descriptions/126536)

<div class="topic-metadata">

**Author:** [@stedwick](https://www.ruby-forum.com/u/stedwick)\
**Replies:** 6\
**Last updated:** [January 21, 2008, 11:35pm UTC](https://www.ruby-forum.com/t/challenge-extract-episode-descriptions/126536 "2008-01-21T23:35:33Z")

</div>

This is just a whimsical question, really. I’ve been working on a website where people can vote on episodes of TV shows (and I happen to be a big Star Trek fan, so I’m starting there ha ha). By the way, the website is…

---

## [Using if block\_given? method](https://www.ruby-forum.com/t/using-if-block-given-method/122786)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 6\
**Last updated:** [December 13, 2007, 9:35am UTC](https://www.ruby-forum.com/t/using-if-block-given-method/122786 "2007-12-13T09:35:20Z")

</div>

Hi everybody, I have created a simple parser. i have used @tag method to store tag start and tag end. my requirement is how to read attributes and its values when it has more than one attributes like, This is the inp…

---

## [Installing bleak house on osx](https://www.ruby-forum.com/t/installing-bleak-house-on-osx/119089)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 6\
**Last updated:** [November 13, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/installing-bleak-house-on-osx/119089 "2007-11-13T19:42:43Z")

</div>

anyone else gotten this? cfp:~ \> sudo gem install bleak\_house Password: Install required dependency ccsv? \[Yn\] y Building native extensions. This could take a while… Building native extensions. This could take …

---

## [RSTRING(value)-\>ptr == NULL?](https://www.ruby-forum.com/t/rstring-value-ptr-null/114316)

<div class="topic-metadata">

**Author:** [@Tietew](https://www.ruby-forum.com/u/Tietew)\
**Replies:** 6\
**Last updated:** [September 23, 2007, 10:26am UTC](https://www.ruby-forum.com/t/rstring-value-ptr-null/114316 "2007-09-23T10:26:58Z")

</div>

Tietew e$B$G$9!#e(B RString::ptr e$B$,e(B NULL e$B$Je(B String e$B$r%i%$%V%i%j$KEO$7$?:\]$Ke(B SEGV e$B$re(B e$B5/$3$9$3$H$,$"$j$^$9!#e(B e$B6qBNE\*$K$ONc$($Pe(B require ‘rubygems’ require ‘idn’ IDN::Idna.toASCII(" …

---

## [\[ANN\] Sphincter 1.1.0 Released](https://www.ruby-forum.com/t/ann-sphincter-1-1-0-released/112002)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 6\
**Last updated:** [September 18, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/ann-sphincter-1-1-0-released/112002 "2007-09-18T22:23:52Z")

</div>

Sphincter version 1.1.0 has been released! http://seattlerb.org/Sphincter Sphincter uses Dmytro Shteflyuk’s sphinx Ruby API and automatic configuration to make totally rad ActiveRecord searching. Well, you still ha…

---

## [Installing FreeImage/ImageScience?](https://www.ruby-forum.com/t/installing-freeimage-imagescience/86822)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 6\
**Last updated:** [August 29, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/installing-freeimage-imagescience/86822 "2007-08-29T15:51:36Z")

</div>

Is it possible to install and use FreeImage and ImageScience on my local Windows XP machine as well as my remote Linux Rails host? I’d love to use a more efficient solution than RMagick but I’m a little mystified at t…

---

## [Dir.mktmpdir for 1.8](https://www.ruby-forum.com/t/dir-mktmpdir-for-1-8/112347)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 6\
**Last updated:** [August 21, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/dir-mktmpdir-for-1-8/112347 "2007-08-21T13:45:07Z")

</div>

Dir.mktmpdir e$B$re(B 1.8 e$B$KF~$l$?$$$s$G$9$,!"$I$&$G$7$g$&e(B? e$B$=$l$O$=$l$H$7$F!"e(B1.8 e$B$G5!G=3HD%$9$k$K$OC/$NN;2r$rF@$l$P$$$$e(B e$B$s$G$7$?$C$1e(B? NEWS e$B$r=q$/$H$$$&$N$O3P$($F$$$k$s$G$9$,!#e(B

---

## [Link\_to issues with I.E](https://www.ruby-forum.com/t/link-to-issues-with-i-e/104802)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 6\
**Last updated:** [May 30, 2007, 2:36am UTC](https://www.ruby-forum.com/t/link-to-issues-with-i-e/104802 "2007-05-30T02:36:05Z")

</div>

I have a problem with I.E 6 & 7 I have a link with :popup =\> true, and sometimes (but not all the time) the window will pop up in a new window and open up in the same window. You can check it out http://www.showsinlas…

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

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