# Top

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

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

---

## [Newbie Problem](https://www.ruby-forum.com/t/newbie-problem/156556)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [December 30, 2008, 5:35am UTC](https://www.ruby-forum.com/t/newbie-problem/156556 "2008-12-30T05:35:24Z")

</div>

I’m trying to teach myself Ruby(and then rails) using Pragmatic’s “Programming Ruby” for the language part. I get the following error under NetBeans: C:/Program Files/NetBeans 6.5/ruby2/jruby-1.1.4/lib/ruby/site\_rub…

---

## [Ruby's new website](https://www.ruby-forum.com/t/rubys-new-website/153983)

<div class="topic-metadata">

**Author:** [@reddvinylene](https://www.ruby-forum.com/u/reddvinylene)\
**Replies:** 4\
**Last updated:** [November 24, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/rubys-new-website/153983 "2008-11-24T13:07:31Z")

</div>

Is it just me, or is Ruby’s new website way too much? A jumble of bad ideas some’d say, or an amateur’s attempt at being fancy. I’d say it’s not really coherent with what Ruby really is. Whatever happened to “Perfecti…

---

## [Syntax error](https://www.ruby-forum.com/t/syntax-error/149892)

<div class="topic-metadata">

**Author:** [@anicoll](https://www.ruby-forum.com/u/anicoll)\
**Replies:** 4\
**Last updated:** [September 30, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/syntax-error/149892 "2008-09-30T22:16:26Z")

</div>

I’m a perlish person trying to get Ruby to talk to our Oracle 10g database. The following program gives me a syntax error I can’t resolve. I’ve looked at a lot of the website messages concerning the same error an no…

---

## [Concatenating parts of sql queris](https://www.ruby-forum.com/t/concatenating-parts-of-sql-queris/147515)

<div class="topic-metadata">

**Author:** [@blueshadow](https://www.ruby-forum.com/u/blueshadow)\
**Replies:** 4\
**Last updated:** [September 2, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/concatenating-parts-of-sql-queris/147515 "2008-09-02T17:56:19Z")

</div>

I’m trying to develop a full-text search filtered by location and categories! My ugly way is to write different sql query’s for different solution, but i realize that is just stupid and ugly and didn’t do the job! Ni…

---

## [A -\> B -\> C... A has\_many C's?](https://www.ruby-forum.com/t/a-b-c-a-has-many-cs/146274)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 4\
**Last updated:** [August 20, 2008, 1:54am UTC](https://www.ruby-forum.com/t/a-b-c-a-has-many-cs/146274 "2008-08-20T01:54:48Z")

</div>

Hi… I am sure this is a newb question but, here goes. I have three models: Genre - can have many subgenres Subgenre - only one genre, can have many books Book - can belong to many subgenres Genre: has\_many Subgenre…

---

## [Sharing classes in rails and with other ruby scripts](https://www.ruby-forum.com/t/sharing-classes-in-rails-and-with-other-ruby-scripts/146071)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 4\
**Last updated:** [August 19, 2008, 7:34am UTC](https://www.ruby-forum.com/t/sharing-classes-in-rails-and-with-other-ruby-scripts/146071 "2008-08-19T07:34:29Z")

</div>

Hey there all, I have several Ruby classes that I need to share between several applications. Our company collects information from industrial machines, processes it, and alerts our customers of system changes. This…

---

## [Best way to create a helper method](https://www.ruby-forum.com/t/best-way-to-create-a-helper-method/145926)

<div class="topic-metadata">

**Author:** [@lynchnco](https://www.ruby-forum.com/u/lynchnco)\
**Replies:** 4\
**Last updated:** [August 15, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/best-way-to-create-a-helper-method/145926 "2008-08-15T17:10:48Z")

</div>

What would you guys say is the best way of creating a helper method? module MyModule def myMethod #bla bla end end def helperMethod #a helper method whose existence should not be known outside of this file end h…

---

## [Controller#index is getting called immediately after every single other call](https://www.ruby-forum.com/t/controller-index-is-getting-called-immediately-after-every-single-other-call/141746)

<div class="topic-metadata">

**Author:** [@Bret\_H](https://www.ruby-forum.com/u/Bret_H)\
**Replies:** 4\
**Last updated:** [June 30, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/controller-index-is-getting-called-immediately-after-every-single-other-call/141746 "2008-06-30T18:21:08Z")

</div>

This is a very odd problem, it’s been happening, I think, ever since I patched to Rails 2.1.0 Every time a public method gets called in my Controller, the index method gets called immediately afterwards. It’s not in m…

---

## [Rails 2.0: Scaffolding](https://www.ruby-forum.com/t/rails-2-0-scaffolding/138214)

<div class="topic-metadata">

**Author:** [@steveluscher](https://www.ruby-forum.com/u/steveluscher)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/rails-2-0-scaffolding/138214 "2008-05-22T15:54:56Z")

</div>

So in the middle of delivering a website to somebody I naively upgraded to rails 2.0, and WTF? Why did the scaffolding change so dramatically without leaving the old commands around? (insert Zed S. rant here) So I f…

---

## [Cannot toggle div from radio\_buttons](https://www.ruby-forum.com/t/cannot-toggle-div-from-radio-buttons/137391)

<div class="topic-metadata">

**Author:** [@Erwin](https://www.ruby-forum.com/u/Erwin)\
**Replies:** 4\
**Last updated:** [May 12, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/cannot-toggle-div-from-radio-buttons/137391 "2008-05-12T22:51:54Z")

</div>

Hi I have a couple of radio\_buttons in my form \<% form\_for … \<%= radio\_button\_tag('contact\_type', '1', (@contact\_type == "1" ? true : false), {:id =\> 'ct1', :onclick =\> "$('contact\_by').toggle;"}) -%\> Contact 1 \<%…

---

## [Status ruby 1.9 rails or 1.8 w/oniguruma](https://www.ruby-forum.com/t/status-ruby-1-9-rails-or-1-8-w-oniguruma/135904)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/status-ruby-1-9-rails-or-1-8-w-oniguruma/135904 "2008-04-26T20:27:44Z")

</div>

what is the official status on v1.9 with rails or how to get vy.n to work w/oniguruma? plz provide a good spot to track dependencies as there doesnt seem to be a definitive answer

---

## [Access association data via instance variable](https://www.ruby-forum.com/t/access-association-data-via-instance-variable/134063)

<div class="topic-metadata">

**Author:** [@rashantha](https://www.ruby-forum.com/u/rashantha)\
**Replies:** 4\
**Last updated:** [April 7, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/access-association-data-via-instance-variable/134063 "2008-04-07T18:29:01Z")

</div>

i thought this was possible but it is not working for me. @items = Items.find(:all) in the view via a loop the goes thru all the rows. item.relationship.related\_table\_col this The error occurred while evaluating nil.…

---

## [Question: Setting Rx-A and RX-B Daughterboard on simultaneously](https://www.ruby-forum.com/t/question-setting-rx-a-and-rx-b-daughterboard-on-simultaneously/133148)

<div class="topic-metadata">

**Author:** [@jasonallen](https://www.ruby-forum.com/u/jasonallen)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/question-setting-rx-a-and-rx-b-daughterboard-on-simultaneously/133148 "2008-03-31T18:32:50Z")

</div>

Hi all! Is it possible to set both the Rx-A and the Rx-B (of the BASIC Rx daughterboard) to ON while at the same time allowing I and Q sampling? How will this be done? Thanks!

---

## [Problem setting up Virtual Hosts](https://www.ruby-forum.com/t/problem-setting-up-virtual-hosts/133274)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 1:59pm UTC](https://www.ruby-forum.com/t/problem-setting-up-virtual-hosts/133274 "2008-03-31T13:59:57Z")

</div>

Hi, This problem is getting me crazy. I have a server in my office which I use for tests. It has a dynamic address, and I chose DynDns to have a domain name. So its domain name is of mysite.ath.cx. I have set in dynd…

---

## [Help parsing and extracting a num](https://www.ruby-forum.com/t/help-parsing-and-extracting-a-num/132883)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/help-parsing-and-extracting-a-num/132883 "2008-03-25T17:29:40Z")

</div>

Hi, I’m trying to extract a num from a string. This string is in fact some number of headers separated by \\r\\n or \\n. for now I just need to extract the value of “Content-Length” (case insensitive) header. For example…

---

## [Named route not working -- input hash completely ignored](https://www.ruby-forum.com/t/named-route-not-working-input-hash-completely-ignored/132673)

<div class="topic-metadata">

**Author:** [@tbobker](https://www.ruby-forum.com/u/tbobker)\
**Replies:** 4\
**Last updated:** [March 23, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/named-route-not-working-input-hash-completely-ignored/132673 "2008-03-23T14:09:19Z")

</div>

I have been reading that you can pass a parameters hash to a named route: You can get \<%= link\_to "help!", assist\_path(:action =\> "membership") %\> You can get help! Now, for me, I have the following named route: th…

---

## [Download Rails Manual](https://www.ruby-forum.com/t/download-rails-manual/129715)

<div class="topic-metadata">

**Author:** [@SmallPaul](https://www.ruby-forum.com/u/SmallPaul)\
**Replies:** 4\
**Last updated:** [February 27, 2008, 3:43am UTC](https://www.ruby-forum.com/t/download-rails-manual/129715 "2008-02-27T03:43:14Z")

</div>

I would like to download the Rails manual featured at http://railsmanual.org/list/methods/rails/2.0.1 If your advice is in fact to use wget, please provide the exact command I need to issue; however, ideally I would p…

---

## [Env command](https://www.ruby-forum.com/t/env-command/127927)

<div class="topic-metadata">

**Author:** [@croese](https://www.ruby-forum.com/u/croese)\
**Replies:** 4\
**Last updated:** [February 2, 2008, 11:25pm UTC](https://www.ruby-forum.com/t/env-command/127927 "2008-02-02T23:25:27Z")

</div>

Does anyone know why I can type this at the cmd line: /usr/bin/env ruby -w and get the correct functionality, but if I use this line in the shebang line of my .rb files, I get an error from env stating that “ruby -w …

---

## [Canceling a set of actions on an obj and its associations - best approach?](https://www.ruby-forum.com/t/canceling-a-set-of-actions-on-an-obj-and-its-associations-best-approach/126404)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 4\
**Last updated:** [January 20, 2008, 7:32am UTC](https://www.ruby-forum.com/t/canceling-a-set-of-actions-on-an-obj-and-its-associations-best-approach/126404 "2008-01-20T07:32:37Z")

</div>

I have a “dialog” type page for the user to update a set of conditions on an object. These Condition objects are associated with the parent obj thru an association. The page lets them remove existing associations or m…

---

## [So surprised syntax error not caught here](https://www.ruby-forum.com/t/so-surprised-syntax-error-not-caught-here/115487)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 4\
**Last updated:** [September 27, 2007, 12:37am UTC](https://www.ruby-forum.com/t/so-surprised-syntax-error-not-caught-here/115487 "2007-09-27T00:37:45Z")

</div>

the following syntax error for “elif” is not caught? (should be elsif) def foo(i) if i \< 0 return “Less than 0” elif i == 0 return “it is zero” else return “Greater than 0” end end p foo(-2) p foo(0) p foo(1…

---

## [Why does this error occur?](https://www.ruby-forum.com/t/why-does-this-error-occur/81806)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/why-does-this-error-occur/81806 "2007-09-25T22:29:37Z")

</div>

Hi there. I have this error: undefined method \`count’ for Module:Class // /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/pagination.rb:172:in count\_collection\_for\_pagination' /usr/local/lib…

---

## [How to create an Admin user using migration?](https://www.ruby-forum.com/t/how-to-create-an-admin-user-using-migration/114053)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 4\
**Last updated:** [September 7, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/how-to-create-an-admin-user-using-migration/114053 "2007-09-07T14:19:53Z")

</div>

Hi, I am using act\_as\_authenticated plugin for authentication purposes. Now i need to add an user (Admin) in migration so that i can use this for authorization purposes. Issues is how will add an user , i would not k…

---

## [MS VC++ Toolkit 2003?](https://www.ruby-forum.com/t/ms-vc-toolkit-2003/112481)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 1:37am UTC](https://www.ruby-forum.com/t/ms-vc-toolkit-2003/112481 "2007-08-21T01:37:43Z")

</div>

I’ve just purchased a new Intel-based iMac and installed Windows XP using VMware Fusion. Now I’d like to build a new RMagick-win32 gem. The instructions I have say that I must use Microsoft’s VC++ Toolkit 2003. Howeve…

---

## [ActiveRecord Limitation (Advance)](https://www.ruby-forum.com/t/activerecord-limitation-advance/111061)

<div class="topic-metadata">

**Author:** [@nigel.bris](https://www.ruby-forum.com/u/nigel.bris)\
**Replies:** 4\
**Last updated:** [August 3, 2007, 7:50am UTC](https://www.ruby-forum.com/t/activerecord-limitation-advance/111061 "2007-08-03T07:50:05Z")

</div>

Or is it ? Need to be able to :- @search = Form.find(:all, :include=\>\[:form\_type, :form\_type\_items\], :conditions=\>…) I need in the Form model a :form\_type\_items, the question is, what is the relationship type? Cur…

---

## [Gem headache](https://www.ruby-forum.com/t/gem-headache/93213)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 4\
**Last updated:** [April 29, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/gem-headache/93213 "2007-04-29T21:02:26Z")

</div>

hello. please help, i cannot install gem from local .gem file: gem install rmagick-1.14.1-win32 --local --install-dir c:/TEMP ERROR: Local gem file not found: rmagick-1.14.1-win32\*.gem ERROR: Could not install a loc…

---

## [How to DRY This? (params=\>var?)](https://www.ruby-forum.com/t/how-to-dry-this-params-var/91217)

<div class="topic-metadata">

**Author:** [@sneptune](https://www.ruby-forum.com/u/sneptune)\
**Replies:** 4\
**Last updated:** [April 5, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/how-to-dry-this-params-var/91217 "2007-04-05T19:27:09Z")

</div>

Hi everyone, Is it possible to dry this code? recipients = params\[:mail\]\[:recipients\] from = params\[:mail\]\[:from\] subject = params\[:mail\]\[:subject\] email\_body = params\[:mail\]\[:email\_body\] user = params\[:mail\]\[:user…

---

## [Noob question - Sending args to a method?](https://www.ruby-forum.com/t/noob-question-sending-args-to-a-method/90750)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 31, 2007, 11:45pm UTC](https://www.ruby-forum.com/t/noob-question-sending-args-to-a-method/90750 "2007-03-31T23:45:50Z")

</div>

The following code leads to an error - temp.rb:5:in \`\*': String can’t be coerced into Fixnum (TypeError) can someone explain the error to me so I can determine how to resolve it, Thanks a million! def c\_f(temp) conv…

---

## [Unas urls](https://www.ruby-forum.com/t/unas-urls/88277)

<div class="topic-metadata">

**Author:** [@Miguel\_Angel\_Callej](https://www.ruby-forum.com/u/Miguel_Angel_Callej)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/unas-urls/88277 "2007-03-09T18:23:20Z")

</div>

Tengo una duda para hacer las urls, estoy haciendo un backend de administrador, mis métodos serían por ejemplo: class AdminController \< ApplicationController def inicio #La portada del backend end def venta #La se…

---

## [Best way to implement syntax sugar?](https://www.ruby-forum.com/t/best-way-to-implement-syntax-sugar/86246)

<div class="topic-metadata">

**Author:** [@Tyler\_MacDonald](https://www.ruby-forum.com/u/Tyler_MacDonald)\
**Replies:** 4\
**Last updated:** [February 21, 2007, 2:00am UTC](https://www.ruby-forum.com/t/best-way-to-implement-syntax-sugar/86246 "2007-02-21T02:00:31Z")

</div>

Hi! I’m very new to rails, I just dove in about a month ago and I’m loving it. One thing I decided I immediately wanted to do, was shorten the number of keystrokes neccessary to URI, HTML, or Jscript encode somethin…

---

## [Many to many, error on relation](https://www.ruby-forum.com/t/many-to-many-error-on-relation/86208)

<div class="topic-metadata">

**Author:** [@surfman](https://www.ruby-forum.com/u/surfman)\
**Replies:** 4\
**Last updated:** [February 20, 2007, 8:43pm UTC](https://www.ruby-forum.com/t/many-to-many-error-on-relation/86208 "2007-02-20T20:43:48Z")

</div>

two tables, users and languages, one user may have many languages, one language may belong to many users. so, I create the joint table users\_languages with user\_id and language\_id only. class User \< ActiveRecord::Bas…

---

## [Consensus: javascript forms, good or bad?](https://www.ruby-forum.com/t/consensus-javascript-forms-good-or-bad/85947)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 4\
**Last updated:** [February 18, 2007, 3:33am UTC](https://www.ruby-forum.com/t/consensus-javascript-forms-good-or-bad/85947 "2007-02-18T03:33:51Z")

</div>

Is the practice of using javascript forms for adding data a good idea? I don’t think they are because of error handling, but I’m not an expert at using ajax. I’ve only used it moderation for some usability improvemen…

---

## [Can't display images](https://www.ruby-forum.com/t/cant-display-images/85154)

<div class="topic-metadata">

**Author:** [@doucie](https://www.ruby-forum.com/u/doucie)\
**Replies:** 4\
**Last updated:** [February 10, 2007, 8:25pm UTC](https://www.ruby-forum.com/t/cant-display-images/85154 "2007-02-10T20:25:01Z")

</div>

I have the following in my view - image\_url being a field in the database. No matter what I change the url to or where I save the images nothing is displayed. By the way I’m following the ‘depot’ project in A…

---

## [Problema destroy](https://www.ruby-forum.com/t/problema-destroy/83863)

<div class="topic-metadata">

**Author:** [@mschwab](https://www.ruby-forum.com/u/mschwab)\
**Replies:** 4\
**Last updated:** [January 30, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/problema-destroy/83863 "2007-01-30T15:53:40Z")

</div>

Vorrei cancellare alcuni record come segue: Port.find\_all\_by\_subsystem\_id(@subsystem.id).each do |p| logger.info("\*\*\* porta #{p.id}") p.destroy end ma ottengo il seguente errore: NoMethodError: undefined method pos…

---

## [SimplyRestfull ? Where to download the latest version?](https://www.ruby-forum.com/t/simplyrestfull-where-to-download-the-latest-version/76415)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 4\
**Last updated:** [November 19, 2006, 8:31pm UTC](https://www.ruby-forum.com/t/simplyrestfull-where-to-download-the-latest-version/76415 "2006-11-19T20:31:47Z")

</div>

Hi, two questions please : is Simply RestFull the on and only way to use REST in Rails application ? where is the official location of the latest release (for rails 1.1, not for edge or developpment version), here ? …

---

## [Help for reader for NETGEAR DG834GT](https://www.ruby-forum.com/t/help-for-reader-for-netgear-dg834gt/100618)

<div class="topic-metadata">

**Author:** [@enzo](https://www.ruby-forum.com/u/enzo)\
**Replies:** 4\
**Last updated:** [August 5, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/help-for-reader-for-netgear-dg834gt/100618 "2006-08-05T15:59:39Z")

</div>

Hi. I don’t find the error this script should read the SNR margin of my adsl line from router and write it on txt file… like this but without window but there is an error in the script Can you help me? require ‘o…

---

## [\[ANN\] Validation Reflection plugin](https://www.ruby-forum.com/t/ann-validation-reflection-plugin/100449)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 4\
**Last updated:** [July 31, 2006, 7:17pm UTC](https://www.ruby-forum.com/t/ann-validation-reflection-plugin/100449 "2006-07-31T19:17:27Z")

</div>

The validation reflection plugin adds three things (1) Reflective access to validations - ModelClass.reflect\_on\_all\_validations - ModelClass.reflect\_on\_validations\_for(:property) (2) It provides “declarative” methods…

---

## [RedCloth](https://www.ruby-forum.com/t/redcloth/96029)

<div class="topic-metadata">

**Author:** [@mohammad](https://www.ruby-forum.com/u/mohammad)\
**Replies:** 4\
**Last updated:** [June 23, 2006, 6:54am UTC](https://www.ruby-forum.com/t/redcloth/96029 "2006-06-23T06:54:05Z")

</div>

Help me!!!Lol I’ve been working with RedCloth but it’s runed my layout because it put the and is there a way to remove this without gsubing it up or if I do what the prettiest I can make it?

---

## [Newbie Question](https://www.ruby-forum.com/t/newbie-question/95368)

<div class="topic-metadata">

**Author:** [@falcon](https://www.ruby-forum.com/u/falcon)\
**Replies:** 4\
**Last updated:** [May 30, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/newbie-question/95368 "2006-05-30T18:44:00Z")

</div>

All, I was URL’d to this place after asking a XML question. Is this the right place for New to Ruby ? What does a basic Ruby Application look like ? The only hands on expirience with making a GUI was a trial phase w…

---

## [Edit in Place in 1.1](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474)

<div class="topic-metadata">

**Author:** [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Replies:** 4\
**Last updated:** [April 3, 2006, 10:16pm UTC](https://www.ruby-forum.com/t/edit-in-place-in-1-1/93474 "2006-04-03T22:16:35Z")

</div>

Does anyone have a good example or know of some documentation about how to implement “Edit in Place” using Rails 1.1? Like the functionality in Flickr… I’ve googled and googled and can’t find any good documentation. M…

---

## [Stop users accessing methods](https://www.ruby-forum.com/t/stop-users-accessing-methods/78992)

<div class="topic-metadata">

**Author:** [@jjantz](https://www.ruby-forum.com/u/jjantz)\
**Replies:** 4\
**Last updated:** [March 10, 2006, 2:51pm UTC](https://www.ruby-forum.com/t/stop-users-accessing-methods/78992 "2006-03-10T14:51:35Z")

</div>

Hello all. Is there a way to stop users from being able to access a controllers methods without affecting the ability of other controllers to use them? i.e FooController def secret #Stuff end end BarController d…

---

## [Newbie problem with adding new method to a class](https://www.ruby-forum.com/t/newbie-problem-with-adding-new-method-to-a-class/77444)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 4\
**Last updated:** [March 7, 2006, 8:48am UTC](https://www.ruby-forum.com/t/newbie-problem-with-adding-new-method-to-a-class/77444 "2006-03-07T08:48:55Z")

</div>

Hi! If i have Image class and i’d like to add ‘create\_thumbnail’ method to it, which will later be called from product controller, where to put this method and how to call it? I’ve tried putting it inside image contr…

---

## [Newbie stumped by "NameError in "](https://www.ruby-forum.com/t/newbie-stumped-by-nameerror-in/53748)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 4\
**Last updated:** [February 14, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/newbie-stumped-by-nameerror-in/53748 "2006-02-14T17:24:16Z")

</div>

Help. I cannot find any help by searching… I’m slowly creating an application using tutorial examples, etc, but I think I’m missing something real basic: Here’s the error message: NameError in Mindreadr#display\_imag…

---

## [Newbie question about blocks](https://www.ruby-forum.com/t/newbie-question-about-blocks/66282)

<div class="topic-metadata">

**Author:** [@braas](https://www.ruby-forum.com/u/braas)\
**Replies:** 4\
**Last updated:** [February 12, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/newbie-question-about-blocks/66282 "2006-02-12T23:34:05Z")

</div>

Hi, I want to square every element in my array using a block: a = (1…1000).to\_a a.each {|x| x\*\*2} But this does not seem to work, it just outputs my array completely unchanged :frowning:

---

## [Problem testing portion of code](https://www.ruby-forum.com/t/problem-testing-portion-of-code/49210)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 4\
**Last updated:** [December 1, 2005, 3:32pm UTC](https://www.ruby-forum.com/t/problem-testing-portion-of-code/49210 "2005-12-01T15:32:29Z")

</div>

Hi, I’m getting a bit frustated here. I’m trying to test the following code in my User controller: def validate if params\[:user\_id\] and params\[:key\] @user = User.find(:first, :conditions =\> \[“id= ? AND security\_tok…

---

## [Adding functionality to a plugin](https://www.ruby-forum.com/t/adding-functionality-to-a-plugin/101924)

<div class="topic-metadata">

**Author:** [@joevandyk](https://www.ruby-forum.com/u/joevandyk)\
**Replies:** 4\
**Last updated:** [November 24, 2005, 11:07am UTC](https://www.ruby-forum.com/t/adding-functionality-to-a-plugin/101924 "2005-11-24T11:07:09Z")

</div>

What’s the best method of extending a plugin / engine? In my case, I’m using the login\_engine. I want the user to also provide their address and phone number. Would I just directly extend the plugin code? I wouldn’…

---

## [RE: How to reproduce issue CVE-2016-4450?](https://www.ruby-forum.com/t/re-how-to-reproduce-issue-cve-2016-4450/244736)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [June 6, 2016, 3:50am UTC](https://www.ruby-forum.com/t/re-how-to-reproduce-issue-cve-2016-4450/244736 "2016-06-06T03:50:51Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [Issue with routing](https://www.ruby-forum.com/t/issue-with-routing/244119)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [February 23, 2016, 9:49pm UTC](https://www.ruby-forum.com/t/issue-with-routing/244119 "2016-02-23T21:49:11Z")

</div>

Hi everyone. I’m newbe in ROR and recently faced with a routing problem. Here’s my route: post ‘:type/delete/:id’ =\> ‘todolist#delete\_item’, as: ‘delete’, constraints: {type: ‘project|task’} my link: \<%= link\_to ‘’,…

---

## [ArgumentError in Devise::RegistrationsController#create](https://www.ruby-forum.com/t/argumenterror-in-devise-registrationscontroller-create/243811)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 11, 2016, 4:37pm UTC](https://www.ruby-forum.com/t/argumenterror-in-devise-registrationscontroller-create/243811 "2016-01-11T16:37:20Z")

</div>

ArgumentError in Devise::RegistrationsController#create too few arguments require ‘elasticsearch/model’ class User \< ActiveRecord::Base Include default devise modules. Others available are: :confirmable, :lockable, :…

---

## [Rail Advice Needed](https://www.ruby-forum.com/t/rail-advice-needed/241702)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 25, 2015, 5:14am UTC](https://www.ruby-forum.com/t/rail-advice-needed/241702 "2015-04-25T05:14:55Z")

</div>

Hello, I am new to rails and need help. I am not a coder, developer, webmaster, but a marketer and I need the “experts” advice on something I am about to do. I while back I purchased a license to some Ruby software f…

---

## [Extended Closures?](https://www.ruby-forum.com/t/extended-closures/234878)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [December 18, 2014, 12:30am UTC](https://www.ruby-forum.com/t/extended-closures/234878 "2014-12-18T00:30:36Z")

</div>

Jackbox. It toys with the ideas of closures as modules. In it you’ll find a series of new takes on ruby that are sure to spike you interest. With it we have come up with a solution to the decorator handicap in ruby…

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

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