# Top

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

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

---

## [Using rails-generated code in "show"](https://www.ruby-forum.com/t/using-rails-generated-code-in-show/88591)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 2\
**Last updated:** [March 13, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/using-rails-generated-code-in-show/88591 "2007-03-13T17:42:56Z")

</div>

Hi! I used scaffold to create my mvc for my table. I have only written one other ROR application, and since I was winging it, I didn’t take advantage of the rails-generate code. My scenario is: User clicks save on …

---

## [Bugs sur x.month.ago](https://www.ruby-forum.com/t/bugs-sur-x-month-ago/87455)

<div class="topic-metadata">

**Author:** [@didier\_lafforgue](https://www.ruby-forum.com/u/didier_lafforgue)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/bugs-sur-x-month-ago/87455 "2007-03-02T20:18:15Z")

</div>

Ola, J’ai pas encore effectue mes recherches sur google donc peut-etre que cela ete deja decrit. Aujourd’hui, j’ai remarque que mon application n’affichait pas correctement le nom des 3 derniers mois, j’avais comme …

---

## [Display pictures in database](https://www.ruby-forum.com/t/display-pictures-in-database/81172)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 2\
**Last updated:** [January 5, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/display-pictures-in-database/81172 "2007-01-05T20:56:24Z")

</div>

I can upload pictures to a database, then display all pictures via the filename, the files are currently stored on the filesystem… for picture in @pictures -%\> \<%=image\_tag(picture.name, :size=\>"50x…

---

## [Como se hace debug en aplicaciones web](https://www.ruby-forum.com/t/como-se-hace-debug-en-aplicaciones-web/75193)

<div class="topic-metadata">

**Author:** [@sebacipo](https://www.ruby-forum.com/u/sebacipo)\
**Replies:** 2\
**Last updated:** [November 9, 2006, 9:15am UTC](https://www.ruby-forum.com/t/como-se-hace-debug-en-aplicaciones-web/75193 "2006-11-09T09:15:53Z")

</div>

hola amigos resulta que soy nuevo en esto de la programacion web y RoR, por lo tanto no se como se debe hacer un debug de mis aplicaciones. estoy trabajando con radrails, no se si el IDE tiene algo para hacer eso, pe…

---

## [Using here documents in views](https://www.ruby-forum.com/t/using-here-documents-in-views/69613)

<div class="topic-metadata">

**Author:** [@mankeyrabbit](https://www.ruby-forum.com/u/mankeyrabbit)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 4:49pm UTC](https://www.ruby-forum.com/t/using-here-documents-in-views/69613 "2006-09-22T16:49:35Z")

</div>

I’m trying to use a here document to define a multiple-line string in a .rhtml file. I keep getting compile errors- “the specified string (by identifier) could not be found before EOF” I’m trying: \<% my\_str = \<\<MY\_E…

---

## [Q about the FasterCSV](https://www.ruby-forum.com/t/q-about-the-fastercsv/58921)

<div class="topic-metadata">

**Author:** [@eric99](https://www.ruby-forum.com/u/eric99)\
**Replies:** 2\
**Last updated:** [April 27, 2006, 7:50am UTC](https://www.ruby-forum.com/t/q-about-the-fastercsv/58921 "2006-04-27T07:50:43Z")

</div>

Hi, I have a csv file, which has the following data, for example: test.csv line 1, “1” line 2, “2” And I use the following code snippet to parse this file, require ‘fastercsv’ FasterCSV.read(“test.csv”) unfortunat…

---

## [Automatic finder](https://www.ruby-forum.com/t/automatic-finder/57703)

<div class="topic-metadata">

**Author:** [@sfwalter](https://www.ruby-forum.com/u/sfwalter)\
**Replies:** 2\
**Last updated:** [April 13, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/automatic-finder/57703 "2006-04-13T14:23:33Z")

</div>

It looks rails automatically creates a “finder” method on models that have a “belongs\_to”. So I tried this in the console: c = Category.find(2) chunks = Chunk.find\_by\_category(c) chunks is always returned as an empt…

---

## [Dreaded "Application error" Apache2](https://www.ruby-forum.com/t/dreaded-application-error-apache2/49553)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [December 6, 2005, 3:47pm UTC](https://www.ruby-forum.com/t/dreaded-application-error-apache2/49553 "2005-12-06T15:47:01Z")

</div>

Hello, I’ve been struggling for well over 6 hours which qualifies me as being allowed to post a question to the list. I am trying to get my Rails application to run under Apache. It works fine with WEBrick. Apache is…

---

## [FormOptionsHelper select call failing](https://www.ruby-forum.com/t/formoptionshelper-select-call-failing/47934)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 2\
**Last updated:** [November 15, 2005, 4:24pm UTC](https://www.ruby-forum.com/t/formoptionshelper-select-call-failing/47934 "2005-11-15T16:24:00Z")

</div>

In Rails 0.14.3, I’m doing the following in a view: \<%= select 'folder', 'format', \['a', 'b', 'c'\] %\> This line in is failing with: ActionView::TemplateError (too few arguments.) Am I calling select incorrectly? (Y…

---

## [Model issues with ruby on rails 3](https://www.ruby-forum.com/t/model-issues-with-ruby-on-rails-3/218809)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 13, 2012, 6:36pm UTC](https://www.ruby-forum.com/t/model-issues-with-ruby-on-rails-3/218809 "2012-04-13T18:36:18Z")

</div>

@user = User.find\_by\_user\_name(user\_name) if !@user.business\_admins.nil? puts “Am here” @business\_admin = @user.business\_admins\[0\] end class User \< ActiveRecord::Base has\_many :business\_admins end class BusinessA…

---

## [Newbie route issue](https://www.ruby-forum.com/t/newbie-route-issue/214549)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [December 5, 2011, 9:45pm UTC](https://www.ruby-forum.com/t/newbie-route-issue/214549 "2011-12-05T21:45:06Z")

</div>

I am writing my first RoR app. I have used the following command to create several pages: $ rails generate controller home index (I created home, news, gallery, contact,…) I created the menus in app/views/layouts/app…

---

## [Scalability of Rails](https://www.ruby-forum.com/t/scalability-of-rails/206209)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 26, 2011, 10:35pm UTC](https://www.ruby-forum.com/t/scalability-of-rails/206209 "2011-04-26T22:35:45Z")

</div>

I was told Ruby on Rails has limitation in scalability. What exactly is hindering RoR to scale up (is it true that Twitter switched from RoR to Scala)? Any solution or active projects to resolve scalability issues?

---

## [Abstract classes and modules](https://www.ruby-forum.com/t/abstract-classes-and-modules/199748)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [November 28, 2010, 8:43pm UTC](https://www.ruby-forum.com/t/abstract-classes-and-modules/199748 "2010-11-28T20:43:55Z")

</div>

Hello, for some code I am writing, I’d like to have a couple of abstract classes. However I am not very sure how to go about it in Ruby. Ideally all I would need is: The class cannot be instantiated and/or The clas…

---

## [Model Magic](https://www.ruby-forum.com/t/model-magic/186930)

<div class="topic-metadata">

**Author:** [@algnod](https://www.ruby-forum.com/u/algnod)\
**Replies:** 5\
**Last updated:** [April 15, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/model-magic/186930 "2010-04-15T16:24:35Z")

</div>

\[\].eql? @product.files =\> false @product.files.eql? \[\] =\> true version: 2.3.5 Product :has\_many files

---

## [Problem with compiling Ruby-1.9.1-p243](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 5\
**Last updated:** [October 29, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/problem-with-compiling-ruby-1-9-1-p243/178142 "2009-10-29T19:27:04Z")

</div>

Hi…I am having problem to compile Ruby-1.9.1-p243 on AIX 5.3. Can anyone help me? Thanks Richard

---

## [Strip doesn't take a character set?](https://www.ruby-forum.com/t/strip-doesnt-take-a-character-set/169804)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 5\
**Last updated:** [June 9, 2009, 12:16am UTC](https://www.ruby-forum.com/t/strip-doesnt-take-a-character-set/169804 "2009-06-09T00:16:03Z")

</div>

I wanna do something like newstr = str.strip(/\\D/) I know I could do newstr = str.sub(/^\\D\*/,’’).sub(/\\D\*$/,’’), but is there any better way? xc

---

## [Rails Framework](https://www.ruby-forum.com/t/rails-framework/160517)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [February 24, 2009, 4:50pm UTC](https://www.ruby-forum.com/t/rails-framework/160517 "2009-02-24T16:50:35Z")

</div>

When I try to create new rails framework I’ getting the follow error. I’ve had to reinstall ruby and ruby gem. /Library/Ruby/Site/1.8/rubygems.rb:149:in activate': can't activate activesupport (= 2.1.0, runtime), alrea…

---

## [Constructors](https://www.ruby-forum.com/t/constructors/152409)

<div class="topic-metadata">

**Author:** [@exiquio](https://www.ruby-forum.com/u/exiquio)\
**Replies:** 5\
**Last updated:** [November 4, 2008, 1:56pm UTC](https://www.ruby-forum.com/t/constructors/152409 "2008-11-04T13:56:20Z")

</div>

The following is the beginning of a Java-esque new operator. def new o o.class == Class ? o.new : o end Used with the String class you can do: new String # =\> “” new String(‘foo’) # =\> “foo” But this is not the ca…

---

## [About test database](https://www.ruby-forum.com/t/about-test-database/152158)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 5\
**Last updated:** [October 31, 2008, 1:00pm UTC](https://www.ruby-forum.com/t/about-test-database/152158 "2008-10-31T13:00:22Z")

</div>

i have a conclusion to make sure,that is : when testing codes, only the fixtures data are stored in the test database table after running the test and the model saved during runing test method is not stored in the te…

---

## [Conditional RJS for :create action](https://www.ruby-forum.com/t/conditional-rjs-for-create-action/145023)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 5\
**Last updated:** [September 12, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/conditional-rjs-for-create-action/145023 "2008-09-12T19:41:18Z")

</div>

I need to create Replies to Comments using RJS. The interface has determined two different ways of creating replies. One could be seen as a ‘inline reply’ approach (once posted, the reply pops in to view, in place of …

---

## [Running tests](https://www.ruby-forum.com/t/running-tests/146875)

<div class="topic-metadata">

**Author:** [@robertpostill](https://www.ruby-forum.com/u/robertpostill)\
**Replies:** 5\
**Last updated:** [August 26, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/running-tests/146875 "2008-08-26T20:30:28Z")

</div>

Hi, In a controler, how can we check that we are running a test (rake test). Is there a connection object?

---

## [Database error](https://www.ruby-forum.com/t/database-error/144908)

<div class="topic-metadata">

**Author:** [@wawa88](https://www.ruby-forum.com/u/wawa88)\
**Replies:** 5\
**Last updated:** [August 5, 2008, 4:15am UTC](https://www.ruby-forum.com/t/database-error/144908 "2008-08-05T04:15:18Z")

</div>

Hi i am new to ruby on rails. I am using RMail which is ruby mail to read the email that i fetch from. When the rmail read the email it will insert the data inside the email to the database which i have created in the…

---

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

<div class="topic-metadata">

**Author:** [@Bob\_McGwier](https://www.ruby-forum.com/u/Bob_McGwier)\
**Replies:** 5\
**Last updated:** [June 26, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/pmt/141468 "2008-06-26T15:06:35Z")

</div>

Forcing PMT to be in /usr/local/lib is a problem. Why shouldn’t I check in a “fix”? Bob

---

## [Searching with Char like #](https://www.ruby-forum.com/t/searching-with-char-like/196723)

<div class="topic-metadata">

**Author:** [@eagoweb](https://www.ruby-forum.com/u/eagoweb)\
**Replies:** 5\
**Last updated:** [June 25, 2008, 8:08pm UTC](https://www.ruby-forum.com/t/searching-with-char-like/196723 "2008-06-25T20:08:14Z")

</div>

Hello i got a field to search a name in the DB The problem is that the name could have char like # so in my view: \<%= text\_field\_with\_auto\_complete :member, :name%\> \<%= observe\_field ‘member\_name’, :frequency =\> 0.5…

---

## [Rails Transactions](https://www.ruby-forum.com/t/rails-transactions/134405)

<div class="topic-metadata">

**Author:** [@MohsinHijazee](https://www.ruby-forum.com/u/MohsinHijazee)\
**Replies:** 5\
**Last updated:** [April 16, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/rails-transactions/134405 "2008-04-16T17:56:48Z")

</div>

Hi! I am confused about Rails transactions… Look at the following code: CODE BEGINS def save\_instances(entity\_id, instance\_resources) # This contains the instance ids of the newly created instances instance\_ids = \[\] …

---

## [NEED HELP dieing here](https://www.ruby-forum.com/t/need-help-dieing-here/130867)

<div class="topic-metadata">

**Author:** [@sweiss](https://www.ruby-forum.com/u/sweiss)\
**Replies:** 5\
**Last updated:** [March 4, 2008, 1:34am UTC](https://www.ruby-forum.com/t/need-help-dieing-here/130867 "2008-03-04T01:34:31Z")

</div>

When I try and use rjs rails just outputs the text of the javascript I am trying to call with page.call javascript is enabled, I have tried setting config.action\_view.debug\_rjs to false and commenting it out in the d…

---

## [How to implement class constants?](https://www.ruby-forum.com/t/how-to-implement-class-constants/129403)

<div class="topic-metadata">

**Author:** [@ruud](https://www.ruby-forum.com/u/ruud)\
**Replies:** 5\
**Last updated:** [February 18, 2008, 1:50pm UTC](https://www.ruby-forum.com/t/how-to-implement-class-constants/129403 "2008-02-18T13:50:31Z")

</div>

hi list, what construct do I have to use in Ruby to create class constants (so no instance necessary to use it)? thanks, Ruud

---

## [Ruby-prof-0.4.0](https://www.ruby-forum.com/t/ruby-prof-0-4-0/64078)

<div class="topic-metadata">

**Author:** [@charlieuk](https://www.ruby-forum.com/u/charlieuk)\
**Replies:** 5\
**Last updated:** [June 23, 2006, 12:09am UTC](https://www.ruby-forum.com/t/ruby-prof-0-4-0/64078 "2006-06-23T00:09:33Z")

</div>

Shugo and I are happy to announce the release of ruby-prof 0.4.0, which is chock full of new features: Addition of call graph profiles similar to GProf Improved speed - overhead is now as low as 15% for some code,…

---

## [Testing Rails app](https://www.ruby-forum.com/t/testing-rails-app/221877)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 3, 2012, 10:47am UTC](https://www.ruby-forum.com/t/testing-rails-app/221877 "2012-08-03T10:47:55Z")

</div>

Hi everyone i want to test a rails app and i have no idea on testing the rails app. Can any guide me how to test a rails app and what are the best way to test an app. Thanks in advance

---

## [Accessing a web page and looking for a file and downloading if found](https://www.ruby-forum.com/t/accessing-a-web-page-and-looking-for-a-file-and-downloading-if-found/217162)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 23, 2012, 3:12pm UTC](https://www.ruby-forum.com/t/accessing-a-web-page-and-looking-for-a-file-and-downloading-if-found/217162 "2012-02-23T15:12:18Z")

</div>

Hi Team, I was wondering what will be a good tool/gem to use in Ruby to: Access a public website. Look for the existence of a tiff file Download the tiff file if exists I installed a tool I found, httparty, at Gems |…

---

## [Autocomplete plugin](https://www.ruby-forum.com/t/autocomplete-plugin/206812)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [May 11, 2011, 6:23pm UTC](https://www.ruby-forum.com/t/autocomplete-plugin/206812 "2011-05-11T18:23:07Z")

</div>

Hi Is it possible to use the autocomplete plugin to search using a keyword on more than one field of a model? How can I do that?

---

## [Problems moving and renaming pictures with this code, what wrong?](https://www.ruby-forum.com/t/problems-moving-and-renaming-pictures-with-this-code-what-wrong/204868)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 25, 2011, 12:24pm UTC](https://www.ruby-forum.com/t/problems-moving-and-renaming-pictures-with-this-code-what-wrong/204868 "2011-03-25T12:24:28Z")

</div>

Hi, I have been reading the book called “Learning to Program” and I have to say it, for beginners this is a great book, anyways, while practicing the exercises found in the book I came across this code that for some …

---

## [Not able to insert value in rails console](https://www.ruby-forum.com/t/not-able-to-insert-value-in-rails-console/201385)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 7, 2011, 10:58am UTC](https://www.ruby-forum.com/t/not-able-to-insert-value-in-rails-console/201385 "2011-01-07T10:58:37Z")

</div>

I am using authlogic for authentication in rails 3.0.3 with ruby 1.9.2 Using activerecord-sqlserver-adapter (3.0.5) windows with sqlserver database when i create user details in rails console, i am getting below error…

---

## [How to insert static pages and how to develop a website using ROR?](https://www.ruby-forum.com/t/how-to-insert-static-pages-and-how-to-develop-a-website-using-ror/199190)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 16, 2010, 5:54pm UTC](https://www.ruby-forum.com/t/how-to-insert-static-pages-and-how-to-develop-a-website-using-ror/199190 "2010-11-16T17:54:51Z")

</div>

Hi all… I configured ROR successfully…and i practiced 2-3 sample applications Using ROR like creating a video\_jukebox and displaying a list of tickets etc… but now i want to build a real time project using ROR.That i…

---

## [Multi usrp, 1 odd channel, HW problem?](https://www.ruby-forum.com/t/multi-usrp-1-odd-channel-hw-problem/197457)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 28, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/multi-usrp-1-odd-channel-hw-problem/197457 "2010-10-28T23:51:30Z")

</div>

Hi all- I have a multi-usrp setup with 2 USRP 1s and 4 WBX daughtercards. I have performed the clock synching described here: http://gnuradio.org/redmine/wiki/1/MultiUsrp I’m doing 4-channel receive, using a power sp…

---

## [Sqlite3-ruby failing on 1.9.2?](https://www.ruby-forum.com/t/sqlite3-ruby-failing-on-1-9-2/194822)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 4\
**Last updated:** [September 12, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/sqlite3-ruby-failing-on-1-9-2/194822 "2010-09-12T21:53:27Z")

</div>

I have apps working on 1.9.1 but simple inserts are failing on 1.9.2. Is there some change in versions required, I’ve got latest versions. OS X 10.6 sqlite3 3.6.22 sqlite3-ruby 1.3.1 If I issue as simple stat…

---

## [Starting with RoR](https://www.ruby-forum.com/t/starting-with-ror/192031)

<div class="topic-metadata">

**Author:** [@disruptive](https://www.ruby-forum.com/u/disruptive)\
**Replies:** 4\
**Last updated:** [July 22, 2010, 4:47pm UTC](https://www.ruby-forum.com/t/starting-with-ror/192031 "2010-07-22T16:47:00Z")

</div>

A newbie on Rails… I am quite experienced at developing fully fledged sites in a variety of languages - but mainly based around .NET and perl \[not together :-)\]. I am considering deploying a new solution in RoR and th…

---

## [Gnu Radio built on Sheeva Plug](https://www.ruby-forum.com/t/gnu-radio-built-on-sheeva-plug/186173)

<div class="topic-metadata">

**Author:** [@Marcus\_DSLeech](https://www.ruby-forum.com/u/Marcus_DSLeech)\
**Replies:** 4\
**Last updated:** [April 1, 2010, 11:55pm UTC](https://www.ruby-forum.com/t/gnu-radio-built-on-sheeva-plug/186173 "2010-04-01T23:55:08Z")

</div>

I built and installed Gnu Radio from the trunk on my Sheeva Plug last night. I went with a Fedora system image, which is designed to fit in the 512MB on-card NAND flash. That image is woefully inadequate to build G…

---

## [Records created while tests are running are not being saved](https://www.ruby-forum.com/t/records-created-while-tests-are-running-are-not-being-saved/185327)

<div class="topic-metadata">

**Author:** [@Vikrant\_C](https://www.ruby-forum.com/u/Vikrant_C)\
**Replies:** 4\
**Last updated:** [March 18, 2010, 7:01pm UTC](https://www.ruby-forum.com/t/records-created-while-tests-are-running-are-not-being-saved/185327 "2010-03-18T19:01:16Z")

</div>

In following code - require “test\_helper” Class SomeControllerTest \< ActionController::TestCase def test\_something record = SomeModel.create :name =\> ‘test’ record.save! gets end end Above record is not being sa…

---

## [Blog and comment](https://www.ruby-forum.com/t/blog-and-comment/184362)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/blog-and-comment/184362 "2010-03-01T17:11:48Z")

</div>

Hello everyone, I’d like to implement a blog on my site. I can do this easily enough using the built in scaffolding, and then amend it accordingly. However, I’d quite like users to be able to comment on blogs, and to …

---

## [BigDecimal and BigMath](https://www.ruby-forum.com/t/bigdecimal-and-bigmath/180292)

<div class="topic-metadata">

**Author:** [@devbanana](https://www.ruby-forum.com/u/devbanana)\
**Replies:** 4\
**Last updated:** [December 17, 2009, 3:18pm UTC](https://www.ruby-forum.com/t/bigdecimal-and-bigmath/180292 "2009-12-17T15:18:16Z")

</div>

Hi, I am developing an application that requires very large numbers, so I am using BigDecimal. I wanted to use atan, and saw that there was a bigdecimal/math, which allows you to use an atan that supports BigDecimal…

---

## [Need help named route and link\_to](https://www.ruby-forum.com/t/need-help-named-route-and-link-to/178212)

<div class="topic-metadata">

**Author:** [@cswebgrl](https://www.ruby-forum.com/u/cswebgrl)\
**Replies:** 4\
**Last updated:** [October 31, 2009, 12:34am UTC](https://www.ruby-forum.com/t/need-help-named-route-and-link-to/178212 "2009-10-31T00:34:49Z")

</div>

Hi, In my application I’ve set up a custom route that works as long as I stay within the same model. This makes me think that I must have something wrong with the route. map.agent ‘:agent’, :controller =\> ‘agents’, …

---

## [Calling partials from onother controller/view](https://www.ruby-forum.com/t/calling-partials-from-onother-controller-view/176922)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 4\
**Last updated:** [October 8, 2009, 11:54pm UTC](https://www.ruby-forum.com/t/calling-partials-from-onother-controller-view/176922 "2009-10-08T23:54:52Z")

</div>

Hi, I’m learning rails and my first application is a simple gallery that pulls photos from flickr using flickraw. The site has 3 main zones: Left: where all albums are listed Center: where a photo is shown Bottom: …

---

## [Fragment caching strategy](https://www.ruby-forum.com/t/fragment-caching-strategy/176586)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 4\
**Last updated:** [October 3, 2009, 1:45pm UTC](https://www.ruby-forum.com/t/fragment-caching-strategy/176586 "2009-10-03T13:45:07Z")

</div>

Right now, I have the :action\_suffix for a fragment I cache such that I can find it when I need to delete it from the cache. But an episode on Rails Casts gave the idea that another approach is to not worry about del…

---

## [1 Form \> 2 Models \> 2nd Model Requres 1st Model ID](https://www.ruby-forum.com/t/1-form-2-models-2nd-model-requres-1st-model-id/174535)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 4\
**Last updated:** [August 31, 2009, 8:40am UTC](https://www.ruby-forum.com/t/1-form-2-models-2nd-model-requres-1st-model-id/174535 "2009-08-31T08:40:11Z")

</div>

Hey Everyone, So I have one form that submits information to create 2 models (A, B). I need the ID of model A to be inserted into model B. But the ID isn’t created until it hits the database (auto\_increment). But if f…

---

## [Getting user input from user on a webpage?](https://www.ruby-forum.com/t/getting-user-input-from-user-on-a-webpage/169897)

<div class="topic-metadata">

**Author:** [@b1gtuna](https://www.ruby-forum.com/u/b1gtuna)\
**Replies:** 4\
**Last updated:** [June 10, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/getting-user-input-from-user-on-a-webpage/169897 "2009-06-10T16:41:50Z")

</div>

Hello, I was wondering if there is a way for a ruby script to get a user input when it’s running on a webserver. I need a basic function like where there user can click on a button on a website which will invoke a met…

---

## [Whats wrong with my collection\_select](https://www.ruby-forum.com/t/whats-wrong-with-my-collection-select/157989)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 4\
**Last updated:** [January 18, 2009, 4:14am UTC](https://www.ruby-forum.com/t/whats-wrong-with-my-collection-select/157989 "2009-01-18T04:14:31Z")

</div>

Hi I have two tables Projects and Tasks each with their own respective Ms Vs and Cs In my add task view I want to have a drop down box with Project names. I cant get it to work though. Ive read posts here, the api and…

---

## [Installing and using restful\_auth](https://www.ruby-forum.com/t/installing-and-using-restful-auth/157203)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/installing-and-using-restful-auth/157203 "2009-01-08T16:40:25Z")

</div>

Dear all, I’ve saw a plugin called restful\_auth several times in rails community, but I couldn’t find any resources on how to use it. Does anyone know how to install and use it? Help really appreciated. Best regards, …

---

## [Single sign on](https://www.ruby-forum.com/t/single-sign-on/152401)

<div class="topic-metadata">

**Author:** [@newguy](https://www.ruby-forum.com/u/newguy)\
**Replies:** 4\
**Last updated:** [November 4, 2008, 5:44pm UTC](https://www.ruby-forum.com/t/single-sign-on/152401 "2008-11-04T17:44:53Z")

</div>

about

---

## [Accessing Ruby Object in Memory](https://www.ruby-forum.com/t/accessing-ruby-object-in-memory/150820)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 4\
**Last updated:** [October 13, 2008, 9:35pm UTC](https://www.ruby-forum.com/t/accessing-ruby-object-in-memory/150820 "2008-10-13T21:35:43Z")

</div>

Hello all, I have a long running Ruby simulation in which data is stored to Ruby hashes throughout the simulation. I’d like to be able to access the hashes in memory from another Ruby script while the simulation is s…

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

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