# Rails

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

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

---

## [Server problem or rails problem?](https://www.ruby-forum.com/t/server-problem-or-rails-problem/195173)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 10:14am UTC](https://www.ruby-forum.com/t/server-problem-or-rails-problem/195173 "2010-09-18T10:14:29Z")

</div>

Hello, im trying to upload my rails app to an shared hosting environment. The application works fine on my development machine ( as it usually does ). but after uploading it running bundle install and then mogrel I s…

---

## [Uninitialized constant ApplicationController::Authentication](https://www.ruby-forum.com/t/uninitialized-constant-applicationcontroller-authentication/195164)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 2\
**Last updated:** [September 18, 2010, 7:03am UTC](https://www.ruby-forum.com/t/uninitialized-constant-applicationcontroller-authentication/195164 "2010-09-18T07:03:44Z")

</div>

I don’t know what happen when i suite with #188 Declarative Authorization - RailsCasts the error message happen when i have typed http://localhost:3000

---

## [Lyric data store and search](https://www.ruby-forum.com/t/lyric-data-store-and-search/195170)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 6:29am UTC](https://www.ruby-forum.com/t/lyric-data-store-and-search/195170 "2010-09-18T06:29:14Z")

</div>

hi I have many lyrics which are originally binary format.I need to store them and let users to search them. 1 But i don’t know where to store them? using filesystem or database? I think it is better choosing database…

---

## [Roles that are User\<\>Project Based](https://www.ruby-forum.com/t/roles-that-are-user-project-based/194946)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 24\
**Last updated:** [September 18, 2010, 2:42am UTC](https://www.ruby-forum.com/t/roles-that-are-user-project-based/194946 "2010-09-18T02:42:42Z")

</div>

Hello… Currently I’m using Devise & CanCan which allows me to create Users with Roles using a (Roles\_Users) table. That’s nice, but what I want is to Have Projects in my app and for each project for a user to possibly…

---

## [Pagination and caching](https://www.ruby-forum.com/t/pagination-and-caching/195167)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 0\
**Last updated:** [September 18, 2010, 1:52am UTC](https://www.ruby-forum.com/t/pagination-and-caching/195167 "2010-09-18T01:52:58Z")

</div>

What’s the best way to cache a paginated result set with rails and memcached. For example #posts controller def index @posts = Rails.cache.fetch('all\_posts') do Post.paginate(:conditions =\> \['xx = ?', yy\], :include =\>…

---

## [\[JOBS\] Columbus, OH](https://www.ruby-forum.com/t/jobs-columbus-oh/195165)

<div class="topic-metadata">

**Author:** [@jake](https://www.ruby-forum.com/u/jake)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 11:51pm UTC](https://www.ruby-forum.com/t/jobs-columbus-oh/195165 "2010-09-17T23:51:50Z")

</div>

Solid opportunity local to Columbus, OH for about 3 months worth of fulltime, on-site project work. Interactive agency creating RoR web apps for their clients. Established group, dynamic individuals, interesting clien…

---

## [Understanding Rails Controllers/Models](https://www.ruby-forum.com/t/understanding-rails-controllers-models/195163)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 11:29pm UTC](https://www.ruby-forum.com/t/understanding-rails-controllers-models/195163 "2010-09-17T23:29:00Z")

</div>

Hello, Rails newbie… trying to understand the right way to do things… In my app users can create a Book ( I have that working) What I want to happen is when a user creates a book, a record is added to the BookCharact…

---

## [Rails base model](https://www.ruby-forum.com/t/rails-base-model/195122)

<div class="topic-metadata">

**Author:** [@DanielMedia](https://www.ruby-forum.com/u/DanielMedia)\
**Replies:** 6\
**Last updated:** [September 17, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/rails-base-model/195122 "2010-09-17T21:46:55Z")

</div>

I’m very new to Ruby and to Rails. I’m coming from PHP and CakePHP. I would like to create a base model from which all other models will inherit from. I have done this: class AppModel \< ActiveRecord::Base end and c…

---

## [Plugins Restful\_authentication can't install](https://www.ruby-forum.com/t/plugins-restful-authentication-cant-install/195156)

<div class="topic-metadata">

**Author:** [@cameron1inm](https://www.ruby-forum.com/u/cameron1inm)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/plugins-restful-authentication-cant-install/195156 "2010-09-17T21:46:00Z")

</div>

I’m a fairly new programmer, and I jump back and forth between PHP C# and Ruby. I’m trying to install a restful-authentication plugin but I can’t get it to install into my ruby directory. I have looked it up and folow…

---

## [Cache output issue](https://www.ruby-forum.com/t/cache-output-issue/195098)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 4\
**Last updated:** [September 17, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/cache-output-issue/195098 "2010-09-17T21:10:51Z")

</div>

I am using memcached… and have the folllowing in my partial. \<%CACHE.fetch ‘all\_categories’ do %\> Category.all.each do |c| \<%= c.name %\> end \<%end %\> When I check in the irb console the “all\_categories” key does get …

---

## [Using OpenPGP gem and getting "out of range error"](https://www.ruby-forum.com/t/using-openpgp-gem-and-getting-out-of-range-error/195153)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 8:42pm UTC](https://www.ruby-forum.com/t/using-openpgp-gem-and-getting-out-of-range-error/195153 "2010-09-17T20:42:10Z")

</div>

I’ve been handed someone else’s code to debug, but am getting no further than he did… perhaps someone can help. We’re using the OpenPGP gem (http://openpgp.rubyforge.org/) to PGP- encrypt an XML file for submission to…

---

## [Weird caching error](https://www.ruby-forum.com/t/weird-caching-error/195151)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 7:08pm UTC](https://www.ruby-forum.com/t/weird-caching-error/195151 "2010-09-17T19:08:30Z")

</div>

Using memcached/dalli on rails 2.3.5 I am trying to render to partials from the cache…and I see the following messages in the production log. \[DEBUG 17-09-2010 10:03:06\] Cache read: category\_nav \[DEBUG 17-09-2010 10:…

---

## [How to create a project with an older version of rails](https://www.ruby-forum.com/t/how-to-create-a-project-with-an-older-version-of-rails/195136)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 6:28pm UTC](https://www.ruby-forum.com/t/how-to-create-a-project-with-an-older-version-of-rails/195136 "2010-09-17T18:28:43Z")

</div>

Hi, I have installed Rails 3 on my local machine. Let’s say I wan’t to create a new project but in version 2.3.5, can I do that? Greg

---

## [Find instead of find\_by\_sql](https://www.ruby-forum.com/t/find-instead-of-find-by-sql/195145)

<div class="topic-metadata">

**Author:** [@PalaniKannan\_K](https://www.ruby-forum.com/u/PalaniKannan_K)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/find-instead-of-find-by-sql/195145 "2010-09-17T17:52:24Z")

</div>

Dear all, I need to apply “find” instead of find\_by\_sql. Kindly suggest me. Because, params\[gm\] is not working with find\_by\_sql. Kindly justify whether my code below is in correct syntax… find\_by\_sql(“SELECT column…

---

## [Multiple Table Query](https://www.ruby-forum.com/t/multiple-table-query/195149)

<div class="topic-metadata">

**Author:** [@PalaniKannan\_K](https://www.ruby-forum.com/u/PalaniKannan_K)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 5:51pm UTC](https://www.ruby-forum.com/t/multiple-table-query/195149 "2010-09-17T17:51:14Z")

</div>

Dear All, \* Inputs:\* Query 1 = column1.table1, Query2 = column2.table1 column3.table1 = foreign\_key using this two queries and foreign key (column3.table1), I have to print a column4.table2 condition: where col…

---

## [Wysihat-engine and IE8](https://www.ruby-forum.com/t/wysihat-engine-and-ie8/195148)

<div class="topic-metadata">

**Author:** [@walterdavis](https://www.ruby-forum.com/u/walterdavis)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 5:27pm UTC](https://www.ruby-forum.com/t/wysihat-engine-and-ie8/195148 "2010-09-17T17:27:14Z")

</div>

I am having serious problems with wysihat-engine 1.0.3 in a Rails 2.3.8 application when viewing on IE8. The first problem I encountered was that the toolbar didn’t show at all. This was fixed with an Emulate IE7 meta…

---

## [Documentation for active record "validates" helper](https://www.ruby-forum.com/t/documentation-for-active-record-validates-helper/195029)

<div class="topic-metadata">

**Author:** [@Daniel\_LidstrSSSSm](https://www.ruby-forum.com/u/Daniel_LidstrSSSSm)\
**Replies:** 6\
**Last updated:** [September 17, 2010, 5:03pm UTC](https://www.ruby-forum.com/t/documentation-for-active-record-validates-helper/195029 "2010-09-17T17:03:13Z")

</div>

Hello, I am following the railstutorial.org. The model User that is being developed \[1\] is using an active record “validates” helper that I want to know more about. However, when I search \[2\] I can’t seem to find any…

---

## [Execute System command asynchronously in Controller-\>Action](https://www.ruby-forum.com/t/execute-system-command-asynchronously-in-controller-action/195107)

<div class="topic-metadata">

**Author:** [@sudheendra](https://www.ruby-forum.com/u/sudheendra)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 4:31pm UTC](https://www.ruby-forum.com/t/execute-system-command-asynchronously-in-controller-action/195107 "2010-09-17T16:31:36Z")

</div>

My contoller -\> action executes the ruby script on click of a button using System command. Ruby Script takes 30seconds to execute. If two users clicks the button same time in two separate browsers, second user execut…

---

## [Bundler for Rails 3 Engine](https://www.ruby-forum.com/t/bundler-for-rails-3-engine/188155)

<div class="topic-metadata">

**Author:** [@churp](https://www.ruby-forum.com/u/churp)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 4:28pm UTC](https://www.ruby-forum.com/t/bundler-for-rails-3-engine/188155 "2010-09-17T16:28:40Z")

</div>

Hello All, My google-fu did not find this answer : How do I configure a Rails-3 Engine so that the engine’s Gemfile is integrated with the parent-Rails-app’s bundle? Thanks Peter F. (847) 859-9550 Email: removed\_e…

---

## [Invalid content-Length ERROR while uploading 2 GB of stream](https://www.ruby-forum.com/t/invalid-content-length-error-while-uploading-2-gb-of-stream/195134)

<div class="topic-metadata">

**Author:** [@amit-singh](https://www.ruby-forum.com/u/amit-singh)\
**Replies:** 9\
**Last updated:** [September 17, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/invalid-content-length-error-while-uploading-2-gb-of-stream/195134 "2010-09-17T16:18:08Z")

</div>

hi all, When Trying to upload 2GB of stream i got invalid content length error am running Apache as frontend server to mongrel and chrome as my browser. One more thing one i do it with mongrel alone am able to uploa…

---

## [\[JOB\] Software Development Manager](https://www.ruby-forum.com/t/job-software-development-manager/195142)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/job-software-development-manager/195142 "2010-09-17T15:33:38Z")

</div>

We are looking for a Software Development Manager for a great opportunity here in Austin. Salary range is 100 - 130k DOE. If you have Ruby on Rails Development experience, and have led a team of Engineers, here are …

---

## [\[JOBS\] Sr. Technology Manager RoR $250k-$300k+ NYC & Washington DC](https://www.ruby-forum.com/t/jobs-sr-technology-manager-ror-250k-300k-nyc-washington-dc/195137)

<div class="topic-metadata">

**Author:** [@Ruby\_Kate](https://www.ruby-forum.com/u/Ruby_Kate)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 3:07pm UTC](https://www.ruby-forum.com/t/jobs-sr-technology-manager-ror-250k-300k-nyc-washington-dc/195137 "2010-09-17T15:07:17Z")

</div>

Well funded internal startup of a major data rich content provider is seeking a seasoned technology leader intimately familiar with web based data rich platforms and the people and project management approaches that l…

---

## [Key Value Json ActiveModel::Errors](https://www.ruby-forum.com/t/key-value-json-activemodel-errors/195135)

<div class="topic-metadata">

**Author:** [@fabiokr](https://www.ruby-forum.com/u/fabiokr)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 2:34pm UTC](https://www.ruby-forum.com/t/key-value-json-activemodel-errors/195135 "2010-09-17T14:34:30Z")

</div>

Hi all, I’m using Rails 3.0, and I have a model which validates if the attribute :name is present. On my my views, I use Jquery to submit the form which creates the model. If the name is not present, Rails returns so…

---

## [Ruby's oauth2 grant\_type](https://www.ruby-forum.com/t/rubys-oauth2-grant-type/195130)

<div class="topic-metadata">

**Author:** [@axyd80](https://www.ruby-forum.com/u/axyd80)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 12:41pm UTC](https://www.ruby-forum.com/t/rubys-oauth2-grant-type/195130 "2010-09-17T12:41:17Z")

</div>

Hi, i started using oauth2 gem by intridea (GitHub - oauth-xx/oauth2: A Ruby wrapper for the OAuth 2.0 protocol.) and don’t know how to fix this problem. I have developed both client and server and on request for acce…

---

## [Problem With Active Record. Associations Showing Error ..ple](https://www.ruby-forum.com/t/problem-with-active-record-associations-showing-error-ple/195120)

<div class="topic-metadata">

**Author:** [@sudhirsb2003](https://www.ruby-forum.com/u/sudhirsb2003)\
**Replies:** 7\
**Last updated:** [September 17, 2010, 12:22pm UTC](https://www.ruby-forum.com/t/problem-with-active-record-associations-showing-error-ple/195120 "2010-09-17T12:22:15Z")

</div>

i am stuck somewhere with The Acrive record association . whenever i try to get the value from another table it gives me the foolowing error “undefined method \`journal\_name’ for nil:NilClass” MY Controller def index …

---

## [Chat Application](https://www.ruby-forum.com/t/chat-application/195121)

<div class="topic-metadata">

**Author:** [@krishnamoorthy\_m](https://www.ruby-forum.com/u/krishnamoorthy_m)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 12:22pm UTC](https://www.ruby-forum.com/t/chat-application/195121 "2010-09-17T12:22:11Z")

</div>

Hi Pals, I am in need of finishing a chat Application in Rails3. What to do ?Any idea: Any plugins there?Kindly help me guyz.

---

## [I create a new video website by rails](https://www.ruby-forum.com/t/i-create-a-new-video-website-by-rails/195129)

<div class="topic-metadata">

**Author:** [@SS\_SSSSS\_SSSSSS](https://www.ruby-forum.com/u/SS_SSSSS_SSSSSS)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 12:12pm UTC](https://www.ruby-forum.com/t/i-create-a-new-video-website-by-rails/195129 "2010-09-17T12:12:49Z")

</div>

domain:http://ichiba.cc It is interesting because its player.

---

## [Receive mail with sendmail](https://www.ruby-forum.com/t/receive-mail-with-sendmail/195116)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 1\
**Last updated:** [September 17, 2010, 11:03am UTC](https://www.ruby-forum.com/t/receive-mail-with-sendmail/195116 "2010-09-17T11:03:27Z")

</div>

Hi Could any one please give links to any blogs (etc) which gives a detailed description on receiving emails to rails application with sendmail. I am using fedora12. I request help on configuring mail server (if need…

---

## [Error couchrest\_model \[not found\]](https://www.ruby-forum.com/t/error-couchrest-model-not-found/195123)

<div class="topic-metadata">

**Author:** [@Rune\_Skjoldborg\_Mad](https://www.ruby-forum.com/u/Rune_Skjoldborg_Mad)\
**Replies:** 0\
**Last updated:** [September 17, 2010, 9:53am UTC](https://www.ruby-forum.com/t/error-couchrest-model-not-found/195123 "2010-09-17T09:53:29Z")

</div>

Hey all I’ve create a rails 3 project and added the following to the gem file: Require Couchdb gem ‘couchrest’, ‘\>= 1.0.0.beta’ gem ‘couchrest\_model’ Everything installs when running bundle install But when I try to…

---

## [Rails and database connection pooling](https://www.ruby-forum.com/t/rails-and-database-connection-pooling/194451)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 5\
**Last updated:** [September 17, 2010, 7:37am UTC](https://www.ruby-forum.com/t/rails-and-database-connection-pooling/194451 "2010-09-17T07:37:06Z")

</div>

Hi all, I am interested to learn more about connection pooling in rails. Is there any good articles about this? I want to know specifically how is connection pooling in rails works. Does rails open one connection to…

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

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