# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1462

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

---

## [Screenshot](https://www.ruby-forum.com/t/screenshot/130654)

<div class="topic-metadata">

**Author:** [@pabloz](https://www.ruby-forum.com/u/pabloz)\
**Replies:** 10\
**Last updated:** [March 3, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/screenshot/130654 "2008-03-03T21:23:08Z")

</div>

Hi guys! Is it possible to make a screenshot of a webpage? I really need to make a screenshot and cut out part of a page. I guess it will be pretty hard :slight\_smile: thanks

---

## [Excluding add/remove options but leaving the edit as-is](https://www.ruby-forum.com/t/excluding-add-remove-options-but-leaving-the-edit-as-is/130836)

<div class="topic-metadata">

**Author:** [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/excluding-add-remove-options-but-leaving-the-edit-as-is/130836 "2008-03-03T20:33:24Z")

</div>

Hello, I am creating the admin section for a client using active-scaffold. I think keeping AS on the side, what I would like to do is allow the admin to add/edit/delete certain pages - driven by the pages controller w…

---

## [Dreamhost PS - Configuration question](https://www.ruby-forum.com/t/dreamhost-ps-configuration-question/130839)

<div class="topic-metadata">

**Author:** [@Klaus\_Paiva](https://www.ruby-forum.com/u/Klaus_Paiva)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/dreamhost-ps-configuration-question/130839 "2008-03-03T20:07:35Z")

</div>

Hello, I was looking DreamHost PS (http://www.dreamhostps.com/) and through support they said that a minimum (good) configuration will be 300/300 (300mhz of CPU and 300mb of RAM). I’ll run my app over mongrel. My app…

---

## [Problems with file\_column and rmagick](https://www.ruby-forum.com/t/problems-with-file-column-and-rmagick/124231)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/problems-with-file-column-and-rmagick/124231 "2008-03-03T19:42:37Z")

</div>

i have installed file\_column plugin and rmagick. i have a model: class Core \< ActiveRecord::Base has\_one :forum\_topic has\_many :votes has\_many :forum\_messages ,:through =\> :forum\_topic attr\_accessible :site,:descri…

---

## [Installprobs: mysql gem on solaris](https://www.ruby-forum.com/t/installprobs-mysql-gem-on-solaris/130568)

<div class="topic-metadata">

**Author:** [@derkaan](https://www.ruby-forum.com/u/derkaan)\
**Replies:** 7\
**Last updated:** [March 3, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/installprobs-mysql-gem-on-solaris/130568 "2008-03-03T19:11:36Z")

</div>

Hi, I’m struggling to install the mysql native C bindig via “gem install mysql” on Solaris 10. I paste the error-msg including my used parameters below this post. I searched a lot to find more info about this issue, …

---

## [Different views/same action](https://www.ruby-forum.com/t/different-views-same-action/130749)

<div class="topic-metadata">

**Author:** [@corywilkerson](https://www.ruby-forum.com/u/corywilkerson)\
**Replies:** 2\
**Last updated:** [March 3, 2008, 7:09pm UTC](https://www.ruby-forum.com/t/different-views-same-action/130749 "2008-03-03T19:09:49Z")

</div>

Good evening all. I have two different places in my app that need to call the same controller/action and react differently in terms of output. In other words, in one case I want to use some rjs to update a page in a …

---

## [Start problems - BackgroundDRb (LoadError)](https://www.ruby-forum.com/t/start-problems-backgrounddrb-loaderror/130799)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 6\
**Last updated:** [March 3, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/start-problems-backgrounddrb-loaderror/130799 "2008-03-03T19:03:55Z")

</div>

I installed BackgrounDRb this morning from GIT and cannot get it to start (mac leopard) I’ve installed all required gems. script/backgroundrb start script/backgroundrb:11:in \`require’: no such file to load – /Users/…

---

## [Error when trying to use FastCGI](https://www.ruby-forum.com/t/error-when-trying-to-use-fastcgi/130254)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/error-when-trying-to-use-fastcgi/130254 "2008-03-03T18:56:39Z")

</div>

Hi, I wanted to run my scripts using FastCGI (I’m using RoR 2.0.2 with Fedora Core 6 Linux), so following advice online, I changed this line in my public/.htaccess file RewriteRule ^(.\*)$ dispatch.cgi \[QSA,L\] to Re…

---

## [Validation not working with file\_column](https://www.ruby-forum.com/t/validation-not-working-with-file-column/130826)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/validation-not-working-with-file-column/130826 "2008-03-03T18:22:25Z")

</div>

I have installed the file\_column plugin: in my model i have this code: validates\_file\_format\_of :image, :in =\> \[“gif”, “png”, “jpg”\], :message =\> ‘must be an image file’ validates\_filesize\_of :image, :in =\> 0…800.kil…

---

## [Listing variations of product attributes](https://www.ruby-forum.com/t/listing-variations-of-product-attributes/130763)

<div class="topic-metadata">

**Author:** [@mroths](https://www.ruby-forum.com/u/mroths)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/listing-variations-of-product-attributes/130763 "2008-03-03T18:22:19Z")

</div>

The situation is the following: In my app every product has attributes. for example a shirt has color, neck size and sleeve size. A jacket has color and jacket size. Those attributes have values. Colors: black, whit…

---

## [Problem with habtm and save](https://www.ruby-forum.com/t/problem-with-habtm-and-save/130684)

<div class="topic-metadata">

**Author:** [@CiCiCi](https://www.ruby-forum.com/u/CiCiCi)\
**Replies:** 10\
**Last updated:** [March 3, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/problem-with-habtm-and-save/130684 "2008-03-03T17:46:38Z")

</div>

Hi everybody, here is my problem. I have a Post model, a Tag model, and they are related to each other by an has\_and\_belongs\_to\_many relationship. Now I run ./script/console: p=Post.new p.title=“Hello” p.save t=T…

---

## [BackgrounDRb LoadError](https://www.ruby-forum.com/t/backgroundrb-loaderror/130801)

<div class="topic-metadata">

**Author:** [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/backgroundrb-loaderror/130801 "2008-03-03T17:35:25Z")

</div>

I installed BackgrounDRb this morning from GIT and cannot get it to start (mac leopard) I’ve installed all required gems. script/backgroundrb start script/backgroundrb:11:in \`require’: no such file to load – /Users/…

---

## [Adding Logic to first rails app in case of error from 2nd rails app](https://www.ruby-forum.com/t/adding-logic-to-first-rails-app-in-case-of-error-from-2nd-rails-app/130602)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/adding-logic-to-first-rails-app-in-case-of-error-from-2nd-rails-app/130602 "2008-03-03T17:31:40Z")

</div>

Hi All, I have been following the latest advanced rails recipe tutorial, “handing recurring credit card payments” and its excellent. The code works great if there are no problems with the user creation, credit card c…

---

## [How to update an iframe element with form\_remote\_tag?](https://www.ruby-forum.com/t/how-to-update-an-iframe-element-with-form-remote-tag/117814)

<div class="topic-metadata">

**Author:** [@fxp](https://www.ruby-forum.com/u/fxp)\
**Replies:** 5\
**Last updated:** [March 3, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/how-to-update-an-iframe-element-with-form-remote-tag/117814 "2008-03-03T16:10:05Z")

</div>

I have a view with an iframe in it that contains a list of messages. I would like to update this list from a form in my view that I’ve created with form\_remote\_tag. My code is structured like this right now: #iframe\_…

---

## [Catgorized list + pagination with sorting](https://www.ruby-forum.com/t/catgorized-list-pagination-with-sorting/130813)

<div class="topic-metadata">

**Author:** [@dakshina](https://www.ruby-forum.com/u/dakshina)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/catgorized-list-pagination-with-sorting/130813 "2008-03-03T16:02:28Z")

</div>

Hi Please help me on this I have too Models class Payee \< ActiveRecord::Base has\_many :bills end class Bill\< ActiveRecord::Base belongs\_to :payee end And I do need to have the list like following (need to have pa…

---

## [Attachment\_fu, Watermarks and after\_save](https://www.ruby-forum.com/t/attachment-fu-watermarks-and-after-save/130747)

<div class="topic-metadata">

**Author:** [@kevin\_evans](https://www.ruby-forum.com/u/kevin_evans)\
**Replies:** 2\
**Last updated:** [March 3, 2008, 3:42pm UTC](https://www.ruby-forum.com/t/attachment-fu-watermarks-and-after-save/130747 "2008-03-03T15:42:07Z")

</div>

Hi, I’m having an issue with trying to watermark an uploaded image using attachment\_fu and Rails 2.0.2. The model looks like… class Picture \< ActiveRecord::Base belongs\_to :gallery after\_save :watermark\_image has\_…

---

## [Installing RoR with Mongrel: What does "Path to config file not valid" mean?](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/installing-ror-with-mongrel-what-does-path-to-config-file-not-valid-mean/130689 "2008-03-03T15:17:16Z")

</div>

Hi, I’m trying to install Ruby on Rails 2.0.2 with Mongrel, following the instructions here – http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/. I install the gem…

---

## [How I changed my mobile into cash?](https://www.ruby-forum.com/t/how-i-changed-my-mobile-into-cash/130805)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/how-i-changed-my-mobile-into-cash/130805 "2008-03-03T15:04:07Z")

</div>

Join US and get, Latest offerings on your fingertips. Information of the latest product in tune with your interest. Up-to-date news on upcoming gizmos and gadgets. Check them at your leisure. On top of it all, effor…

---

## [Need Help: Ajax not suppoting with ssl configuration to the application](https://www.ruby-forum.com/t/need-help-ajax-not-suppoting-with-ssl-configuration-to-the-application/130804)

<div class="topic-metadata">

**Author:** [@chandu](https://www.ruby-forum.com/u/chandu)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/need-help-ajax-not-suppoting-with-ssl-configuration-to-the-application/130804 "2008-03-03T14:50:30Z")

</div>

I am using “form\_remote\_tag” form to create a record, this is working with all the browsers IE, Firefox and safari, but when I configured my application with ssl then ajax requests is not working properly in IE6. I n…

---

## [RubyAMF : is is dead?](https://www.ruby-forum.com/t/rubyamf-is-is-dead/130802)

<div class="topic-metadata">

**Author:** [@herman](https://www.ruby-forum.com/u/herman)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 2:22pm UTC](https://www.ruby-forum.com/t/rubyamf-is-is-dead/130802 "2008-03-03T14:22:00Z")

</div>

Hi All, does anyone know if RubyAMF is dead ? I remeber seeing a post that Aaron was quitting from the project and now the rubyamf.org site is not responding anymore.

---

## [Dynamically declaring routes](https://www.ruby-forum.com/t/dynamically-declaring-routes/130800)

<div class="topic-metadata">

**Author:** [@kapslok](https://www.ruby-forum.com/u/kapslok)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/dynamically-declaring-routes/130800 "2008-03-03T13:54:14Z")

</div>

Is it possible to dynamically add routes outside of the routes.rb? Can I add routes at runtime which are stored in a database?

---

## [Selecting a default value in select helper method](https://www.ruby-forum.com/t/selecting-a-default-value-in-select-helper-method/126531)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 1:34pm UTC](https://www.ruby-forum.com/t/selecting-a-default-value-in-select-helper-method/126531 "2008-03-03T13:34:30Z")

</div>

How do I select a default value in a blank form when using select vs select\_tag? For example, I have a collection of states and I want the local state to be automatically selected when filling out the form. Am I stuc…

---

## [Assert\_select and XML namespaces](https://www.ruby-forum.com/t/assert-select-and-xml-namespaces/130796)

<div class="topic-metadata">

**Author:** [@Farrel](https://www.ruby-forum.com/u/Farrel)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 1:32pm UTC](https://www.ruby-forum.com/t/assert-select-and-xml-namespaces/130796 "2008-03-03T13:32:15Z")

</div>

Can assert\_select handle XML namepsaces? I have an xml document returned with a section in an XML namepsace. According to the W3C “ns| element” is the CSS selector for an element in the ns namespace. I’ve tried that i…

---

## [How change text\_area form helper into rich text entry area/control?](https://www.ruby-forum.com/t/how-change-text-area-form-helper-into-rich-text-entry-area-control/130795)

<div class="topic-metadata">

**Author:** [@remoteportal](https://www.ruby-forum.com/u/remoteportal)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/how-change-text-area-form-helper-into-rich-text-entry-area-control/130795 "2008-03-03T13:18:16Z")

</div>

Do you know how to render a rich text input area (with HTML formatting buttons (bold, italics, etc., available?) In RoR I’m hoping this is very easy to pull off?!? \<%= text\_area ‘blogentry’, ‘entry’ %\> TO \<%= rich…

---

## [Need help with my sql](https://www.ruby-forum.com/t/need-help-with-my-sql/130715)

<div class="topic-metadata">

**Author:** [@megax](https://www.ruby-forum.com/u/megax)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 1:11pm UTC](https://www.ruby-forum.com/t/need-help-with-my-sql/130715 "2008-03-03T13:11:46Z")

</div>

Hi all Im new to ruby on rails but trying to learn fast however i’ve hit a roadblock. Im trying to do an sql statement in a view to get values from a table however I have not been able to get get back just the values,…

---

## [Single sign on Problem?](https://www.ruby-forum.com/t/single-sign-on-problem/130792)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 12:30pm UTC](https://www.ruby-forum.com/t/single-sign-on-problem/130792 "2008-03-03T12:30:55Z")

</div>

Hi All, I am authenticating user using LDAP. Now i wanna do one thing if user is authenticated through LDAP server then my other application like myapp1.domain.com,myapp2.domain.com also logged in user but these appl…

---

## [Windows Domain Authentication with Apache+Mongrel](https://www.ruby-forum.com/t/windows-domain-authentication-with-apache-mongrel/130789)

<div class="topic-metadata">

**Author:** [@eabhvee](https://www.ruby-forum.com/u/eabhvee)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 11:46am UTC](https://www.ruby-forum.com/t/windows-domain-authentication-with-apache-mongrel/130789 "2008-03-03T11:46:18Z")

</div>

Hi All, I am running a rails application in my laptop which is connected to the corporate intranet. I am using Apache 2.2.4 with Mongrel proxying. I want to authenticate the corporate intranet users using Windows Aut…

---

## [Mongrel vs. fcgi](https://www.ruby-forum.com/t/mongrel-vs-fcgi/130787)

<div class="topic-metadata">

**Author:** [@maerzbow](https://www.ruby-forum.com/u/maerzbow)\
**Replies:** 0\
**Last updated:** [March 3, 2008, 11:40am UTC](https://www.ruby-forum.com/t/mongrel-vs-fcgi/130787 "2008-03-03T11:40:58Z")

</div>

I have a virtual root server (monthly $10) running some RoR projects with mediocre traffic by using MONGREL. It ROCKS. But with every new mongrel instance I am getting closer to run out of system resources. The web …

---

## [How many ruby framework available in market?](https://www.ruby-forum.com/t/how-many-ruby-framework-available-in-market/196602)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 11:28am UTC](https://www.ruby-forum.com/t/how-many-ruby-framework-available-in-market/196602 "2008-03-03T11:28:37Z")

</div>

Hi all, I wanna know how many ruby framework available in the market as of now and using them any company created any website or not. I searched on net but did not find the appropiate answer. Some which i know: RO…

---

## [Problem loading tinymce on localhost](https://www.ruby-forum.com/t/problem-loading-tinymce-on-localhost/130750)

<div class="topic-metadata">

**Author:** [@flychunjae](https://www.ruby-forum.com/u/flychunjae)\
**Replies:** 1\
**Last updated:** [March 3, 2008, 10:59am UTC](https://www.ruby-forum.com/t/problem-loading-tinymce-on-localhost/130750 "2008-03-03T10:59:14Z")

</div>

i’ve downloaded and installed tinymce but for some reason it wouldn’t work when i load it locally on the localhost:3000. but when i saved the output as html and the related files with it, then it would show up. when i…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1461)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1463)
