# Top

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

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

---

## [A C++ reference in a Ruby extension](https://www.ruby-forum.com/t/a-c-reference-in-a-ruby-extension/91758)

<div class="topic-metadata">

**Author:** [@David\_Simas](https://www.ruby-forum.com/u/David_Simas)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/a-c-reference-in-a-ruby-extension/91758 "2007-04-12T16:01:22Z")

</div>

I’m trying to write an extension to access some C++ libraries from Ruby (1.8.4). One of the C++ functions uses a reference to pass a value back to the caller as a side effect: ErrorHandle\* DetectInvisibleWatermark(co…

---

## [How to convert a string's charset?](https://www.ruby-forum.com/t/how-to-convert-a-strings-charset/91357)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 3\
**Last updated:** [April 8, 2007, 3:07am UTC](https://www.ruby-forum.com/t/how-to-convert-a-strings-charset/91357 "2007-04-08T03:07:46Z")

</div>

I want to convert a string’s charset from GB2312 or BIG5 to UTF-8. How can i do this?

---

## [Test is a specific field is modified](https://www.ruby-forum.com/t/test-is-a-specific-field-is-modified/90377)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 10:59am UTC](https://www.ruby-forum.com/t/test-is-a-specific-field-is-modified/90377 "2007-03-28T10:59:04Z")

</div>

Hello everybody I’m relatively new to RoR but I find it really interesting. I’ve managed to do lots of nice things bt I’m stuck with a specific problem. I’ve got a table with 5 columns and among it one is a boolean an…

---

## [How to remove unneccessary SHOW FIELDS FROM?](https://www.ruby-forum.com/t/how-to-remove-unneccessary-show-fields-from/90039)

<div class="topic-metadata">

**Author:** [@dankitania](https://www.ruby-forum.com/u/dankitania)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 10:37pm UTC](https://www.ruby-forum.com/t/how-to-remove-unneccessary-show-fields-from/90039 "2007-03-26T22:37:37Z")

</div>

I see that every time I load a page (that lists paginated rows of a database), mysql is told to “SHOW FIELDS FROM (database)”. This seems unneccessary to me. (I know the fields; my code knows the fields!) My guess i…

---

## [Scalability](https://www.ruby-forum.com/t/scalability/89695)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 4:00am UTC](https://www.ruby-forum.com/t/scalability/89695 "2007-03-23T04:00:45Z")

</div>

could ror support a service on the scale of myspace? i’ve been reading about problems with the types of databses that ruby can work with?

---

## [RHTML Code is not properly working in I.E](https://www.ruby-forum.com/t/rhtml-code-is-not-properly-working-in-i-e/89407)

<div class="topic-metadata">

**Author:** [@deepak](https://www.ruby-forum.com/u/deepak)\
**Replies:** 3\
**Last updated:** [March 20, 2007, 7:56am UTC](https://www.ruby-forum.com/t/rhtml-code-is-not-properly-working-in-i-e/89407 "2007-03-20T07:56:48Z")

</div>

Hello, I have written the following code for designing the U.I. It is properly working in Mozilla Firefox but its not properly working in I.E. (Internet Explorer). Permission \<%= start\_form\_tag ({:action =\> ‘edit’},…

---

## [Grouping of related records](https://www.ruby-forum.com/t/grouping-of-related-records/87203)

<div class="topic-metadata">

**Author:** [@Marco\_Kotrotsos](https://www.ruby-forum.com/u/Marco_Kotrotsos)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 10:04am UTC](https://www.ruby-forum.com/t/grouping-of-related-records/87203 "2007-03-01T10:04:20Z")

</div>

Hey, goodevening to all. I have something that I wonder if I can do better. I have a list or records, employee records Marco from Amsterdam Silvia from Amsterdam Enola from Rotterdam Elisa From Utrecht These are n…

---

## [Can ruby automate form submission?](https://www.ruby-forum.com/t/can-ruby-automate-form-submission/86535)

<div class="topic-metadata">

**Author:** [@Simon\_Jackson](https://www.ruby-forum.com/u/Simon_Jackson)\
**Replies:** 3\
**Last updated:** [February 23, 2007, 9:07am UTC](https://www.ruby-forum.com/t/can-ruby-automate-form-submission/86535 "2007-02-23T09:07:49Z")

</div>

Can someone point me to either a gem or a method on how i might go about filling in and submitting data on a web form that uses POST?

---

## [Ofdm](https://www.ruby-forum.com/t/ofdm/85346)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [February 16, 2007, 12:30am UTC](https://www.ruby-forum.com/t/ofdm/85346 "2007-02-16T00:30:28Z")

</div>

I’m pretty new to gnu radio and I want to transmit an OFDM signal using different modulation types (BPSK, QPSK, and 64-QAM). The concept is pretty simple: read data, map it to a specified constellation map, and then …

---

## [Adding the root index page?](https://www.ruby-forum.com/t/adding-the-root-index-page/85140)

<div class="topic-metadata">

**Author:** [@etikette](https://www.ruby-forum.com/u/etikette)\
**Replies:** 3\
**Last updated:** [February 10, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/adding-the-root-index-page/85140 "2007-02-10T16:29:27Z")

</div>

hi all (newbie here) what is the best way to create a dynamic root to your ROR application, i.e. to the address: http://localhost:3000. By default this is created in the public folder as a html page. I was wondering …

---

## [Skim Array two by two](https://www.ruby-forum.com/t/skim-array-two-by-two/84135)

<div class="topic-metadata">

**Author:** [@micktaiwan](https://www.ruby-forum.com/u/micktaiwan)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 9:02am UTC](https://www.ruby-forum.com/t/skim-array-two-by-two/84135 "2007-02-02T09:02:59Z")

</div>

Hi, Is it possible to get 2 elements at once ? \[1,2,3,4\].each {|a,b| puts a;puts b;puts ‘x’} produces 1, nil x 2 nil x 3 nil x 4 nil x I’d like to get 1 2 x 3 4 x Thanks !

---

## [App failing -- configuration issue?](https://www.ruby-forum.com/t/app-failing-configuration-issue/82688)

<div class="topic-metadata">

**Author:** [@mattclarkson](https://www.ruby-forum.com/u/mattclarkson)\
**Replies:** 3\
**Last updated:** [January 23, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/app-failing-configuration-issue/82688 "2007-01-23T18:19:53Z")

</div>

Hi folks. I have an app that’s running on one host that I’m attempting to deploy to a different host. The stack is set up, as the generic rails index page comes up successfully. Accessing any of my rails controllers…

---

## [Ajax Drag & Drop not updating (Up & Running Tutorial)](https://www.ruby-forum.com/t/ajax-drag-drop-not-updating-up-running-tutorial/82883)

<div class="topic-metadata">

**Author:** [@ricklach](https://www.ruby-forum.com/u/ricklach)\
**Replies:** 0\
**Last updated:** [January 22, 2007, 3:05am UTC](https://www.ruby-forum.com/t/ajax-drag-drop-not-updating-up-running-tutorial/82883 "2007-01-22T03:05:20Z")

</div>

Hi Everybody, I’ve been working through the O’Reilly Ruby on Rails: Up and Running book, and I’m having some problems with the Drag and Drop feature. I’ve gone over it several times, and I’m quite sure that my code i…

---

## [Referncing values of local variables](https://www.ruby-forum.com/t/referncing-values-of-local-variables/76339)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 3\
**Last updated:** [November 17, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/referncing-values-of-local-variables/76339 "2006-11-17T18:25:01Z")

</div>

I apologize in advance, because I know this gets asked again and again (and again…) by newbies, but my searches don’t show a clear answer, and none of my attempts work. This should be simple. I want to define a const…

---

## [\[mental\] problem starting the mental branch](https://www.ruby-forum.com/t/mental-problem-starting-the-mental-branch/75703)

<div class="topic-metadata">

**Author:** [@keltia](https://www.ruby-forum.com/u/keltia)\
**Replies:** 3\
**Last updated:** [November 13, 2006, 7:19pm UTC](https://www.ruby-forum.com/t/mental-problem-starting-the-mental-branch/75703 "2006-11-13T19:19:55Z")

</div>

Am I the only where the first connection to mongrel on the mental branch results in the following? \*\* Starting Mongrel listening at 0.0.0.0:3001 \*\* Starting Rails with production environment… /Volumes/Users/www/rron/…

---

## [Should a Class return an exception or nil on failure to crea](https://www.ruby-forum.com/t/should-a-class-return-an-exception-or-nil-on-failure-to-crea/71253)

<div class="topic-metadata">

**Author:** [@S\_Kevin](https://www.ruby-forum.com/u/S_Kevin)\
**Replies:** 3\
**Last updated:** [October 6, 2006, 4:52pm UTC](https://www.ruby-forum.com/t/should-a-class-return-an-exception-or-nil-on-failure-to-crea/71253 "2006-10-06T16:52:16Z")

</div>

Suppose I’ve written a class that does something useful. This class, let’s call it a Widget, is created like this… a = Widget.new(some\_value) Not all values of ‘some\_value’ are valid and I need to indicate when creat…

---

## [Ruby Tk on Tiger](https://www.ruby-forum.com/t/ruby-tk-on-tiger/68914)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 3\
**Last updated:** [September 17, 2006, 7:34pm UTC](https://www.ruby-forum.com/t/ruby-tk-on-tiger/68914 "2006-09-17T19:34:12Z")

</div>

I’m running ruby 1.8.5 (2006-09-10) \[powerpc-darwin8.7.0\] and when I try they little simple Tk application on the first page of the Ruby Tk chapter of the Pickaxe Book I get: ~ $ ruby -w TK.rb ./tk.rb:7: uninitialize…

---

## [Rails App, Going Live](https://www.ruby-forum.com/t/rails-app-going-live/62877)

<div class="topic-metadata">

**Author:** [@sweatje](https://www.ruby-forum.com/u/sweatje)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 3:32am UTC](https://www.ruby-forum.com/t/rails-app-going-live/62877 "2006-06-09T03:32:59Z")

</div>

I built my rails app locally, and just today put it all online. Getting a “Application error (Rails)” when trying to submit some form parameters to the db. What needs to be done with going from local development to li…

---

## [RJS wierdness - Content div display js code](https://www.ruby-forum.com/t/rjs-wierdness-content-div-display-js-code/62858)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 3\
**Last updated:** [June 8, 2006, 9:13pm UTC](https://www.ruby-forum.com/t/rjs-wierdness-content-div-display-js-code/62858 "2006-06-08T21:13:02Z")

</div>

Hi, I have a link\_to\_remote name ‘Show notes’, which calls an action that uses this RJS template: page.replace “notes\_remote”, :partial =\> “notes/hide\_notes\_link” page.insert\_html :top, “notes\_list”, :template =\> “no…

---

## [FeedTools syntax question](https://www.ruby-forum.com/t/feedtools-syntax-question/56672)

<div class="topic-metadata">

**Author:** [@orotone](https://www.ruby-forum.com/u/orotone)\
**Replies:** 3\
**Last updated:** [April 4, 2006, 12:36pm UTC](https://www.ruby-forum.com/t/feedtools-syntax-question/56672 "2006-04-04T12:36:42Z")

</div>

in the above feed, can anyone tell me how to access the openSearch:totalResults element using feed tools? I can access the other elements, but I’m unsure what special meaning the colon carries or how to work with s…

---

## [RJS template eating encoding](https://www.ruby-forum.com/t/rjs-template-eating-encoding/54940)

<div class="topic-metadata">

**Author:** [@Patrick\_McCafferty](https://www.ruby-forum.com/u/Patrick_McCafferty)\
**Replies:** 3\
**Last updated:** [March 15, 2006, 11:51pm UTC](https://www.ruby-forum.com/t/rjs-template-eating-encoding/54940 "2006-03-15T23:51:52Z")

</div>

I was previously doing an update via .rhtml templates creating an AJAX :evaluate\_remote\_response. I use UTF-8 in my pages, and my app requires that I be able to, say, put Japanese characters in. The problem is that wh…

---

## [Help doing find - look for nonempty habtm](https://www.ruby-forum.com/t/help-doing-find-look-for-nonempty-habtm/81859)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [March 14, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/help-doing-find-look-for-nonempty-habtm/81859 "2006-03-14T21:31:05Z")

</div>

I’ve got a Cuisine and a Restaurant model, with a habtm. One thing I want to do is find all the cuisines that have at least one restaurant associated with them. Right now I’m using the following SQL query: SELECT DI…

---

## [RE: CHM Documentation for Rails Version 1.0](https://www.ruby-forum.com/t/re-chm-documentation-for-rails-version-1-0/64772)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [February 9, 2006, 4:45am UTC](https://www.ruby-forum.com/t/re-chm-documentation-for-rails-version-1-0/64772 "2006-02-09T04:45:55Z")

</div>

What browser and operating system are you using? Windows XP Pro SP 2, IE 6 I do get a “Security Warning” popup when I double click the .chm file since you’re an “Unknown Publisher”. It asks if I want to “Open” or …

---

## [Interfacing white board with ruby on rails](https://www.ruby-forum.com/t/interfacing-white-board-with-ruby-on-rails/99989)

<div class="topic-metadata">

**Author:** [@sapzz](https://www.ruby-forum.com/u/sapzz)\
**Replies:** 3\
**Last updated:** [February 3, 2006, 7:54am UTC](https://www.ruby-forum.com/t/interfacing-white-board-with-ruby-on-rails/99989 "2006-02-03T07:54:48Z")

</div>

Hi guys, I am building a network application where I want to integrate White board in my Ruby application. Can you point me to a white board which whoes apis are availabe (I dont mind paying if the deal is good enoug…

---

## [Day.find\_all\_with\_appointments - INNER JOIN](https://www.ruby-forum.com/t/day-find-all-with-appointments-inner-join/94932)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 0\
**Last updated:** [January 10, 2006, 6:51pm UTC](https://www.ruby-forum.com/t/day-find-all-with-appointments-inner-join/94932 "2006-01-10T18:51:11Z")

</div>

Hi list, Is there a better/simpler way to code an inner join, than the 4 lines below: class Day \< Foo def self.find\_all\_with\_appointments (\*args) find :all, { :select =\> 'distinct foos.\*', …

---

## [Fastcgi on apache](https://www.ruby-forum.com/t/fastcgi-on-apache/51713)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [January 6, 2006, 11:14am UTC](https://www.ruby-forum.com/t/fastcgi-on-apache/51713 "2006-01-06T11:14:10Z")

</div>

Running on Fedora Core I have been playing with some of the tutorials and one of them had me install lighttpd and lighttpd-fastcgi and that was much faster than apache seems to be. How do I get fastcgi stuff to work …

---

## [Migrations bug with Rails 1.0, PostgreSQL 8.1?](https://www.ruby-forum.com/t/migrations-bug-with-rails-1-0-postgresql-8-1/50326)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 3\
**Last updated:** [December 15, 2005, 7:19pm UTC](https://www.ruby-forum.com/t/migrations-bug-with-rails-1-0-postgresql-8-1/50326 "2005-12-15T19:19:17Z")

</div>

Filed a ticket for bogus Ruby produced via: rake db\_schema\_dump http://dev.rubyonrails.org/ticket/3232 I’d appreciate it if someone could verify against PostgreSQL 8.0.x – – Tom M.

---

## [Invalid arg to sysread deep within protocol.rb](https://www.ruby-forum.com/t/invalid-arg-to-sysread-deep-within-protocol-rb/64363)

<div class="topic-metadata">

**Author:** [@williamerubin](https://www.ruby-forum.com/u/williamerubin)\
**Replies:** 3\
**Last updated:** [December 8, 2005, 11:00pm UTC](https://www.ruby-forum.com/t/invalid-arg-to-sysread-deep-within-protocol-rb/64363 "2005-12-08T23:00:09Z")

</div>

I just made a script that fetches certain web pages, using Net::HTTP, over and over in a loop. Everything worked fine, for about 5000 iterations, but then the following error was thrown (this is in Ruby 1.8.3): C:/R…

---

## [Explain the code](https://www.ruby-forum.com/t/explain-the-code/245037)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 27, 2016, 5:15am UTC](https://www.ruby-forum.com/t/explain-the-code/245037 "2016-08-27T05:15:07Z")

</div>

Hi, I found the following code in a project, I want someone to explain it to me, what it means and how it works. pls def report\_pdf @data\_hash = Attendance.fetch\_student\_attendance\_data params render :pdf =\> ‘report…

---

## [Obtaining req/s or connections/sec sent to a backend-server?](https://www.ruby-forum.com/t/obtaining-req-s-or-connections-sec-sent-to-a-backend-server/236119)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 7, 2013, 3:06am UTC](https://www.ruby-forum.com/t/obtaining-req-s-or-connections-sec-sent-to-a-backend-server/236119 "2013-08-07T03:06:16Z")

</div>

Hello Nginx I understand that nginx when uses as a reverse proxy does not allow me to poll for stats regarding the amount of connections/requests sent to backend servers. Id like to know if there is creative way I can…

---

## [Question about failure and fail-over](https://www.ruby-forum.com/t/question-about-failure-and-fail-over/245815)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 18, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/question-about-failure-and-fail-over/245815 "2013-07-18T16:28:40Z")

</div>

Hi all, I have a general question about server failure and failover within an upstream group to ensure I understand it correctly. Lets say I have the configuration: proxy\_next\_upstream timeout; proxy\_connect\_timeout …

---

## [\[Rails 3.2.5\] Rails: unit test fixture\_path : fixture\_file\_upload cannot find the file](https://www.ruby-forum.com/t/rails-3-2-5-rails-unit-test-fixture-path-fixture-file-upload-cannot-find-the-file/220410)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 8, 2012, 12:01pm UTC](https://www.ruby-forum.com/t/rails-3-2-5-rails-unit-test-fixture-path-fixture-file-upload-cannot-find-the-file/220410 "2012-06-08T12:01:22Z")

</div>

I am trying to perform a test unit, using FactoryGirl include ActionDispatch::TestProcess FactoryGirl.define do factory :article do … photo { fixture\_file\_upload ‘/files/test.jpg’, ‘image/jpg’ } end end IN mt tes…

---

## [Can't create new rails project behind proxy](https://www.ruby-forum.com/t/cant-create-new-rails-project-behind-proxy/215655)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 11, 2012, 9:57pm UTC](https://www.ruby-forum.com/t/cant-create-new-rails-project-behind-proxy/215655 "2012-01-11T21:57:57Z")

</div>

When I run: rails new \<app\_name\> I get the following error: Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem ‘turn (\>= 0) x86-mingw32’ in any…

---

## [Grc hardcoded to use xterm as a terminal emulator?](https://www.ruby-forum.com/t/grc-hardcoded-to-use-xterm-as-a-terminal-emulator/214713)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 9, 2011, 9:01pm UTC](https://www.ruby-forum.com/t/grc-hardcoded-to-use-xterm-as-a-terminal-emulator/214713 "2011-12-09T21:01:26Z")

</div>

Hi, I just noticed that grc/python/Generator.py is hardcoded to use xterm as a terminal emulator. This is somewhat problematic \[1\] for me so I’d like to make it configurable, how would you rather see that done? Would …

---

## [Using previous gems with latest ruby](https://www.ruby-forum.com/t/using-previous-gems-with-latest-ruby/208537)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [June 21, 2011, 11:29am UTC](https://www.ruby-forum.com/t/using-previous-gems-with-latest-ruby/208537 "2011-06-21T11:29:20Z")

</div>

Hi, Is it possible to use previous gems to be used with Latest Ruby 1.9.2 Actually earlier i use Ruby 1.8.7 and netssh 1.1.2 and needle 1.3.0 I upgrade to Ruby 1.9.2. However with Ruby 1.9.2,netssh and needle gems a…

---

## [ActionMailer::Base.default\_url\_options](https://www.ruby-forum.com/t/actionmailer-base-default-url-options/202774)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 6, 2011, 8:39am UTC](https://www.ruby-forum.com/t/actionmailer-base-default-url-options/202774 "2011-02-06T08:39:22Z")

</div>

Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default\_url\_options is deprecated, so I use config.action\_mailer.default\_url\_options = { :host =\> “localhost” } in my environments (test.…

---

## [Render\_with\_layout not working with RSpec 2 + Rails 3 + shoulda 2.11.3](https://www.ruby-forum.com/t/render-with-layout-not-working-with-rspec-2-rails-3-shoulda-2-11-3/194527)

<div class="topic-metadata">

**Author:** [@anagri](https://www.ruby-forum.com/u/anagri)\
**Replies:** 1\
**Last updated:** [September 7, 2010, 11:28am UTC](https://www.ruby-forum.com/t/render-with-layout-not-working-with-rspec-2-rails-3-shoulda-2-11-3/194527 "2010-09-07T11:28:40Z")

</div>

Hello, I am trying to assert that my controller is rendered with particular layout file it “should render application layout” do get :index should render\_with\_layout(‘application’) end but it is giving error like …

---

## [Testing controller and action with parameters](https://www.ruby-forum.com/t/testing-controller-and-action-with-parameters/192395)

<div class="topic-metadata">

**Author:** [@andersonleite](https://www.ruby-forum.com/u/andersonleite)\
**Replies:** 1\
**Last updated:** [July 29, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/testing-controller-and-action-with-parameters/192395 "2010-07-29T16:53:04Z")

</div>

I have an action and I am testing it like this: The action: def create @event = Evento.new(params\[:event\]) @event.aproved = false if @event.save redirect\_to :action =\> “index” else render :action =\> “new” end en…

---

## [The returned integer value](https://www.ruby-forum.com/t/the-returned-integer-value/189462)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 1\
**Last updated:** [June 1, 2010, 1:48pm UTC](https://www.ruby-forum.com/t/the-returned-integer-value/189462 "2010-06-01T13:48:25Z")

</div>

there is tutorial, http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk-signals-more % irb --simple-prompt require ‘gtk2’ =\> true b = Gtk::Button.new(“hoge”) =\> #\<Gtk::Button:0x40a2a858 ptr=0x8237df8\> b.signal\_con…

---

## [Error arrancando RoR](https://www.ruby-forum.com/t/error-arrancando-ror/171272)

<div class="topic-metadata">

**Author:** [@maiken](https://www.ruby-forum.com/u/maiken)\
**Replies:** 1\
**Last updated:** [June 29, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/error-arrancando-ror/171272 "2009-06-29T22:43:38Z")

</div>

Tengo ruby 1.8.6 y cuando intento arrancar el servidor me da el siguiente error: =\> Booting WEBrick… /home/carlos/.gem/ruby/1.8/gems/activesupport-2.0.2/lib/active\_support/dependencies.rb:266:in load\_missing\_constant…

---

## [Method not implemented exception](https://www.ruby-forum.com/t/method-not-implemented-exception/170778)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 1\
**Last updated:** [June 22, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/method-not-implemented-exception/170778 "2009-06-22T19:21:12Z")

</div>

I am not sure but it seems like the rss module is not implemented as of yet. C:\\IronRubyProjects\\IronRubyTaskListApplication\>ir rss\_reader\_form.rb (eval):16707566:in install\_get\_attribute': The method or operation is …

---

## [What's the purpose of IRB.confand/or TOPLEVEL\_BINDING?](https://www.ruby-forum.com/t/whats-the-purpose-of-irb-confand-or-toplevel-binding/168542)

<div class="topic-metadata">

**Author:** [@ghorner](https://www.ruby-forum.com/u/ghorner)\
**Replies:** 1\
**Last updated:** [May 22, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/whats-the-purpose-of-irb-confand-or-toplevel-binding/168542 "2009-05-22T20:21:13Z")

</div>

Hi all, I’m peering into irb’s internals and am wondering what’s the purpose of IRB.conf\[:CONTEXT\_MODE\]? I understand most of the ruby code but all my googling has yet to bring up anyone who uses this. Here is a link …

---

## [ProblÃ¨me d'affichage aprÃ¨s installation Active Scaffold](https://www.ruby-forum.com/t/probla-me-daffichage-apra-s-installation-active-scaffold/168395)

<div class="topic-metadata">

**Author:** [@sebastien-p](https://www.ruby-forum.com/u/sebastien-p)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/probla-me-daffichage-apra-s-installation-active-scaffold/168395 "2009-05-20T13:01:14Z")

</div>

Bonjour, Je dÃ©veloppe actuellement une application rails devant gÃ©rer des clients, machines, etc… et j’ai dÃ©cidÃ© de remplacer le scaffold automatique par un scaffold rÃ©alisÃ© avec l’aide de Active Scaffold. Mon …

---

## [Js\_eval vs execScript](https://www.ruby-forum.com/t/js-eval-vs-execscript/166944)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 1\
**Last updated:** [May 8, 2009, 1:36pm UTC](https://www.ruby-forum.com/t/js-eval-vs-execscript/166944 "2009-05-08T13:36:28Z")

</div>

He guys, I have a problem making any of the following running: Browser.document.js\_eval("alert('boo');"); Browser.document.js\_eval("document.getElementById('ctl00\_cntMainContent\_Txt\_Message\_RTB').value='testing'"); I …

---

## [Code review - Fix backtrace and 1.9 support for RubyClass/RubyMethod attributes](https://www.ruby-forum.com/t/code-review-fix-backtrace-and-1-9-support-for-rubyclass-rubymethod-attributes/163471)

<div class="topic-metadata">

**Author:** [@Shri\_B](https://www.ruby-forum.com/u/Shri_B)\
**Replies:** 1\
**Last updated:** [March 24, 2009, 3:16am UTC](https://www.ruby-forum.com/t/code-review-fix-backtrace-and-1-9-support-for-rubyclass-rubymethod-attributes/163471 "2009-03-24T03:16:54Z")

</div>

Assuming you have done “git clone git://github.com/shri/ironruby.git” before and run Languages\\Ruby\\Scripts\\dev.bat, git pull GitDiff.bat ce7438b4c038dc8937f59758f33c387e139aea6a 8cf29c0704af4d3fdf51069aa6cbf034b297…

---

## [Assign sysdate instead of the result of DateTime::now()](https://www.ruby-forum.com/t/assign-sysdate-instead-of-the-result-of-datetime-now/160521)

<div class="topic-metadata">

**Author:** [@florent\_g](https://www.ruby-forum.com/u/florent_g)\
**Replies:** 1\
**Last updated:** [February 17, 2009, 4:49pm UTC](https://www.ruby-forum.com/t/assign-sysdate-instead-of-the-result-of-datetime-now/160521 "2009-02-17T16:49:12Z")

</div>

Hi rails devs, I’ve put the following code in a model: protected def validate self\[:lastupdate\] = DateTime::now() end I wonder how I could get “sysdate” instead of the result of DateTime::now() in the generat…

---

## [Ayuda con este error 500 Internal Server Error](https://www.ruby-forum.com/t/ayuda-con-este-error-500-internal-server-error/159590)

<div class="topic-metadata">

**Author:** [@rgr](https://www.ruby-forum.com/u/rgr)\
**Replies:** 1\
**Last updated:** [February 6, 2009, 10:53am UTC](https://www.ruby-forum.com/t/ayuda-con-este-error-500-internal-server-error/159590 "2009-02-06T10:53:24Z")

</div>

Hola soy muy nuevo esto de ruby o rails estoy tratando de arrancar tengo muchas dudas pero la primera es la siguiente: Estoy trabajando con NETBEANS con ruby cuando compilo o pruebo de base me abre un html con ruta ht…

---

## [Non-profit Start-up](https://www.ruby-forum.com/t/non-profit-start-up/155022)

<div class="topic-metadata">

**Author:** [@maarnold](https://www.ruby-forum.com/u/maarnold)\
**Replies:** 1\
**Last updated:** [December 7, 2008, 12:06pm UTC](https://www.ruby-forum.com/t/non-profit-start-up/155022 "2008-12-07T12:06:07Z")

</div>

Hi, I am a student at MIT founding a non-profit, with the mission to increase the number of college students who do meaningful community service. We are a young team, and looking for individuals with more rails exper…

---

## [My rake is broken - "no such file to load..."](https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 1\
**Last updated:** [November 5, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/my-rake-is-broken-no-such-file-to-load/152589 "2008-11-05T15:22:35Z")

</div>

Hey folks After doing an update from our svn server, rake is no longer working for me, though it’s fine for my team-mates. I get this error: no such file to load – spec/rake/spectask /home/max/work/e\_learning\_resour…

---

## [Anyone used mor.ph?](https://www.ruby-forum.com/t/anyone-used-mor-ph/146287)

<div class="topic-metadata">

**Author:** [@leei](https://www.ruby-forum.com/u/leei)\
**Replies:** 1\
**Last updated:** [August 23, 2008, 5:28am UTC](https://www.ruby-forum.com/t/anyone-used-mor-ph/146287 "2008-08-23T05:28:08Z")

</div>

Anyone tried the mor.ph platform yet ? Their website is mor.ph - mor Resources and Information.

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

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