# Rails

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

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

---

## [Tiny\_mce plugin](https://www.ruby-forum.com/t/tiny-mce-plugin/174184)

<div class="topic-metadata">

**Author:** [@Trausti\_Thor\_J](https://www.ruby-forum.com/u/Trausti_Thor_J)\
**Replies:** 8\
**Last updated:** [November 10, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/tiny-mce-plugin/174184 "2009-11-10T16:46:06Z")

</div>

Hi all, I just installed the tiny\_mce plugin and it works as advertised. But I can not get any plugin for tinymce to work. They are all there, they are installed, they load. But they do not appear. I have MacBook …

---

## [File.open to open Remotely](https://www.ruby-forum.com/t/file-open-to-open-remotely/178743)

<div class="topic-metadata">

**Author:** [@mishoo](https://www.ruby-forum.com/u/mishoo)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/file-open-to-open-remotely/178743 "2009-11-10T15:58:59Z")

</div>

I know that this question looks like a Webistrano question but since I donâ€™t know much about Ruby, I thought it might be a simple Ruby question too. We have installed Webistrano and Capistrano install on some server …

---

## [Active Scaffold --- Help Urgent](https://www.ruby-forum.com/t/active-scaffold-help-urgent/178593)

<div class="topic-metadata">

**Author:** [@antony\_4u](https://www.ruby-forum.com/u/antony_4u)\
**Replies:** 11\
**Last updated:** [November 10, 2009, 2:58pm UTC](https://www.ruby-forum.com/t/active-scaffold-help-urgent/178593 "2009-11-10T14:58:23Z")

</div>

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active\_record/connection\_a dapters/abstract/connection\_specification.rb:76:in establish\_connection': Pleas e install the postgres adapter:gem install activerecord-…

---

## [Custom Validations Altering Variable](https://www.ruby-forum.com/t/custom-validations-altering-variable/178606)

<div class="topic-metadata">

**Author:** [@7H3LaughingMan](https://www.ruby-forum.com/u/7H3LaughingMan)\
**Replies:** 18\
**Last updated:** [November 10, 2009, 2:02pm UTC](https://www.ruby-forum.com/t/custom-validations-altering-variable/178606 "2009-11-10T14:02:52Z")

</div>

I would like to know if it is possible to alter a variable during the process of a custom validation. I know that it is no longer validation when your altering data but in my opinion there are times when you need alte…

---

## [Mysql rake functions failing](https://www.ruby-forum.com/t/mysql-rake-functions-failing/178705)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [November 10, 2009, 1:56pm UTC](https://www.ruby-forum.com/t/mysql-rake-functions-failing/178705 "2009-11-10T13:56:55Z")

</div>

im new to mac and ruby but have been through some tutorials using sqlite ive downloaded a plugin for geolocation and it needs mysql for advanced functionality however whenever i try to run the rake commads with mysql…

---

## [Warning parenthesize argument scrubyt](https://www.ruby-forum.com/t/warning-parenthesize-argument-scrubyt/178734)

<div class="topic-metadata">

**Author:** [@alberto](https://www.ruby-forum.com/u/alberto)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/warning-parenthesize-argument-scrubyt/178734 "2009-11-10T12:54:17Z")

</div>

Hi I’ve follow the scrubyt tutorial for installation then I found examples into github GitHub - scrubber/scrubyt\_examples: A handful (but hopefully growing amount) of scRUBYt! examples but when I compile that example …

---

## [Renaming a model and table leads to SQL Exception](https://www.ruby-forum.com/t/renaming-a-model-and-table-leads-to-sql-exception/178721)

<div class="topic-metadata">

**Author:** [@ladyhawk](https://www.ruby-forum.com/u/ladyhawk)\
**Replies:** 7\
**Last updated:** [November 10, 2009, 12:46pm UTC](https://www.ruby-forum.com/t/renaming-a-model-and-table-leads-to-sql-exception/178721 "2009-11-10T12:46:48Z")

</div>

I have a model called “Media”, database table “Medias”. I had to rename that model to “Medium” and the database table to “Mediums”. and now when I run my application , I get the following error: ActiveRecord::Statemen…

---

## [ActiveRecord::RecordNotFound in LookController](https://www.ruby-forum.com/t/activerecord-recordnotfound-in-lookcontroller/178729)

<div class="topic-metadata">

**Author:** [@INDRANIL\_MUKHERJEE](https://www.ruby-forum.com/u/INDRANIL_MUKHERJEE)\
**Replies:** 1\
**Last updated:** [November 10, 2009, 11:04am UTC](https://www.ruby-forum.com/t/activerecord-recordnotfound-in-lookcontroller/178729 "2009-11-10T11:04:51Z")

</div>

I am finding this error.pls help me

---

## [Issue research in restful web service](https://www.ruby-forum.com/t/issue-research-in-restful-web-service/178730)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [November 10, 2009, 10:02am UTC](https://www.ruby-forum.com/t/issue-research-in-restful-web-service/178730 "2009-11-10T10:02:13Z")

</div>

Dear all i would like to ask about what is an important issue research in restful web service regards

---

## [Active Scaffold Without Database connection --- Help](https://www.ruby-forum.com/t/active-scaffold-without-database-connection-help/178666)

<div class="topic-metadata">

**Author:** [@antony\_4u](https://www.ruby-forum.com/u/antony_4u)\
**Replies:** 6\
**Last updated:** [November 10, 2009, 6:02am UTC](https://www.ruby-forum.com/t/active-scaffold-without-database-connection-help/178666 "2009-11-10T06:02:19Z")

</div>

Hi Friends, I want to know what are ways or how to use the Active Scaffold without Database connection … I mean Instead of Database I will have a CSV or Flat file… Thro Active Scaffold Plug-in how to read this file …

---

## [Is Rails a CMS?](https://www.ruby-forum.com/t/is-rails-a-cms/178701)

<div class="topic-metadata">

**Author:** [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Replies:** 6\
**Last updated:** [November 10, 2009, 4:29am UTC](https://www.ruby-forum.com/t/is-rails-a-cms/178701 "2009-11-10T04:29:09Z")

</div>

Hi list ! More often then not when talking about zena, I find people saying that “we don’t need no freakin’ CMS, Rails is a CMS”. I posted an article on zenadmin.org with some reflections around this issue and why so…

---

## [Validations should work, but aren't?](https://www.ruby-forum.com/t/validations-should-work-but-arent/178722)

<div class="topic-metadata">

**Author:** [@closedbook](https://www.ruby-forum.com/u/closedbook)\
**Replies:** 3\
**Last updated:** [November 10, 2009, 4:23am UTC](https://www.ruby-forum.com/t/validations-should-work-but-arent/178722 "2009-11-10T04:23:49Z")

</div>

Hi, I’ve added a couple of validations to my model, however whenever I submit with no information (to purposely fail) in the view form, I just get a generic rails error message (the kind with all the stack trace info…

---

## [PHP/Rails cooperative sessions thought. (read: am I full of shit, or could this work?)](https://www.ruby-forum.com/t/php-rails-cooperative-sessions-thought-read-am-i-full-of-shit-or-could-this-work/178719)

<div class="topic-metadata">

**Author:** [@bootle](https://www.ruby-forum.com/u/bootle)\
**Replies:** 3\
**Last updated:** [November 10, 2009, 3:00am UTC](https://www.ruby-forum.com/t/php-rails-cooperative-sessions-thought-read-am-i-full-of-shit-or-could-this-work/178719 "2009-11-10T03:00:49Z")

</div>

Scenario: An application X, is a PHP app that’s been running just fine for quite some time. An application Y is a new Rails app. Specifically, a RESTful service. Y can only be accessed by a user once that user has …

---

## [Howto: rebuild thumbnails in attachment\_fu](https://www.ruby-forum.com/t/howto-rebuild-thumbnails-in-attachment-fu/178690)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 1\
**Last updated:** [November 10, 2009, 2:06am UTC](https://www.ruby-forum.com/t/howto-rebuild-thumbnails-in-attachment-fu/178690 "2009-11-10T02:06:23Z")

</div>

I’ve just added a new thumbnail definition to a class that has attachments using attachment\_fu. Since this thumbnail definition didn’t exist when I uploaded pior images, they don’t have this thumbnail. I have been t…

---

## [Rails Exchange - Stack Overflow for Ruby on Rails](https://www.ruby-forum.com/t/rails-exchange-stack-overflow-for-ruby-on-rails/178720)

<div class="topic-metadata">

**Author:** [@thejackal](https://www.ruby-forum.com/u/thejackal)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 11:23pm UTC](https://www.ruby-forum.com/t/rails-exchange-stack-overflow-for-ruby-on-rails/178720 "2009-11-09T23:23:42Z")

</div>

Hey everyone, My name is Kent F., I am developer over at Viewpointr based in Toronto, Canada. I really like Stack Overflow and was excited when they launched Stack Exchange as I felt as though the Rails community cou…

---

## [Where to save temp data?](https://www.ruby-forum.com/t/where-to-save-temp-data/178573)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 14\
**Last updated:** [November 9, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/where-to-save-temp-data/178573 "2009-11-09T23:03:48Z")

</div>

Hello, I need some advice. I have a form that has data from 4 different tables and about 10 values to save and keep until the form is finally sent. Where would you save the 10 values (all strings or integers, of cours…

---

## [Integrations tests questions](https://www.ruby-forum.com/t/integrations-tests-questions/178691)

<div class="topic-metadata">

**Author:** [@benol](https://www.ruby-forum.com/u/benol)\
**Replies:** 3\
**Last updated:** [November 9, 2009, 9:30pm UTC](https://www.ruby-forum.com/t/integrations-tests-questions/178691 "2009-11-09T21:30:34Z")

</div>

Hi, — ROUTING — I have roting defined as RESTful but for the below testes MyModels controller I have a standard map.connect ‘:controller/:action/:id’ map.connect ‘:controller/:action/:id.:format’ ---- SAMPLE TEST -…

---

## [Active Scaffold Performance](https://www.ruby-forum.com/t/active-scaffold-performance/178709)

<div class="topic-metadata">

**Author:** [@ken](https://www.ruby-forum.com/u/ken)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 9:29pm UTC](https://www.ruby-forum.com/t/active-scaffold-performance/178709 "2009-11-09T21:29:12Z")

</div>

Hi Everyone, I know this is a recurring topic, but currently my application is running very slow and I would like to figure out why. Every transaction, except for the login page, have an average response time in the…

---

## [What does /2 represent in a division calclulation ....hangs console](https://www.ruby-forum.com/t/what-does-2-represent-in-a-division-calclulation-hangs-console/178703)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 8:22pm UTC](https://www.ruby-forum.com/t/what-does-2-represent-in-a-division-calclulation-hangs-console/178703 "2009-11-09T20:22:54Z")

</div>

what does /2 or /5.5 represent to ruby? in a division caclulation: x / 5.5 if you only put a space between x and the /, then the console hangs in irb it does this: irb(main):014:0\> x = BigDecimal(“10.00”) =\> #BigDe…

---

## [Dynamic collection\_select](https://www.ruby-forum.com/t/dynamic-collection-select/178688)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 4\
**Last updated:** [November 9, 2009, 8:07pm UTC](https://www.ruby-forum.com/t/dynamic-collection-select/178688 "2009-11-09T20:07:03Z")

</div>

Hello all, I’m very new to Ruby and web programming at all. I’m trying to get a page where I can have a series of drop downs that are all columns within the main table of my database. When you drop one down, and sel…

---

## [Paged partial collection AJAX](https://www.ruby-forum.com/t/paged-partial-collection-ajax/178698)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/paged-partial-collection-ajax/178698 "2009-11-09T19:08:27Z")

</div>

I have several places in my app where there is a collection with hundreds of items to render. Paging in the usual sense (i.e., mislav-will\_pagination) does not make sense. I want to render them all, but the long re…

---

## [Is there a way to get I18n.locale on a User model?](https://www.ruby-forum.com/t/is-there-a-way-to-get-i18n-locale-on-a-user-model/178697)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-get-i18n-locale-on-a-user-model/178697 "2009-11-09T18:48:37Z")

</div>

I’m trying to validate a User model using custom :message. I always get I18n.locale default value. Is there a way to get I18n current\_locale?

---

## [Setting the flash in view helper tests](https://www.ruby-forum.com/t/setting-the-flash-in-view-helper-tests/178692)

<div class="topic-metadata">

**Author:** [@anthonybaker](https://www.ruby-forum.com/u/anthonybaker)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 6:25pm UTC](https://www.ruby-forum.com/t/setting-the-flash-in-view-helper-tests/178692 "2009-11-09T18:25:43Z")

</div>

Hello all, I am trying to find a way to set the flash for a view helper test. The purpose of my view helper is to simplify rendering of flash messages, and I’d like to be able to test it by passing a mocked flash obje…

---

## [Nested routes problems](https://www.ruby-forum.com/t/nested-routes-problems/178682)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/nested-routes-problems/178682 "2009-11-09T17:25:26Z")

</div>

Hi i am using nested resources in my application like this map.resources :forums do |forum| forum.resources :topics do |topic| topic.resources :posts end end while i am submitting a from with url like this http://…

---

## [Help](https://www.ruby-forum.com/t/help/178660)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/help/178660 "2009-11-09T16:53:14Z")

</div>

hi all… I m using cron for my application. already for my 1st task i use the schedule.rb again i want to use cron job again for my 2nd task. is it possible to use the same schedule.rb file? why i ask is whenever i m…

---

## [Error using named routes with resource routes?](https://www.ruby-forum.com/t/error-using-named-routes-with-resource-routes/178627)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [November 9, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/error-using-named-routes-with-resource-routes/178627 "2009-11-09T15:34:12Z")

</div>

I have a simple app – essentially just restful\_authentication at this point. I have the following in my routes.rb: map.resources :attendees map.resource :sessions nice named routes map.signup ‘/signup’, :controller…

---

## [Console/Server fetching different gems](https://www.ruby-forum.com/t/console-server-fetching-different-gems/178642)

<div class="topic-metadata">

**Author:** [@chero](https://www.ruby-forum.com/u/chero)\
**Replies:** 5\
**Last updated:** [November 9, 2009, 3:34pm UTC](https://www.ruby-forum.com/t/console-server-fetching-different-gems/178642 "2009-11-09T15:34:12Z")

</div>

Hey All, I’m running into a situation where ruby script/server and ruby script/console are apparently not pulling gems from the same directory. Ex: $\> ruby script/console require ‘nokogiri’ =\> \[\] Nokogiri =\>No…

---

## [RubyGems & RUBY EXECUTABLE](https://www.ruby-forum.com/t/rubygems-ruby-executable/178684)

<div class="topic-metadata">

**Author:** [@zurich\_by\_night](https://www.ruby-forum.com/u/zurich_by_night)\
**Replies:** 1\
**Last updated:** [November 9, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/rubygems-ruby-executable/178684 "2009-11-09T15:06:41Z")

</div>

Hi folks, I Have a problem depending on RubyGems. I have installed ruby 1.8.7 with macports. which ruby /opt/local/bin/ruby ruby -v ruby 1.8.7 (2008-08-11 patchlevel 72) \[i686-darwin9\] Now my rubygems says: whic…

---

## [Problems with public/images](https://www.ruby-forum.com/t/problems-with-public-images/178645)

<div class="topic-metadata">

**Author:** [@closedbook](https://www.ruby-forum.com/u/closedbook)\
**Replies:** 4\
**Last updated:** [November 9, 2009, 2:22pm UTC](https://www.ruby-forum.com/t/problems-with-public-images/178645 "2009-11-09T14:22:48Z")

</div>

Hi all, I’m having trouble getting images to show up on the browser. I added an image to the public/images directory in Textmate, however all I get is the image alt information when I refresh my browser. This is the i…

---

## [Digest auth with Rack/Metal](https://www.ruby-forum.com/t/digest-auth-with-rack-metal/178681)

<div class="topic-metadata">

**Author:** [@matthewmurcia](https://www.ruby-forum.com/u/matthewmurcia)\
**Replies:** 0\
**Last updated:** [November 9, 2009, 2:22pm UTC](https://www.ruby-forum.com/t/digest-auth-with-rack-metal/178681 "2009-11-09T14:22:12Z")

</div>

Hi folks, I’m trying to so some digest authentication in Rack via Metal. I’ve found the: http://rack.rubyforge.org/doc/Rack/Auth/Digest/MD5.html Class, but I don’t have a great idea of how this fits into metal. It …

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

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