# Rails

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

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

---

## [Ssl between apache proxy and mongrel](https://www.ruby-forum.com/t/ssl-between-apache-proxy-and-mongrel/88996)

<div class="topic-metadata">

**Author:** [@jz176](https://www.ruby-forum.com/u/jz176)\
**Replies:** 3\
**Last updated:** [March 16, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/ssl-between-apache-proxy-and-mongrel/88996 "2007-03-16T17:39:06Z")

</div>

could anybody tell me if ssl traffic proxied from apache to mongrel remains encrypted and is decrypted by mongrel or is it -as i would think- decrypted by apache and sent over the network to mongrel in plain text

---

## [Use file column magick only if file is an image?](https://www.ruby-forum.com/t/use-file-column-magick-only-if-file-is-an-image/89032)

<div class="topic-metadata">

**Author:** [@friofool](https://www.ruby-forum.com/u/friofool)\
**Replies:** 0\
**Last updated:** [March 16, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/use-file-column-magick-only-if-file-is-an-image/89032 "2007-03-16T17:23:39Z")

</div>

Hello, I have a model like this : class Biblio::BibliothequeContent \< ActiveRecord::Base has\_many :bibliotheque\_content\_types has\_many :bibliotheque\_dossier\_contents file\_column :nom\_fichier,:store\_dir =\> “public/fi…

---

## [Ajax and performance](https://www.ruby-forum.com/t/ajax-and-performance/88953)

<div class="topic-metadata">

**Author:** [@pypypy](https://www.ruby-forum.com/u/pypypy)\
**Replies:** 2\
**Last updated:** [March 16, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/ajax-and-performance/88953 "2007-03-16T17:03:53Z")

</div>

Hello, I got this newbye problem : 1 method is very long to process and CPU consuming. So, i want to add a progress bar. But when i call this heavy method, then the entire rails application is frozen until it finish…

---

## [Publishing a plugin](https://www.ruby-forum.com/t/publishing-a-plugin/89007)

<div class="topic-metadata">

**Author:** [@AndyV](https://www.ruby-forum.com/u/AndyV)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/publishing-a-plugin/89007 "2007-03-16T16:55:50Z")

</div>

Okay, I have a small plugin which I initially want to publish on my corp intranet so we can share it among our internal apps (if it proves worthwhile maybe I’ll push it beyond that). I’ve pushed the plugin folder to …

---

## [Swapping key names in a hash](https://www.ruby-forum.com/t/swapping-key-names-in-a-hash/87330)

<div class="topic-metadata">

**Author:** [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Replies:** 7\
**Last updated:** [March 16, 2007, 4:53pm UTC](https://www.ruby-forum.com/t/swapping-key-names-in-a-hash/87330 "2007-03-16T16:53:04Z")

</div>

Hello, I'm trying to change the name of a hash key. I want to take a params\[:value\] and modify some of it’s key names to work better in model sql statements. for instance I have a param hash key named “title” (para…

---

## [Find() and SQL functions](https://www.ruby-forum.com/t/find-and-sql-functions/89029)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 0\
**Last updated:** [March 16, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/find-and-sql-functions/89029 "2007-03-16T16:01:40Z")

</div>

Hi, I have a complex SQL request to perform. I don’t want to manually do the whole query (find\_by\_sql) because of the complex joins, but I want to use MySQL functions, such as: Model.find(:all, :include =\> \[…/…\], :…

---

## [Render :template (for single page website)](https://www.ruby-forum.com/t/render-template-for-single-page-website/89025)

<div class="topic-metadata">

**Author:** [@keybern](https://www.ruby-forum.com/u/keybern)\
**Replies:** 1\
**Last updated:** [March 16, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/render-template-for-single-page-website/89025 "2007-03-16T15:58:47Z")

</div>

hi, I’m developping a (complex) website that consists of only a single page. Therefor I like all my controller methods to render the same template. At the moment I have a main.rhtml and a main method. I added some oth…

---

## [Models and relationships](https://www.ruby-forum.com/t/models-and-relationships/89006)

<div class="topic-metadata">

**Author:** [@revlob](https://www.ruby-forum.com/u/revlob)\
**Replies:** 3\
**Last updated:** [March 16, 2007, 3:47pm UTC](https://www.ruby-forum.com/t/models-and-relationships/89006 "2007-03-16T15:47:29Z")

</div>

If I have three models; Post, Comment, and User, and they are all set up according to Rails naming conventions, and I have established their relationships in the model code as follows: class Post \< ActiveRecord::Base …

---

## ["ObjectName can't be referred" error - session serialization](https://www.ruby-forum.com/t/objectname-cant-be-referred-error-session-serialization/84575)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/objectname-cant-be-referred-error-session-serialization/84575 "2007-03-16T15:45:42Z")

</div>

All, I’m getting the following error: TypeError (TargetList can’t be referred): C:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action\_controller/session/active\_record\_store.rb:81:in dump' C:/ruby/lib/ruby/gems/…

---

## [Am I on the Right Track?](https://www.ruby-forum.com/t/am-i-on-the-right-track/89023)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 16, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/am-i-on-the-right-track/89023 "2007-03-16T15:33:33Z")

</div>

Hi! I'm just starting to pickup learning ruby on rails. I started with it for awhile, but then quit because I was lost…and now I’m picking it back up again. My question is, am I on the right track? I'm trying to de…

---

## [Complex has-many-through relationships and models](https://www.ruby-forum.com/t/complex-has-many-through-relationships-and-models/88755)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 3:20pm UTC](https://www.ruby-forum.com/t/complex-has-many-through-relationships-and-models/88755 "2007-03-16T15:20:34Z")

</div>

I have some questions about Has Many Through and how to manage a couple of things that keep cropping up. I’m reasonably new to rails, having come from a C# background and I have to admit I’m having some trouble gettin…

---

## [Problem with functional tests and params](https://www.ruby-forum.com/t/problem-with-functional-tests-and-params/89026)

<div class="topic-metadata">

**Author:** [@Thogra](https://www.ruby-forum.com/u/Thogra)\
**Replies:** 0\
**Last updated:** [March 16, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/problem-with-functional-tests-and-params/89026 "2007-03-16T15:12:34Z")

</div>

Hi all. Problem: Using parameters in get() seems to swallow the session values. In my functional test I have something like: get :show, :testa =\> ‘aa’, :testb =\> ‘bb’ In my view I have: \<%= session\[:testb\]%\> This …

---

## [Styles for tabnav plugin](https://www.ruby-forum.com/t/styles-for-tabnav-plugin/87864)

<div class="topic-metadata">

**Author:** [@starburger](https://www.ruby-forum.com/u/starburger)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/styles-for-tabnav-plugin/87864 "2007-03-16T14:39:12Z")

</div>

Hi all, I’m using the tabnav plugin for a community project and I think it is quite comfortable to use. But, when I have many tabbed screens in my app, I have to generate many corresponding xyz\_tabnav.rb models. Now …

---

## [Sort\_link\_helper and cross-controller partials](https://www.ruby-forum.com/t/sort-link-helper-and-cross-controller-partials/88998)

<div class="topic-metadata">

**Author:** [@carp](https://www.ruby-forum.com/u/carp)\
**Replies:** 1\
**Last updated:** [March 16, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/sort-link-helper-and-cross-controller-partials/88998 "2007-03-16T14:19:20Z")

</div>

Hello Rubyists, I ran into a problem with sorting a table (rendered in a partial) using the sort\_link\_helper methods after I have submitted data and re-rendered the table through an AJAX request. The setup is a follo…

---

## [Benchmarker numbers \[was Re: \[Rails\] Re: How to filter find(](https://www.ruby-forum.com/t/benchmarker-numbers-was-re-rails-re-how-to-filter-find/89008)

<div class="topic-metadata">

**Author:** [@Russell\_N](https://www.ruby-forum.com/u/Russell_N)\
**Replies:** 0\
**Last updated:** [March 16, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/benchmarker-numbers-was-re-rails-re-how-to-filter-find/89008 "2007-03-16T14:15:20Z")

</div>

Hey. I don’t want to hijack the original thread so I’m budding this off. Can someone explain to me why the numbers in the Benchmarker never seem to add up right? How does that second Benchmark add up to 0.233105 when…

---

## [How to filter find(:all)](https://www.ruby-forum.com/t/how-to-filter-find-all/88774)

<div class="topic-metadata">

**Author:** [@PeteSalty](https://www.ruby-forum.com/u/PeteSalty)\
**Replies:** 6\
**Last updated:** [March 16, 2007, 2:09pm UTC](https://www.ruby-forum.com/t/how-to-filter-find-all/88774 "2007-03-16T14:09:17Z")

</div>

We’re going to be changing our system soon to implement the concept of a trash can. Basically when user deletes things they will get flagged as ‘trash’ and won’t be deleted until the user goes into the trash area and …

---

## [Javascript trouble](https://www.ruby-forum.com/t/javascript-trouble/88712)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 18\
**Last updated:** [March 16, 2007, 1:49pm UTC](https://www.ruby-forum.com/t/javascript-trouble/88712 "2007-03-16T13:49:13Z")

</div>

I’m trying to understand Javascript in Rails. I have a controller called logo. In there I have a method called new. In views I have a folder called logo, with logo.rthml in layouts with \<%= javascript\_include\_tag :def…

---

## [ANN: Arti 0.1.1 - mechanized documentation for Rails](https://www.ruby-forum.com/t/ann-arti-0-1-1-mechanized-documentation-for-rails/88999)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [March 16, 2007, 11:48am UTC](https://www.ruby-forum.com/t/ann-arti-0-1-1-mechanized-documentation-for-rails/88999 "2007-03-16T11:48:56Z")

</div>

I am pleased to announce the release of version 0.1.1 of Arti, a toolkit for mechanized documentation for Rails. Arti can be used in either “merged” or “remote” mode. In either case, it analyzes the source code of a…

---

## [Video Files in Rails App](https://www.ruby-forum.com/t/video-files-in-rails-app/88574)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [March 16, 2007, 10:48am UTC](https://www.ruby-forum.com/t/video-files-in-rails-app/88574 "2007-03-16T10:48:20Z")

</div>

Hi, Can anyome point me in the right direction for displaying Video files in a rails app. I know there is a utube plugin for rails to display utube video files but what i want is for a user to upload a video file and …

---

## [Rails 1.2 and the prototype/ajax bug](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 2\
**Last updated:** [March 16, 2007, 10:25am UTC](https://www.ruby-forum.com/t/rails-1-2-and-the-prototype-ajax-bug/88881 "2007-03-16T10:25:48Z")

</div>

What’s the recommended fix for the “Ajax doesn’t work” bug? http://dev.rubyonrails.org/ticket/6579 is marked ‘wontfix’, but the page is confusing in that I can’t make out what I should be doing to make my code work. I…

---

## [Problems with time\_select and :include\_blank option](https://www.ruby-forum.com/t/problems-with-time-select-and-include-blank-option/88405)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Tassinari](https://www.ruby-forum.com/u/Rodrigo_Tassinari)\
**Replies:** 3\
**Last updated:** [March 16, 2007, 10:13am UTC](https://www.ruby-forum.com/t/problems-with-time-select-and-include-blank-option/88405 "2007-03-16T10:13:47Z")

</div>

Hello everyone, I’m having issues with a “time” field in a model. On the view, I use a time\_select helper to generate the select for this field, and since I need this field to be NULL sometimes, I include the option …

---

## [Why suddenly the question marks?](https://www.ruby-forum.com/t/why-suddenly-the-question-marks/88959)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 9:35am UTC](https://www.ruby-forum.com/t/why-suddenly-the-question-marks/88959 "2007-03-16T09:35:38Z")

</div>

Look at this page http://eventsinindia.com/event/639 Everything looked fine sometime back. But now there are question marks. I find such question marks on other pages too. What’s the root cause and what’s the fix. T…

---

## [Super() question](https://www.ruby-forum.com/t/super-question/88899)

<div class="topic-metadata">

**Author:** [@Pierre-Alexandre\_M](https://www.ruby-forum.com/u/Pierre-Alexandre_M)\
**Replies:** 5\
**Last updated:** [March 16, 2007, 9:03am UTC](https://www.ruby-forum.com/t/super-question/88899 "2007-03-16T09:03:35Z")

</div>

Hi folks, I am trying to hack in\_place\_edit\_for to avoid empty fields: def in\_place\_edit\_for(object, attribute, options = {}) if params\[:value\] == ‘’ params\[:value\] = ‘Hey! You must fill the field!’ end super(objec…

---

## [Rails standalone App](https://www.ruby-forum.com/t/rails-standalone-app/88978)

<div class="topic-metadata">

**Author:** [@seanstewart](https://www.ruby-forum.com/u/seanstewart)\
**Replies:** 3\
**Last updated:** [March 16, 2007, 8:52am UTC](https://www.ruby-forum.com/t/rails-standalone-app/88978 "2007-03-16T08:52:34Z")

</div>

How can I get my app into a standalone like Vision (http:// vision.shopify.com/). Basically it is a Rails APP that can be launched from the desktop. It opens up a terminal like window and automatically launches th…

---

## ["Ugly URLs" don't work with resources?](https://www.ruby-forum.com/t/ugly-urls-dont-work-with-resources/88803)

<div class="topic-metadata">

**Author:** [@maciek](https://www.ruby-forum.com/u/maciek)\
**Replies:** 6\
**Last updated:** [March 16, 2007, 8:03am UTC](https://www.ruby-forum.com/t/ugly-urls-dont-work-with-resources/88803 "2007-03-16T08:03:30Z")

</div>

I’ve a Course model in my application and so my routes file contains the standard: map.resources :courses and then of course: map.connect ‘:controller/:action/:id.:format’ map.connect ‘:controller/:action/:id’ URLs…

---

## [Give Rhtml tutorial links](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636)

<div class="topic-metadata">

**Author:** [@prabu](https://www.ruby-forum.com/u/prabu)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 7:30am UTC](https://www.ruby-forum.com/t/give-rhtml-tutorial-links/88636 "2007-03-16T07:30:06Z")

</div>

please give the rhtml tutorial links

---

## [Newbie Migrations issue](https://www.ruby-forum.com/t/newbie-migrations-issue/88981)

<div class="topic-metadata">

**Author:** [@gabriel](https://www.ruby-forum.com/u/gabriel)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 7:14am UTC](https://www.ruby-forum.com/t/newbie-migrations-issue/88981 "2007-03-16T07:14:27Z")

</div>

I’m taking a crack at Rails and have run into a snag fairly early on. I read a tutorial that showed me how to use migrations and everything was going fine until I actually tried to use what I’d written. First off, I’m…

---

## [Weird error on updating rails](https://www.ruby-forum.com/t/weird-error-on-updating-rails/88949)

<div class="topic-metadata">

**Author:** [@nevermoo](https://www.ruby-forum.com/u/nevermoo)\
**Replies:** 2\
**Last updated:** [March 16, 2007, 7:01am UTC](https://www.ruby-forum.com/t/weird-error-on-updating-rails/88949 "2007-03-16T07:01:00Z")

</div>

Hi all, I have been trying to update my rails installation on Mac OS X and am seeing this message during the installation. Can anyone suggest what may be happening, and is it anything for me to worry about? lynley:~ …

---

## [Role Based Authentication](https://www.ruby-forum.com/t/role-based-authentication/88779)

<div class="topic-metadata">

**Author:** [@gaurav\_v\_bagga](https://www.ruby-forum.com/u/gaurav_v_bagga)\
**Replies:** 9\
**Last updated:** [March 16, 2007, 6:19am UTC](https://www.ruby-forum.com/t/role-based-authentication/88779 "2007-03-16T06:19:24Z")

</div>

Hi All, I want to authorize user according to role he has. I found some rails plugins, ActiveRBAC ActiveACL anybody has used them (how was it), or can provide little info (hints) how to go about role based authenti…

---

## [Help me .hide() the div!](https://www.ruby-forum.com/t/help-me-hide-the-div/88898)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 4\
**Last updated:** [March 16, 2007, 5:35am UTC](https://www.ruby-forum.com/t/help-me-hide-the-div/88898 "2007-03-16T05:35:23Z")

</div>

here is my code: ï¼œinput id=‘the\_input’ type=‘text’ /\> \<%= observe\_field(:the\_input, :frequency =\> 0.5, :update =\> ‘the\_result’, #… )%\> \<%= link\_to\_function(‘the link’, “$(‘the\_input’).value=‘new value’;$(‘the\_…

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

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