# Top

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

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

---

## [Two models one cotroller/view](https://www.ruby-forum.com/t/two-models-one-cotroller-view/130866)

<div class="topic-metadata">

**Author:** [@Dion\_H](https://www.ruby-forum.com/u/Dion_H)\
**Replies:** 4\
**Last updated:** [March 4, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/two-models-one-cotroller-view/130866 "2008-03-04T16:39:34Z")

</div>

hi all I have two different models representing two different data sets but I want to use the same controler and views to process them how can I DRY this up so I don’t have to use a separate controller and view for…

---

## [Beginner s question](https://www.ruby-forum.com/t/beginner-s-question/129500)

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 4\
**Last updated:** [February 19, 2008, 6:44am UTC](https://www.ruby-forum.com/t/beginner-s-question/129500 "2008-02-19T06:44:16Z")

</div>

Hello, I think I have logical problem about rails. I want to integrate my plugin to my rails project. the plugin is kind of converter.the plugin takes datas from database and convert into xml file. I have a selecti…

---

## [(REST) Nested routes](https://www.ruby-forum.com/t/rest-nested-routes/127263)

<div class="topic-metadata">

**Author:** [@eyp](https://www.ruby-forum.com/u/eyp)\
**Replies:** 4\
**Last updated:** [February 3, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/rest-nested-routes/127263 "2008-02-03T17:20:32Z")

</div>

Hello, I’m in troubles with nested routes. I have three models: Team, Tournament and TeamTournaments class Team \< ActiveRecord::Base has\_many :tournaments, :through =\> :team\_tournaments has\_many :team\_tournaments cl…

---

## [Dynamically add a method to a TestCase](https://www.ruby-forum.com/t/dynamically-add-a-method-to-a-testcase/124806)

<div class="topic-metadata">

**Author:** [@commander](https://www.ruby-forum.com/u/commander)\
**Replies:** 4\
**Last updated:** [January 2, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/dynamically-add-a-method-to-a-testcase/124806 "2008-01-02T20:22:12Z")

</div>

Hi, I’m experimenting with the dynamic features of ruby to add methods to a TestCase. Here is my test script: require ‘watir’ require ‘test/unit’ class MyTest \< Test::Unit::TestCase end for num in \[“a”,“b”,“c”\] M…

---

## [Uploading file behaviour in Mongrel](https://www.ruby-forum.com/t/uploading-file-behaviour-in-mongrel/118854)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 4\
**Last updated:** [November 1, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/uploading-file-behaviour-in-mongrel/118854 "2007-11-01T14:10:37Z")

</div>

Hi Please could someone clarify how Mongrel behaves when uploading files? I have an application with Apache which proxies to about 5 mongrels. Files are uploaded to the system from mobile PDAs using GPRS, and the f…

---

## [\<=\> comparison operator method undefined in AR class](https://www.ruby-forum.com/t/comparison-operator-method-undefined-in-ar-class/114575)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 4\
**Last updated:** [September 21, 2007, 4:30am UTC](https://www.ruby-forum.com/t/comparison-operator-method-undefined-in-ar-class/114575 "2007-09-21T04:30:28Z")

</div>

I have an active record class that looks like the following: class TemplatePhotoSlot \< ActiveRecord::Base belongs\_to :template used in the autoflow photo best fit algorithm def \<=\>(other) self.slot\_num \< other.slot\_n…

---

## [Code quiz #1](https://www.ruby-forum.com/t/code-quiz-1/114583)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 4\
**Last updated:** [September 17, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/code-quiz-1/114583 "2007-09-17T13:23:32Z")

</div>

a = Array(11…20) class Foo attr\_reader :a a = 123 def initialize(i) @a = Array(1…10) end def change() puts puts “Inside of change!!!” a\[2\] = 111111 # intentionally not using @a end def print\_it pu…

---

## [General purpose chomp?](https://www.ruby-forum.com/t/general-purpose-chomp/103615)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/general-purpose-chomp/103615 "2007-05-08T14:51:23Z")

</div>

I wonder why we do not have one. Or maybe I just overlooked something? class String def lstripc c = ’ \\r\\t\\n’ c = c.chr if c.kind\_of? Integer idx = 0 while c.include? self\[idx\] idx += 1 end self\[idx…-1\] end end …

---

## [Send email when a error happens](https://www.ruby-forum.com/t/send-email-when-a-error-happens/90572)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 4\
**Last updated:** [March 30, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/send-email-when-a-error-happens/90572 "2007-03-30T16:36:44Z")

</div>

I have a script in ruby that build a software for me once per day and when the code is wrong and a error, I don’t if the error has ocurred and I don’t know what happened. I wanna know how I can saw the error, I want t…

---

## [\[BUG\]Bus Error](https://www.ruby-forum.com/t/bug-bus-error/89437)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 6:58am UTC](https://www.ruby-forum.com/t/bug-bus-error/89437 "2007-03-21T06:58:30Z")

</div>

i’m using ruby with libxml and libxslt to transfom an xhtml file into an xbel one thru xslt. It seems (not deeply verified) the transform itself works but i get the following error message : $ ./fir2xbel.rb ./fir2xb…

---

## [Problems with tutorial](https://www.ruby-forum.com/t/problems-with-tutorial/84459)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 4\
**Last updated:** [February 4, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/problems-with-tutorial/84459 "2007-02-04T23:40:28Z")

</div>

I’m having some trouble with the instructions at the link below: http://instantrails.rubyforge.org/tutorial/restarting\_the\_dev\_env.html I had started at the tutorial at http://instantrails.rubyforge.org/ tutorial/inde…

---

## [Where are the doc. for "render :update do |page|"?](https://www.ruby-forum.com/t/where-are-the-doc-for-render-update-do-page/82160)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 4\
**Last updated:** [January 22, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/where-are-the-doc-for-render-update-do-page/82160 "2007-01-22T17:43:28Z")

</div>

Hi, I found out there is a new parameter for the “render” function, but I couldn’t find any information or documentation on it, specically on what we can do with |page|, there are examples on the new book “agile Web …

---

## [Beginner issues](https://www.ruby-forum.com/t/beginner-issues/80326)

<div class="topic-metadata">

**Author:** [@animejunkie](https://www.ruby-forum.com/u/animejunkie)\
**Replies:** 4\
**Last updated:** [December 24, 2006, 3:00am UTC](https://www.ruby-forum.com/t/beginner-issues/80326 "2006-12-24T03:00:14Z")

</div>

Hello all, I’m not much of a developer but will be supporting RoR in the near future and thought I would familiarize myself with Ruby a bit. I’m using the “Programming Ruby” book and find that a lot of the examples …

---

## [Strange problem! Form closing tag](https://www.ruby-forum.com/t/strange-problem-form-closing-tag/79135)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 4\
**Last updated:** [December 12, 2006, 4:16pm UTC](https://www.ruby-forum.com/t/strange-problem-form-closing-tag/79135 "2006-12-12T16:16:29Z")

</div>

I have a form tag originaly generated using form\_remote\_tag. After a lot of bewildered testing to see why its values arent being passed on, I realised when looking at the html output that the form has a closing tag on…

---

## [Re: Ubuntu and make check (weird results)](https://www.ruby-forum.com/t/re-ubuntu-and-make-check-weird-results/78161)

<div class="topic-metadata">

**Author:** [@Shravan\_Rayanchu](https://www.ruby-forum.com/u/Shravan_Rayanchu)\
**Replies:** 4\
**Last updated:** [December 4, 2006, 1:59am UTC](https://www.ruby-forum.com/t/re-ubuntu-and-make-check-weird-results/78161 "2006-12-04T01:59:56Z")

</div>

Hi everyone, It turns out there are problems with the install. I get wierd results. I have a gentoo box and a ubuntu box both of which have gnuradio installed. The ubuntu box however failed some make checks (my mail …

---

## [Webrick and Mongrel dies suddenly under Windows XP Prof](https://www.ruby-forum.com/t/webrick-and-mongrel-dies-suddenly-under-windows-xp-prof/73844)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 27, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/webrick-and-mongrel-dies-suddenly-under-windows-xp-prof/73844 "2006-10-27T20:38:14Z")

</div>

Hi, I have a problem that Webrick and even Mongrel suddenly dies. I’m using both under windows xp prof sp2. I can’t see anything in the log files. Any idea? Thanks a lot in advance. Simon

---

## [Nil and empty](https://www.ruby-forum.com/t/nil-and-empty/72435)

<div class="topic-metadata">

**Author:** [@chadster](https://www.ruby-forum.com/u/chadster)\
**Replies:** 4\
**Last updated:** [October 17, 2006, 8:27am UTC](https://www.ruby-forum.com/t/nil-and-empty/72435 "2006-10-17T08:27:23Z")

</div>

First, hats off to rails and the community. I’m definitely a convert. Question: I’m constantly outputting information like so: \<% unless item.empty? %\> Item: \<%= item %\> \<% end %\> But I’m finding that depending on …

---

## [Context of an Error](https://www.ruby-forum.com/t/context-of-an-error/70985)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 3:28pm UTC](https://www.ruby-forum.com/t/context-of-an-error/70985 "2006-10-05T15:28:48Z")

</div>

I feel like I should know how to do this already, but… How do I get the context in which an error was thrown? x = SomeClass def dosomething x.bar end begin dosomething rescue NoMethodError p e.context #=\> SomeCl…

---

## [Article: Ruby for the Java world](https://www.ruby-forum.com/t/article-ruby-for-the-java-world/98887)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/article-ruby-for-the-java-world/98887 "2006-08-03T14:24:31Z")

</div>

Just passing along an article reference that was brought to my attention. Ruby for the Java world July 2006 http://www.javaworld.com/javaworld/jw-07-2006/jw-0717-ruby.html Jamal

---

## [Scope](https://www.ruby-forum.com/t/scope/99563)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 4\
**Last updated:** [July 24, 2006, 4:54am UTC](https://www.ruby-forum.com/t/scope/99563 "2006-07-24T04:54:41Z")

</div>

At my day job this week we released an account manager app that lets people view/manage/pay their bills. It’s a C# .net app, I designed the interface (css, html, js), 10 others did the actual .net stuff (too many cook…

---

## [New user.presentation](https://www.ruby-forum.com/t/new-user-presentation/55239)

<div class="topic-metadata">

**Author:** [@Daan](https://www.ruby-forum.com/u/Daan)\
**Replies:** 4\
**Last updated:** [March 18, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/new-user-presentation/55239 "2006-03-18T15:38:29Z")

</div>

Hi, I’m creating an RoR application right now and i’ve got the following question: An user has one presentation. So i’ve got an user table and in that table is an field fkPresentationID. Now i want to create an new …

---

## [Live search in Rails](https://www.ruby-forum.com/t/live-search-in-rails/54660)

<div class="topic-metadata">

**Author:** [@xcandyman](https://www.ruby-forum.com/u/xcandyman)\
**Replies:** 4\
**Last updated:** [March 12, 2006, 12:56pm UTC](https://www.ruby-forum.com/t/live-search-in-rails/54660 "2006-03-12T12:56:02Z")

</div>

Hi i’ve been trying to implement live search on rails but Im having trouble Im using a tutorial at: http://www.joestelmach.com/blog/live\_search\_with\_ruby\_on\_rails But im getting a syntaxerror on line 1 ‘1: \<% if @it…

---

## [Problemas crear zip de mas de 1,5G](https://www.ruby-forum.com/t/problemas-crear-zip-de-mas-de-1-5g/212150)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 23, 2011, 10:40am UTC](https://www.ruby-forum.com/t/problemas-crear-zip-de-mas-de-1-5g/212150 "2011-09-23T10:40:06Z")

</div>

Muy buenos días. Mi problema es que en la aplicación web que tengo, necesito crear un zip con muchos videos. La aplicación la tengo en el servidor Hostmonster. El caso es que cuando el zip ocupa menos de 1,5 Gigas no …

---

## [Rails, PDFs y DNIe](https://www.ruby-forum.com/t/rails-pdfs-y-dnie/191302)

<div class="topic-metadata">

**Author:** [@xurdekio](https://www.ruby-forum.com/u/xurdekio)\
**Replies:** 0\
**Last updated:** [July 9, 2010, 10:53am UTC](https://www.ruby-forum.com/t/rails-pdfs-y-dnie/191302 "2010-07-09T10:53:57Z")

</div>

Hola, me gustaria saber si alguien a trabajado ya con Rails y el DNIe. En concreto una vez generado el pdf con rails (pdf-writer) poder firmarlo digitalmente a travÃ©s del DNIe. Â¿Conoceis algun servicio web que te pe…

---

## [Rcov help please](https://www.ruby-forum.com/t/rcov-help-please/186369)

<div class="topic-metadata">

**Author:** [@mayur\_sk](https://www.ruby-forum.com/u/mayur_sk)\
**Replies:** 0\
**Last updated:** [April 5, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/rcov-help-please/186369 "2010-04-05T20:56:49Z")

</div>

when i try to rub the command “rake test:units:rcov --trace” i get the following message any suggestions thanks. error i get : C:\\Projects\\FranklinAnywhere\>rake test:units:rcov --trace (in C:/Projects/FranklinAnywher…

---

## [Author fields for posts and comments](https://www.ruby-forum.com/t/author-fields-for-posts-and-comments/167369)

<div class="topic-metadata">

**Author:** [@Erik\_Ostrom](https://www.ruby-forum.com/u/Erik_Ostrom)\
**Replies:** 0\
**Last updated:** [May 7, 2009, 4:51am UTC](https://www.ruby-forum.com/t/author-fields-for-posts-and-comments/167369 "2009-05-07T04:51:22Z")

</div>

I’m trying to write some basic specs for the WordPress converter. Writing specs to ensure authorship is converted correctly for both posts and comments, I found something odd: When you write a post, Content.author i…

---

## [Rflickr: invalid auth token when uploading](https://www.ruby-forum.com/t/rflickr-invalid-auth-token-when-uploading/92289)

<div class="topic-metadata">

**Author:** [@stuart\_updegrave](https://www.ruby-forum.com/u/stuart_updegrave)\
**Replies:** 0\
**Last updated:** [April 17, 2007, 8:44pm UTC](https://www.ruby-forum.com/t/rflickr-invalid-auth-token-when-uploading/92289 "2007-04-17T20:44:12Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I’m working on an application which uses rflickr to upload images to flickr. I’ve generated and cached an auth token as described in the GETTING STARTED document in t…

---

## [Error Log Permissions](https://www.ruby-forum.com/t/error-log-permissions/91266)

<div class="topic-metadata">

**Author:** [@benni](https://www.ruby-forum.com/u/benni)\
**Replies:** 0\
**Last updated:** [April 6, 2007, 4:14am UTC](https://www.ruby-forum.com/t/error-log-permissions/91266 "2007-04-06T04:14:15Z")

</div>

Thanks John for your reply re Radiant Issue Served by Litespeed: \*Tue Apr 3 15:48:22 GMT 2007 \*Trawling though system logs: /opt/lsws/logs \<= where Litespeed is installed cat stderr.log | less Can’t determine the …

---

## [Embedding Ruby in c#](https://www.ruby-forum.com/t/embedding-ruby-in-c/91130)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 0\
**Last updated:** [April 4, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/embedding-ruby-in-c/91130 "2007-04-04T23:35:16Z")

</div>

Hi All I have installed RubyDotNet from here: http://rubydotnet.sourceforge.net/ because I want to embed a Ruby interpreter in C#. In my C# project I added a reference to RubyInterpreter.dll and then tried: RubyDotN…

---

## [AJAX and select](https://www.ruby-forum.com/t/ajax-and-select/208983)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 21, 2011, 2:45am UTC](https://www.ruby-forum.com/t/ajax-and-select/208983 "2011-08-21T02:45:13Z")

</div>

How do I make a observe\_field function on a select in Rails 3?

---

## [Loops in Ruby](https://www.ruby-forum.com/t/loops-in-ruby/180874)

<div class="topic-metadata">

**Author:** [@webbieguy](https://www.ruby-forum.com/u/webbieguy)\
**Replies:** 5\
**Last updated:** [January 1, 2010, 4:55am UTC](https://www.ruby-forum.com/t/loops-in-ruby/180874 "2010-01-01T04:55:15Z")

</div>

Hi, I have a very simple problem. I am a newbie to rails and for the life of me can’t figure out why a simple incrementing loop is not printing to screen correctly. I know this has to be something simple but can’t fi…

---

## [A program error](https://www.ruby-forum.com/t/a-program-error/180272)

<div class="topic-metadata">

**Author:** [@diabolator2](https://www.ruby-forum.com/u/diabolator2)\
**Replies:** 5\
**Last updated:** [December 16, 2009, 9:39am UTC](https://www.ruby-forum.com/t/a-program-error/180272 "2009-12-16T09:39:03Z")

</div>

hi, all! my compiler doesn’t like the “minus” in line 21, it’s like: /home/cristi/NetBeansProjects/RubyApplication3/lib/helic.rb:21: undefined method \`-’ for “”:String (NoMethodError) 1 require “init.rb” 2 3 shots…

---

## [Get domain](https://www.ruby-forum.com/t/get-domain/132068)

<div class="topic-metadata">

**Author:** [@rpierry](https://www.ruby-forum.com/u/rpierry)\
**Replies:** 5\
**Last updated:** [March 16, 2008, 4:40pm UTC](https://www.ruby-forum.com/t/get-domain/132068 "2008-03-16T16:40:10Z")

</div>

Hi guys, I’m trying to work out how to request the URL in RoR - the only help page I’ve found is http://textsnippets com/posts/show/822 which has the following code: \<% page = request.request\_uri %\> page: \<%= page %\>…

---

## [New to ruby Please help me](https://www.ruby-forum.com/t/new-to-ruby-please-help-me/122553)

<div class="topic-metadata">

**Author:** [@Mail\_from\_RAMU](https://www.ruby-forum.com/u/Mail_from_RAMU)\
**Replies:** 5\
**Last updated:** [December 9, 2007, 6:08pm UTC](https://www.ruby-forum.com/t/new-to-ruby-please-help-me/122553 "2007-12-09T18:08:52Z")

</div>

Hi All, I am very new to Ruby programming language and I am very much interested by looking at the demos of Ruby and Ruby on Rails. I want to learn the nuts and bolts of Ruby as quickly as possible. Please help me i…

---

## [Microsoft announces IronRuby](https://www.ruby-forum.com/t/microsoft-announces-ironruby/103033)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/microsoft-announces-ironruby/103033 "2007-09-25T23:04:24Z")

</div>

Interesting. http://news.com.com/2100-1012\_3-6180322.html?part=rss&tag=2547-1\_3-0-5&subj=news

---

## [Any opinions on the Rails \[Rough Cuts\] books from Safari](https://www.ruby-forum.com/t/any-opinions-on-the-rails-rough-cuts-books-from-safari/101430)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 5\
**Last updated:** [August 5, 2006, 12:19am UTC](https://www.ruby-forum.com/t/any-opinions-on-the-rails-rough-cuts-books-from-safari/101430 "2006-08-05T00:19:38Z")

</div>

Either - Ruby on Rails: Up and Running or Rails Cookbook I’ve heard so many negative things about Safari pdf’s and the whole program I’d like to get some feedback. I have AWDWR(2nd edition), RubyforRails(Manning), P…

---

## [Getting Session ID](https://www.ruby-forum.com/t/getting-session-id/59171)

<div class="topic-metadata">

**Author:** [@wmerydith](https://www.ruby-forum.com/u/wmerydith)\
**Replies:** 5\
**Last updated:** [May 3, 2006, 7:10pm UTC](https://www.ruby-forum.com/t/getting-session-id/59171 "2006-05-03T19:10:35Z")

</div>

I thought I understood how to grab the session id but in the following code I am getting null for the session id: @foo = Foo.new(:session\_id =\> session\[:session\_id\], :test\_id =\> @test.id)

---

## [Getting started](https://www.ruby-forum.com/t/getting-started/231368)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 5, 2014, 11:24am UTC](https://www.ruby-forum.com/t/getting-started/231368 "2014-08-05T11:24:31Z")

</div>

OK, I am lost… I have installed both Ruby & Rails. $ ruby -v ruby 2.1.2p95 (2014-05-08 revision 45877) \[x86\_64-linux\] $ rails -v Rails 4.1.4 I have created a new application and linked it to the document root: rai…

---

## [How can I check this?](https://www.ruby-forum.com/t/how-can-i-check-this/230696)

<div class="topic-metadata">

**Author:** [@jaimin26783](https://www.ruby-forum.com/u/jaimin26783)\
**Replies:** 2\
**Last updated:** [June 30, 2014, 6:01pm UTC](https://www.ruby-forum.com/t/how-can-i-check-this/230696 "2014-06-30T18:01:01Z")

</div>

Hello, Suppose I have this model : class Member \< ActiveRecord::Base end Now I have this controller : class MemberController \< ApplicationController def new @member = member end end and this form : Add a new m…

---

## [Recover select value](https://www.ruby-forum.com/t/recover-select-value/230056)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [May 28, 2014, 5:05pm UTC](https://www.ruby-forum.com/t/recover-select-value/230056 "2014-05-28T17:05:21Z")

</div>

I have in my view a select \<%= select :nomdefaut, @mydefaut, @ndefaut%\> I see the different values of @ndefaut but then but then @mydefaut is supposed to contain the selected value in the list but when I display @myd…

---

## [Bootstrap Navbar, with options updating a yield in the same view?](https://www.ruby-forum.com/t/bootstrap-navbar-with-options-updating-a-yield-in-the-same-view/240040)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 26, 2014, 12:08pm UTC](https://www.ruby-forum.com/t/bootstrap-navbar-with-options-updating-a-yield-in-the-same-view/240040 "2014-03-26T12:08:29Z")

</div>

So after a couple of days of trawling various forums, tutorials etc - I’m still no closer to doing what is seemingly something straightforward - namely, have links on a Navbar populate a named yield with the contents …

---

## [RTLSDR dongle posting](https://www.ruby-forum.com/t/rtlsdr-dongle-posting/239603)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 6, 2014, 10:39pm UTC](https://www.ruby-forum.com/t/rtlsdr-dongle-posting/239603 "2014-03-06T22:39:56Z")

</div>

Hi, The reason I signed up was that I saw a post (Google) on GNU Radio regarding the RTLSDR dongles to which I wanted to respond. How do I attach a post to a thread from the recent past for which I do not have the …

---

## [Pmt memory management](https://www.ruby-forum.com/t/pmt-memory-management/239351)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 24, 2014, 4:21pm UTC](https://www.ruby-forum.com/t/pmt-memory-management/239351 "2014-02-24T16:21:32Z")

</div>

Hi Guys, Does copying a large pmt vector involve copying the underlying memory region or do they share a single copy (refcounted)? If the do share a single memory area, then can one thread modify the data of the vecto…

---

## [Upgraded to 1.5.10 - Site Still SPDY/2?](https://www.ruby-forum.com/t/upgraded-to-1-5-10-site-still-spdy-2/238933)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [February 5, 2014, 4:13am UTC](https://www.ruby-forum.com/t/upgraded-to-1-5-10-site-still-spdy-2/238933 "2014-02-05T04:13:23Z")

</div>

I upgraded my Nginx reverse proxy to 1.5.10 using the official Ubuntu Precise Nginx packages, but my site is still reporting SPDY/2 in Chrome. Do I need to do something more drastic than issuing a kill -HUP on the ma…

---

## [Cannot run second rails app in second domain (in vps)](https://www.ruby-forum.com/t/cannot-run-second-rails-app-in-second-domain-in-vps/238183)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 21, 2013, 5:34pm UTC](https://www.ruby-forum.com/t/cannot-run-second-rails-app-in-second-domain-in-vps/238183 "2013-12-21T17:34:21Z")

</div>

Hi for everyone. I have a problem with my vps and my app in rails. A few months I constructed an app with rails, in my vps, the application is working fine, without any problem, i working with a version 4.0 and the …

---

## [Help planning out a GPA program](https://www.ruby-forum.com/t/help-planning-out-a-gpa-program/237420)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 19, 2013, 7:47am UTC](https://www.ruby-forum.com/t/help-planning-out-a-gpa-program/237420 "2013-11-19T07:47:35Z")

</div>

Any advice as to how I should format a GPA program I am making. You have the user input how many classes they take, then you ask for their grade percentages, then you convert them to grade points and calculate the ave…

---

## [Add header after fcgi handling](https://www.ruby-forum.com/t/add-header-after-fcgi-handling/221988)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 8, 2012, 1:32pm UTC](https://www.ruby-forum.com/t/add-header-after-fcgi-handling/221988 "2012-08-08T13:32:11Z")

</div>

Hi, please can anybody help me, I’m stucked and sure that I think in wrong way. the .htaccess /web/root/interfaces/.htaccess RewriteEngine on RewriteBase /interfaces RewriteRule ^json/(.\*) index.php?x=$1&%{QUERY\_S…

---

## [Nested form and has\_many :through](https://www.ruby-forum.com/t/nested-form-and-has-many-through/220724)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 19, 2012, 5:26pm UTC](https://www.ruby-forum.com/t/nested-form-and-has-many-through/220724 "2012-06-19T17:26:20Z")

</div>

I have a little sample app where there are 3 models: Members, Groups and Subscriptions. The idea is that member can subscribe to groups. https://lh4.googleusercontent.com/-sOcmxtSyn0E/T99a4R2vlLI/AAAAAAAAACo/d1uypAxeBY…

---

## [Ruby Suddenly Requiring osax Before Playing Sound](https://www.ruby-forum.com/t/ruby-suddenly-requiring-osax-before-playing-sound/220285)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [June 9, 2012, 6:31pm UTC](https://www.ruby-forum.com/t/ruby-suddenly-requiring-osax-before-playing-sound/220285 "2012-06-09T18:31:29Z")

</div>

Greetings, folks! Ruby just started requiring an osax call before a sound would play. In the following example script, the sound will not play without the prior “osax.say” call. It is part of scripts that ran fine for…

---

## [Rails 3.1 compress assets production fails when compress is set to true](https://www.ruby-forum.com/t/rails-3-1-compress-assets-production-fails-when-compress-is-set-to-true/215853)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 22, 2012, 1:59pm UTC](https://www.ruby-forum.com/t/rails-3-1-compress-assets-production-fails-when-compress-is-set-to-true/215853 "2012-01-22T13:59:46Z")

</div>

Hi, I can deploy to staging fine. When i try and deploy to production i get the following error below, it gets so far and then bombs out. RAILS\_ENV=production bundle exec rake assets:precompile --trace mkdir -p /var…

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

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