# Top

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

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

---

## [Application Helper and Javascript](https://www.ruby-forum.com/t/application-helper-and-javascript/53115)

<div class="topic-metadata">

**Author:** [@Dylan\_S](https://www.ruby-forum.com/u/Dylan_S)\
**Replies:** 3\
**Last updated:** [January 25, 2006, 10:35pm UTC](https://www.ruby-forum.com/t/application-helper-and-javascript/53115 "2006-01-25T22:35:19Z")

</div>

I have a “javascript\_include\_tag” including a Javascript function. I have a function being invoked via a helper in the same view, which prints out a script tag that uses the javascript function above. Problem is, the…

---

## [What this line means exactly? (@@active\_connections ||= {})](https://www.ruby-forum.com/t/what-this-line-means-exactly-active-connections/96828)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 3\
**Last updated:** [January 25, 2006, 1:14am UTC](https://www.ruby-forum.com/t/what-this-line-means-exactly-active-connections/96828 "2006-01-25T01:14:02Z")

</div>

Hi, I have problem to understand this line does exactly? this is from the class ConnectionSpecficication, methode “active\_connections” def self.active\_connections #:nodoc: if allow\_concurrency Thread.current\[‘activ…

---

## [Cookbook recipes eg - ordering categories in the recipe pull](https://www.ruby-forum.com/t/cookbook-recipes-eg-ordering-categories-in-the-recipe-pull/51714)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 3\
**Last updated:** [January 6, 2006, 2:50pm UTC](https://www.ruby-forum.com/t/cookbook-recipes-eg-ordering-categories-in-the-recipe-pull/51714 "2006-01-06T14:50:36Z")

</div>

People, I can order categories when looking at the categories list page but how do I change the recipe page to list the categories in alpha order in the recipe pull-down box?: Category: \<% @categories.each …

---

## [Object graphs](https://www.ruby-forum.com/t/object-graphs/74179)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 3\
**Last updated:** [December 22, 2005, 4:50pm UTC](https://www.ruby-forum.com/t/object-graphs/74179 "2005-12-22T16:50:00Z")

</div>

Guys, I’m designing an application currently that will ultimately be implemented in either Rails or php5 (most likely Rails). While I’ve coded many PHP (pre-5) applications in the past, OO support was so weak that …

---

## [Log file analyzer](https://www.ruby-forum.com/t/log-file-analyzer/49877)

<div class="topic-metadata">

**Author:** [@michael.ulm](https://www.ruby-forum.com/u/michael.ulm)\
**Replies:** 3\
**Last updated:** [December 9, 2005, 11:23pm UTC](https://www.ruby-forum.com/t/log-file-analyzer/49877 "2005-12-09T23:23:02Z")

</div>

I want to analyze a log file using ruby. What is the most Ruby-like method to check the file for new entries (they will be appended to the file) and then get those new entries into the system? I have a feeling that t…

---

## [Adding confirmed to a nearly complete rails application](https://www.ruby-forum.com/t/adding-confirmed-to-a-nearly-complete-rails-application/217830)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 14, 2012, 10:57pm UTC](https://www.ruby-forum.com/t/adding-confirmed-to-a-nearly-complete-rails-application/217830 "2012-03-14T22:57:23Z")

</div>

I am coming to the end of my rails project now and I have done everything I wish to do apart from confirm the users account through email before creating it. I already have it to send an email to the user but I want t…

---

## [I need advice to desining website with ROR](https://www.ruby-forum.com/t/i-need-advice-to-desining-website-with-ror/206185)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [April 25, 2011, 4:01pm UTC](https://www.ruby-forum.com/t/i-need-advice-to-desining-website-with-ror/206185 "2011-04-25T16:01:23Z")

</div>

I have been learning RoR now for 2 weeks. I want to design a website. How do I set the footer, headers, contents, navigation in RoR ? does any body know a good tutorials for this, something like master page, or templ…

---

## [Railscasts down?](https://www.ruby-forum.com/t/railscasts-down/204180)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 7, 2011, 12:17pm UTC](https://www.ruby-forum.com/t/railscasts-down/204180 "2011-03-07T12:17:27Z")

</div>

I have not been able to get railscasts.com recently, surely it has not been taken down also, along with the wiki. Colin

---

## [Bundler install gems but not in vendor folder](https://www.ruby-forum.com/t/bundler-install-gems-but-not-in-vendor-folder/198551)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 3, 2010, 12:43pm UTC](https://www.ruby-forum.com/t/bundler-install-gems-but-not-in-vendor-folder/198551 "2010-11-03T12:43:16Z")

</div>

Hi to all, i use rails 3. The problem that i am facing is that when i run the command “bundler install” it installs the gems but not in the vendor folder. It installs the in the ruby folder eg. c/ruby/lib/1.8 etc. I …

---

## [Order by not working on all](https://www.ruby-forum.com/t/order-by-not-working-on-all/192406)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 4\
**Last updated:** [July 30, 2010, 5:35am UTC](https://www.ruby-forum.com/t/order-by-not-working-on-all/192406 "2010-07-30T05:35:44Z")

</div>

Car.all.order(“make”) generates an error like “undefined method \`order’ for #Array:0x7fd314476e38” Is this a bug? It seems that it should work. Rails 3.0.0rc.

---

## [Any help on SMS and payment gateway in India](https://www.ruby-forum.com/t/any-help-on-sms-and-payment-gateway-in-india/124414)

<div class="topic-metadata">

**Author:** [@atulxxx](https://www.ruby-forum.com/u/atulxxx)\
**Replies:** 4\
**Last updated:** [March 20, 2010, 10:10am UTC](https://www.ruby-forum.com/t/any-help-on-sms-and-payment-gateway-in-india/124414 "2010-03-20T10:10:44Z")

</div>

Hi, I am developing a ROR application in India, wonder if anyone can suggest good MS and payment gateways + any help on how to integrate them in my application. Also, where do you host a ROR site in India ? Thanks a…

---

## [Paperclip](https://www.ruby-forum.com/t/paperclip/184128)

<div class="topic-metadata">

**Author:** [@Rajinder\_Y](https://www.ruby-forum.com/u/Rajinder_Y)\
**Replies:** 4\
**Last updated:** [February 25, 2010, 4:58pm UTC](https://www.ruby-forum.com/t/paperclip/184128 "2010-02-25T16:58:54Z")

</div>

Hi being relatively new to rails I am trying to start a simple project on using paperclip to upload an image file and create a thumbnail. However I am not sure how to use the rails plug-in? What I did was install pape…

---

## [Optimizing ActiveSupport with native code](https://www.ruby-forum.com/t/optimizing-activesupport-with-native-code/183085)

<div class="topic-metadata">

**Author:** [@mat\_b](https://www.ruby-forum.com/u/mat_b)\
**Replies:** 4\
**Last updated:** [February 7, 2010, 10:49pm UTC](https://www.ruby-forum.com/t/optimizing-activesupport-with-native-code/183085 "2010-02-07T22:49:25Z")

</div>

I’ve had this idea kicking around in my head for a while, and had some time yesterday to start playing around with it: ActiveSupport is heavily used in both the Rails library code and in the application layer of a typ…

---

## [Usrp2\_fft.py hehaves abnormally at a certain decimation rate](https://www.ruby-forum.com/t/usrp2-fft-py-hehaves-abnormally-at-a-certain-decimation-rate/175103)

<div class="topic-metadata">

**Author:** [@ILKYOUNG\_KWOUN](https://www.ruby-forum.com/u/ILKYOUNG_KWOUN)\
**Replies:** 4\
**Last updated:** [October 7, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/usrp2-fft-py-hehaves-abnormally-at-a-certain-decimation-rate/175103 "2009-10-07T14:11:40Z")

</div>

I was in a test with ‘usrp2\_fft.py’ code in the gr-utils directory and found that the program is not running as I expected in certain conditions. I was watching signals running the usrp2 as a spectrum analyzer with th…

---

## [Help in understanding eval function](https://www.ruby-forum.com/t/help-in-understanding-eval-function/174309)

<div class="topic-metadata">

**Author:** [@ravikanth](https://www.ruby-forum.com/u/ravikanth)\
**Replies:** 4\
**Last updated:** [August 25, 2009, 12:20am UTC](https://www.ruby-forum.com/t/help-in-understanding-eval-function/174309 "2009-08-25T00:20:37Z")

</div>

Hi I am new to ruby I am having trouble in understanding the eval function can you suggest me a good reference to look at the various classes and methods available. thanx in advance.

---

## [Strange problem with Rails and Tomcat](https://www.ruby-forum.com/t/strange-problem-with-rails-and-tomcat/173238)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 4\
**Last updated:** [August 5, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/strange-problem-with-rails-and-tomcat/173238 "2009-08-05T15:53:31Z")

</div>

Hi all, IÂ´m having a strange problem in my rails app hosted on Tomcat: The ‘div’ element which stores the validation errors of a model doesnÂ´t seem to be ‘refreshed’ after each request,so I end up with the following …

---

## [Object.collections.include? a](https://www.ruby-forum.com/t/object-collections-include-a/173129)

<div class="topic-metadata">

**Author:** [@mroths](https://www.ruby-forum.com/u/mroths)\
**Replies:** 4\
**Last updated:** [August 4, 2009, 11:35am UTC](https://www.ruby-forum.com/t/object-collections-include-a/173129 "2009-08-04T11:35:46Z")

</div>

My question is about object.collections (AssociationProxy). We all know that it pretends to be an Array, but in reality it’s actually an AssociationProxy. But, Why does it have its own db intensive include? method? E…

---

## [Error while testing validatesformatof](https://www.ruby-forum.com/t/error-while-testing-validatesformatof/172083)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [July 15, 2009, 7:36am UTC](https://www.ruby-forum.com/t/error-while-testing-validatesformatof/172083 "2009-07-15T07:36:42Z")

</div>

Hi I have model Role as validates\_presence\_of :name validates\_presence\_of :description validates\_format\_of :name, :with =\> /\[,\]/ And the test to check format as setup do @role = Factory(:role) #gives :name=\>‘role1…

---

## [Dispatch.fcgi is presented instead of the action](https://www.ruby-forum.com/t/dispatch-fcgi-is-presented-instead-of-the-action/169593)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 4\
**Last updated:** [June 13, 2009, 7:51am UTC](https://www.ruby-forum.com/t/dispatch-fcgi-is-presented-instead-of-the-action/169593 "2009-06-13T07:51:38Z")

</div>

Hi there I am trying to setup my first application on the server and i keep getting the content of dispatch.fcgi after i googled it, i found that i have to have .htaccess which i had in the public folder. you can ch…

---

## [Beginner help/direction](https://www.ruby-forum.com/t/beginner-help-direction/167828)

<div class="topic-metadata">

**Author:** [@michael\_engel](https://www.ruby-forum.com/u/michael_engel)\
**Replies:** 4\
**Last updated:** [May 14, 2009, 4:51am UTC](https://www.ruby-forum.com/t/beginner-help-direction/167828 "2009-05-14T04:51:50Z")

</div>

I just finished reading Chris P.'s “Learn to program” with ruby, and am wondering if you wonderful folks could point me in the right direction to continue my education. The book is fairly basic, and I need more expo…

---

## [Problem trying to restore last visited page](https://www.ruby-forum.com/t/problem-trying-to-restore-last-visited-page/165922)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 4\
**Last updated:** [April 22, 2009, 11:38am UTC](https://www.ruby-forum.com/t/problem-trying-to-restore-last-visited-page/165922 "2009-04-22T11:38:29Z")

</div>

Hello, I have a website that works with remote procedure only. There’s a welcome action that actually renders the website and whenever you click somewhere it only works with “render :update…”. Now I would like to aut…

---

## [What wrong?](https://www.ruby-forum.com/t/what-wrong/163885)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 4\
**Last updated:** [March 27, 2009, 1:47pm UTC](https://www.ruby-forum.com/t/what-wrong/163885 "2009-03-27T13:47:54Z")

</div>

I can’t make this work: http://groups.google.com/group/paperclip-plugin/browse\_thread/thread/c8f58f0a4ef45d20/95e66f07c5722d96?lnk=gst&q=rename#95e66f07c5722d96 Where I have to place this code? Paperclip::Attachment.i…

---

## [Jruby yaml load issue with floats?](https://www.ruby-forum.com/t/jruby-yaml-load-issue-with-floats/160865)

<div class="topic-metadata">

**Author:** [@pradeepgatram](https://www.ruby-forum.com/u/pradeepgatram)\
**Replies:** 4\
**Last updated:** [February 21, 2009, 6:07am UTC](https://www.ruby-forum.com/t/jruby-yaml-load-issue-with-floats/160865 "2009-02-21T06:07:59Z")

</div>

Try this with both MRI and Jruby 1.1.6 (with active support 2.2.2) irb(main):004:0\> require ‘rubygems’ =\> true irb(main):005:0\> require ‘activesupport’ =\> true irb(main):006:0\> YAML.load(YAML.dump(3.0)).eql?(3.0) =\>…

---

## [Query performance boost](https://www.ruby-forum.com/t/query-performance-boost/157869)

<div class="topic-metadata">

**Author:** [@ukarick](https://www.ruby-forum.com/u/ukarick)\
**Replies:** 4\
**Last updated:** [January 18, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/query-performance-boost/157869 "2009-01-18T20:41:20Z")

</div>

I’ve a table with structure like this: id: int field1: varchar(255) field2: int(11) field3: text field4: text field5: varchar(255) field6: varchar(255) assume that this table contains massive contents on field 3 …

---

## [Strange behaviour](https://www.ruby-forum.com/t/strange-behaviour/153454)

<div class="topic-metadata">

**Author:** [@sigvei](https://www.ruby-forum.com/u/sigvei)\
**Replies:** 4\
**Last updated:** [November 17, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/strange-behaviour/153454 "2008-11-17T15:37:59Z")

</div>

I have the following relationships: Document :has\_many Proposals :has\_many ProposalVersions. This fails: Document.first.proposals.first.proposal\_versions.size =\> 0 But this works: Proposal.find(1).proposal\_ve…

---

## [Extended tutorials?](https://www.ruby-forum.com/t/extended-tutorials/151232)

<div class="topic-metadata">

**Author:** [@MHC](https://www.ruby-forum.com/u/MHC)\
**Replies:** 4\
**Last updated:** [October 18, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/extended-tutorials/151232 "2008-10-18T18:11:00Z")

</div>

Hi group Sorry to admit that I’m an “architect” these days. RoR came on my horizon recently and I had to have a look. Great framework, full stop. I built a single-table app and tooled with the css for sexiness and…

---

## [Login from token](https://www.ruby-forum.com/t/login-from-token/150981)

<div class="topic-metadata">

**Author:** [@apie](https://www.ruby-forum.com/u/apie)\
**Replies:** 4\
**Last updated:** [October 16, 2008, 11:28am UTC](https://www.ruby-forum.com/t/login-from-token/150981 "2008-10-16T11:28:39Z")

</div>

Hi I have users sending messages to other users with links in the email. If the users click on the links in the email they go to the message in the app, but invariably they arent logged in and have to do so before g…

---

## [Code Review: RandomRubyFixes01](https://www.ruby-forum.com/t/code-review-randomrubyfixes01/149129)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 4\
**Last updated:** [September 22, 2008, 11:04am UTC](https://www.ruby-forum.com/t/code-review-randomrubyfixes01/149129 "2008-09-22T11:04:11Z")

</div>

tfpt review “/shelveset:RandomRubyFixes01;REDMOND\\curth” Comment : Fix many bugs in Marshal; now passes all but 5 tests Implement Time.\_load and Time.\_dump to support marshaling of Time objects Implement “arity” fu…

---

## [Date store problem in rails 2.0](https://www.ruby-forum.com/t/date-store-problem-in-rails-2-0/146852)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 4\
**Last updated:** [August 26, 2008, 11:50am UTC](https://www.ruby-forum.com/t/date-store-problem-in-rails-2-0/146852 "2008-08-26T11:50:32Z")

</div>

I am facing one strange problem with date\_select tag. I am using it for getting birth date from user. I am using rails 2.0.2, and to save birth date in database, I am using DATETIME as datatype. But when I put year be…

---

## [Pretty 0.3.1 released](https://www.ruby-forum.com/t/pretty-0-3-1-released/146246)

<div class="topic-metadata">

**Author:** [@wujciol](https://www.ruby-forum.com/u/wujciol)\
**Replies:** 4\
**Last updated:** [August 20, 2008, 4:23am UTC](https://www.ruby-forum.com/t/pretty-0-3-1-released/146246 "2008-08-20T04:23:58Z")

</div>

Changes: Code is now using rules files to parse files specified by user Rules fixed Usage: pretty \[-language\] filename(-s) Project now need people who will write rules files for another languages. This is rule file …

---

## [Httperf results with nginx and apache](https://www.ruby-forum.com/t/httperf-results-with-nginx-and-apache/130409)

<div class="topic-metadata">

**Author:** [@wannabe-coder](https://www.ruby-forum.com/u/wannabe-coder)\
**Replies:** 4\
**Last updated:** [February 28, 2008, 6:01pm UTC](https://www.ruby-forum.com/t/httperf-results-with-nginx-and-apache/130409 "2008-02-28T18:01:17Z")

</div>

I am attempting to do a bit of a comparison between nginx and apache using httperf but my results are coming out a little strange. I am running the following against both apache and nginx: httperf --timeout=5 --clien…

---

## [Help with link\_to\_remote](https://www.ruby-forum.com/t/help-with-link-to-remote/127816)

<div class="topic-metadata">

**Author:** [@masch](https://www.ruby-forum.com/u/masch)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 10:59pm UTC](https://www.ruby-forum.com/t/help-with-link-to-remote/127816 "2008-02-01T22:59:41Z")

</div>

Hi!. Is there a way to call to another controller with link\_to\_remote? Something like this: \<%= link\_to\_remote “Tests”, { :controller =\> “tests”, :action =\> “tester” } %\> Salu2…

---

## [Kernel#\` is blocked with Ruby/GLib2 on Intel Mac](https://www.ruby-forum.com/t/kernel-is-blocked-with-ruby-glib2-on-intel-mac/115339)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 4\
**Last updated:** [September 24, 2007, 7:39am UTC](https://www.ruby-forum.com/t/kernel-is-blocked-with-ruby-glib2-on-intel-mac/115339 "2007-09-24T07:39:47Z")

</div>

e$B?\\F#$G$9!#e(B 1.8.6-p110e$B$G$b:F8=$9$k$+$I$&$+$O$o$+$i$J$$$N$G$9$,!"!J$?$V$s!Ke(B Intel Mace$B\>e$Ge(Brequire 'glib2’e$B$7$?\>uBV$Ge(BKernel#\`e$B$r;H$&$H%V%m%Ce(B e$B%/$9$k$\_$?$$$G$9!#e(B require ‘glib2’ date ht…

---

## [Bind to an "as if" superclass context](https://www.ruby-forum.com/t/bind-to-an-as-if-superclass-context/112989)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [August 27, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/bind-to-an-as-if-superclass-context/112989 "2007-08-27T17:08:46Z")

</div>

Is there a way to do the “opposite” of binding a superclass method to the current context? In other words, I want to call a method as if the current binding were an instance of the superclass. For example, using the m…

---

## [Sybase and ruby](https://www.ruby-forum.com/t/sybase-and-ruby/111069)

<div class="topic-metadata">

**Author:** [@vabb\_z](https://www.ruby-forum.com/u/vabb_z)\
**Replies:** 4\
**Last updated:** [August 3, 2007, 12:43pm UTC](https://www.ruby-forum.com/t/sybase-and-ruby/111069 "2007-08-03T12:43:16Z")

</div>

I am trying to configure Sybase and ruby in LINUX but not able to do that. Is it necessary to install Sybase Client on PC ?

---

## [Ruby in cmd](https://www.ruby-forum.com/t/ruby-in-cmd/106960)

<div class="topic-metadata">

**Author:** [@maung](https://www.ruby-forum.com/u/maung)\
**Replies:** 4\
**Last updated:** [June 15, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/ruby-in-cmd/106960 "2007-06-15T20:22:50Z")

</div>

I am new to Ruby and am trying to run a piece of code from Programming Ruby in cmd. When i run in cmd \>ruby Song.rb, I don’t get any output. But I can get the result I expected when I run in irb. Can anyone help me on…

---

## [My app uses a lot of memory](https://www.ruby-forum.com/t/my-app-uses-a-lot-of-memory/106470)

<div class="topic-metadata">

**Author:** [@kay](https://www.ruby-forum.com/u/kay)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 12:56pm UTC](https://www.ruby-forum.com/t/my-app-uses-a-lot-of-memory/106470 "2007-06-11T12:56:36Z")

</div>

Hi guys. My problem is the follow: I use mongrel for my app and in normal use the app use 30 MB +/- of memory, the problem is when one of my funcionality is used, is a query that return a very big amouth of data, and…

---

## [Has\_many :through question](https://www.ruby-forum.com/t/has-many-through-question/90075)

<div class="topic-metadata">

**Author:** [@kule](https://www.ruby-forum.com/u/kule)\
**Replies:** 4\
**Last updated:** [March 28, 2007, 2:31am UTC](https://www.ruby-forum.com/t/has-many-through-question/90075 "2007-03-28T02:31:38Z")

</div>

I have the following setup: class Company \< ActiveRecord::Base has\_many :company\_groups has\_many :groups, :through =\> :company\_groups end class CompanyGroup \< ActiveRecord::Base belongs\_to :company belongs\_to :gr…

---

## [Class Variables for subclases](https://www.ruby-forum.com/t/class-variables-for-subclases/90260)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [March 27, 2007, 5:38am UTC](https://www.ruby-forum.com/t/class-variables-for-subclases/90260 "2007-03-27T05:38:54Z")

</div>

Hey Guys, Check out the following: class A @@anobject = ‘green’ def fun2 @@anobject end end class B \< A @@anobject = ‘blue’ def fun2 @@anobject end end puts B.new.fun2 # blue puts A.new.fun2 # blue S…

---

## [Scalability in RoR ! Please reply ASAP](https://www.ruby-forum.com/t/scalability-in-ror-please-reply-asap/90000)

<div class="topic-metadata">

**Author:** [@Hardik\_Shah](https://www.ruby-forum.com/u/Hardik_Shah)\
**Replies:** 4\
**Last updated:** [March 24, 2007, 11:59pm UTC](https://www.ruby-forum.com/t/scalability-in-ror-please-reply-asap/90000 "2007-03-24T23:59:07Z")

</div>

Hi all, I am right now developing the customized web portal in RoR framework and using MySQL as database. I am facing the problem in terms of no. of users it can support.I am hostong the application on a normal deskt…

---

## [Mini\_magick vs image\_science](https://www.ruby-forum.com/t/mini-magick-vs-image-science/87200)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/mini-magick-vs-image-science/87200 "2007-03-01T16:50:00Z")

</div>

I simply want to resize images. Which is easier to install/use and uses less memory?

---

## [MVC... Issues with Models (2nd attempt at post...previous lo](https://www.ruby-forum.com/t/mvc-issues-with-models-2nd-attempt-at-post-previous-lo/79733)

<div class="topic-metadata">

**Author:** [@vinsonizer](https://www.ruby-forum.com/u/vinsonizer)\
**Replies:** 4\
**Last updated:** [December 18, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/mvc-issues-with-models-2nd-attempt-at-post-previous-lo/79733 "2006-12-18T21:22:23Z")

</div>

I’m new to Ruby and RoR. I written a small app that has gotten my feet wet. I have a question about Models. Controllers, I’m good. Views and Partials, I’m good. Okay, so Models hold data. Models have the ability …

---

## [Clean URL from two text fields](https://www.ruby-forum.com/t/clean-url-from-two-text-fields/75412)

<div class="topic-metadata">

**Author:** [@jkay](https://www.ruby-forum.com/u/jkay)\
**Replies:** 4\
**Last updated:** [November 9, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/clean-url-from-two-text-fields/75412 "2006-11-09T22:46:40Z")

</div>

I have two text fields, first name and last name, that I would like to use as the permalink rather than the ID. How would I combine those two fields to become the permalink? I’ve come across tutorials on how to make o…

---

## [Select e campi integer](https://www.ruby-forum.com/t/select-e-campi-integer/75276)

<div class="topic-metadata">

**Author:** [@sij](https://www.ruby-forum.com/u/sij)\
**Replies:** 4\
**Last updated:** [November 9, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/select-e-campi-integer/75276 "2006-11-09T16:04:20Z")

</div>

Ciao Con questa select \<%= select(:prescription, :frequenza, %w{Seleziona 1 2 3 4 5 6 7}) %\> se il campo frequenza Ã¨ definito come integer in fase di modifica la combo non riporta il valore registrato in db ma com…

---

## [LDAP and DSML](https://www.ruby-forum.com/t/ldap-and-dsml/68068)

<div class="topic-metadata">

**Author:** [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Replies:** 4\
**Last updated:** [September 10, 2006, 3:32pm UTC](https://www.ruby-forum.com/t/ldap-and-dsml/68068 "2006-09-10T15:32:46Z")

</div>

All, does anyone use the Oasis DSML standard? It’s a mapping between standard LDAP/LDIF operations and data structures to XML. There are some Java tools that handle DSML. I just saw a requirement for accessing an LDAP …

---

## [Migration newbie](https://www.ruby-forum.com/t/migration-newbie/65371)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 4\
**Last updated:** [August 17, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/migration-newbie/65371 "2006-08-17T21:52:46Z")

</div>

In an migration file there is one up and one down method. Below is from Agile Web D. with Rails: class CreateOrderHistories \< ActiveRecord::Migration def self.up create\_table :order\_histories do |t| t.column :order\_…

---

## [ERb question: Embedding \<%= %\> in helper method calls](https://www.ruby-forum.com/t/erb-question-embedding-in-helper-method-calls/97406)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [July 6, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/erb-question-embedding-in-helper-method-calls/97406 "2006-07-06T23:27:12Z")

</div>

I had a situation where I wanted to use a \<%= %\> (scriptlet) in my text\_field call to set the “disabled” attribute on the text field, like so: \<%= text\_field(:current\_job, ‘removeLinkPos’, :value =\> ‘’, :id =\> ‘offse…

---

## [Exception handling](https://www.ruby-forum.com/t/exception-handling/61985)

<div class="topic-metadata">

**Author:** [@nigelh](https://www.ruby-forum.com/u/nigelh)\
**Replies:** 4\
**Last updated:** [May 30, 2006, 4:27pm UTC](https://www.ruby-forum.com/t/exception-handling/61985 "2006-05-30T16:27:01Z")

</div>

I have a(nother) question concerning exception handling. My code retrieves stock data from yahoo like this. require ‘yahoofinance’ tickers = File.new("/home/nigels/financials/symbols") tickers.each\_line do |ticker| …

---

## [Weird error](https://www.ruby-forum.com/t/weird-error/94885)

<div class="topic-metadata">

**Author:** [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Replies:** 4\
**Last updated:** [May 17, 2006, 4:21am UTC](https://www.ruby-forum.com/t/weird-error/94885 "2006-05-17T04:21:05Z")

</div>

What does this mean? (eval):1:in \`compute\_type’: compile error (eval):1: parse error, unexpected tINTEGER Object::0 ^ Anyone know? Any help counts! Thanks in advance, Mohammad(Programmer-22)

---

## [Has render\_component changed?](https://www.ruby-forum.com/t/has-render-component-changed/57431)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 4\
**Last updated:** [April 11, 2006, 8:33am UTC](https://www.ruby-forum.com/t/has-render-component-changed/57431 "2006-04-11T08:33:53Z")

</div>

I have an application that worked fine, but after the recent updates has broken in some calls to render\_component from views. I might be missing something but as far as I remember Rails updates is the only thing I’ve …

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

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