# Rails

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

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

---

## [Problem in installing community\_engine plugin](https://www.ruby-forum.com/t/problem-in-installing-community-engine-plugin/197135)

<div class="topic-metadata">

**Author:** [@zengr](https://www.ruby-forum.com/u/zengr)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/problem-in-installing-community-engine-plugin/197135 "2010-05-09T18:43:03Z")

</div>

Hi, I am new to ROR and trying to deploy the community\_engine module to a clean ROR project. When I follow all the instructions here: And run " ./generate plugin\_migration" I get this error: vendor/plugins/communi…

---

## [Problem in installing Community](https://www.ruby-forum.com/t/problem-in-installing-community/188296)

<div class="topic-metadata">

**Author:** [@zengr](https://www.ruby-forum.com/u/zengr)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 6:42pm UTC](https://www.ruby-forum.com/t/problem-in-installing-community/188296 "2010-05-09T18:42:49Z")

</div>

Hi, I am new to ROR and trying to deploy the community\_engine module to a clean ROR project. When I follow all the instructions here: And run " ./generate plugin\_migration" I get this error: vendor/plugins/communi…

---

## [Sorting a listing page](https://www.ruby-forum.com/t/sorting-a-listing-page/188186)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 2\
**Last updated:** [May 9, 2010, 6:04pm UTC](https://www.ruby-forum.com/t/sorting-a-listing-page/188186 "2010-05-09T18:04:39Z")

</div>

Hi I have a list page for users. I am using will\_paginate for pagination. So an example is full\_name(f\_name+l\_name) email unit(this an integer colum is user.buildng.unit) Clinton Trone removed\_email…

---

## [User\_id being saved as NULL... but why?](https://www.ruby-forum.com/t/user-id-being-saved-as-null-but-why/188259)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 4\
**Last updated:** [May 9, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/user-id-being-saved-as-null-but-why/188259 "2010-05-09T16:53:48Z")

</div>

Hello there, I have a mini blog in which stores a few bits of info: title body created on user\_id If you’re logged in, you can enter a comment too. this stores: body blogpost\_id user\_id however. For some reason, …

---

## [Fix for compiling Ruby with VS2010 express compiler](https://www.ruby-forum.com/t/fix-for-compiling-ruby-with-vs2010-express-compiler/188293)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/fix-for-compiling-ruby-with-vs2010-express-compiler/188293 "2010-05-09T16:53:48Z")

</div>

Hi, The first time I compiled ruby using the VS2010 express compiler for the first time and I got an error relating to the miniruby.exe.manifest file not being found. I changed the LDFLAGS in win32\\Makefile.sub from…

---

## [How to generate the Generating SSH keys in github?](https://www.ruby-forum.com/t/how-to-generate-the-generating-ssh-keys-in-github/188288)

<div class="topic-metadata">

**Author:** [@ruby\_rails](https://www.ruby-forum.com/u/ruby_rails)\
**Replies:** 1\
**Last updated:** [May 9, 2010, 3:04pm UTC](https://www.ruby-forum.com/t/how-to-generate-the-generating-ssh-keys-in-github/188288 "2010-05-09T15:04:21Z")

</div>

how to generate the Generating SSH keys in github?

---

## [Expand TEXT AREA dynamically?](https://www.ruby-forum.com/t/expand-text-area-dynamically/188290)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/expand-text-area-dynamically/188290 "2010-05-09T14:23:58Z")

</div>

is there a way to expand a text field when the text reaches past the bottom?

---

## [Sharing model validation code in lib/, how do I do this?](https://www.ruby-forum.com/t/sharing-model-validation-code-in-lib-how-do-i-do-this/188277)

<div class="topic-metadata">

**Author:** [@Matthew\_Hillsboroug](https://www.ruby-forum.com/u/Matthew_Hillsboroug)\
**Replies:** 1\
**Last updated:** [May 9, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/sharing-model-validation-code-in-lib-how-do-i-do-this/188277 "2010-05-09T12:36:51Z")

</div>

Hello everyone, I’m having a bit of difficulty finding out the proper way to mix in code that I put into the lib/ directory for Rails 2.3.5. I have several models that require phone validation. I had at least three …

---

## [Using re to make BidDecimal's more readable using Regexp: problem](https://www.ruby-forum.com/t/using-re-to-make-biddecimals-more-readable-using-regexp-problem/188275)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 11\
**Last updated:** [May 9, 2010, 11:27am UTC](https://www.ruby-forum.com/t/using-re-to-make-biddecimals-more-readable-using-regexp-problem/188275 "2010-05-09T11:27:47Z")

</div>

Hi, I’m on a mission to show my granddaughter how Pi can be computed. For that, I need Sqrt(2) computed accurately, which I’ve done. But I need to display results in 5-digit groups, space separated. The following a…

---

## [Need help about gzip](https://www.ruby-forum.com/t/need-help-about-gzip/188263)

<div class="topic-metadata">

**Author:** [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Replies:** 3\
**Last updated:** [May 9, 2010, 8:11am UTC](https://www.ruby-forum.com/t/need-help-about-gzip/188263 "2010-05-09T08:11:07Z")

</div>

i need the gzip plugin for rails app any body help me. nirosh

---

## [Rails Apps for performance test](https://www.ruby-forum.com/t/rails-apps-for-performance-test/188279)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [May 9, 2010, 7:39am UTC](https://www.ruby-forum.com/t/rails-apps-for-performance-test/188279 "2010-05-09T07:39:24Z")

</div>

Hi everyone, Are there any Rails apps to test your deployment enviroment besides Olio? regards

---

## [Current Rails 3 engines](https://www.ruby-forum.com/t/current-rails-3-engines/188276)

<div class="topic-metadata">

**Author:** [@Nicholas\_Faiz](https://www.ruby-forum.com/u/Nicholas_Faiz)\
**Replies:** 1\
**Last updated:** [May 9, 2010, 5:00am UTC](https://www.ruby-forum.com/t/current-rails-3-engines/188276 "2010-05-09T05:00:58Z")

</div>

Hi, I’m working on a Rails 3 engine and it’d be useful if I could find some others to look at. I’ve googled for it, etc., but because Rails 3 is rather new I’m not finding results. Can anyone suggest one? Regards, N…

---

## [ActionMailer Confusion](https://www.ruby-forum.com/t/actionmailer-confusion/188271)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 1\
**Last updated:** [May 9, 2010, 3:25am UTC](https://www.ruby-forum.com/t/actionmailer-confusion/188271 "2010-05-09T03:25:35Z")

</div>

I am running Rails 2.3.2. I had something like the following in my environment.rb file: ActionMailer::Base.delivery\_method=:smtp ActionMailer::Base.server\_settings={ :whatever } Strangely, everything seemed to work j…

---

## [Problem loading images and css](https://www.ruby-forum.com/t/problem-loading-images-and-css/188268)

<div class="topic-metadata">

**Author:** [@tzvio](https://www.ruby-forum.com/u/tzvio)\
**Replies:** 3\
**Last updated:** [May 8, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/problem-loading-images-and-css/188268 "2010-05-08T23:49:08Z")

</div>

i’m running ruby on webrick and it causes strange problems: sometimes the images doesn’t appear and only when i refresh they appear again. the css doesn’t load at all (tested on chrome) but ,somehow, when i tested i…

---

## [Rake](https://www.ruby-forum.com/t/rake/188262)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 3\
**Last updated:** [May 8, 2010, 10:33pm UTC](https://www.ruby-forum.com/t/rake/188262 "2010-05-08T22:33:28Z")

</div>

I’ve been looking into rake. rake appears to be a very heavy duty thing along the lines of make. I’m thinking that there must be some pretty serious documentation somewhere; but, I seem to be having trouble turning …

---

## [Change default routing](https://www.ruby-forum.com/t/change-default-routing/188222)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 1\
**Last updated:** [May 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/change-default-routing/188222 "2010-05-08T22:19:26Z")

</div>

Hi, I would like to change the default routing system. I have a city model and instead of have :model/:controller/:id I would like to change it to :model/:controller/:name. How do I do this in the routes.rb? I have …

---

## [Survey on Web Geo-Spatial Open-Source Technologies: Questionnaire on Ruby On Rails](https://www.ruby-forum.com/t/survey-on-web-geo-spatial-open-source-technologies-questionnaire-on-ruby-on-rails/188267)

<div class="topic-metadata">

**Author:** [@andrea](https://www.ruby-forum.com/u/andrea)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/survey-on-web-geo-spatial-open-source-technologies-questionnaire-on-ruby-on-rails/188267 "2010-05-08T22:19:26Z")

</div>

\[Sorry for cross-posting\] Hi everybody, I am part of the Spatial Information Systems Group in University College Dublin. We are conducting a survey on Open-Source technologies with particular focus on Geo-Spatial pr…

---

## [Showing slides using periodically\_call\_remote in rails 2.3.5](https://www.ruby-forum.com/t/showing-slides-using-periodically-call-remote-in-rails-2-3-5/188266)

<div class="topic-metadata">

**Author:** [@Smok](https://www.ruby-forum.com/u/Smok)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/showing-slides-using-periodically-call-remote-in-rails-2-3-5/188266 "2010-05-08T22:19:25Z")

</div>

Hello, I have a problem with showing slides in a row. I would like to have a slideshow which would show all pictures. I am learning RUby so this example is from book 'Ruby on Rails". I am using Rails 2.3.5. Below th…

---

## [Multiple Models in one form](https://www.ruby-forum.com/t/multiple-models-in-one-form/188227)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 4\
**Last updated:** [May 8, 2010, 10:19pm UTC](https://www.ruby-forum.com/t/multiple-models-in-one-form/188227 "2010-05-08T22:19:25Z")

</div>

I have had the worst time getting my forms to accept input for more than one model. I tried using accepts\_nested, and other techniques and finally got it all working. But it was not fun. I never did get accepts\_nest…

---

## [Data Display - Calendar View](https://www.ruby-forum.com/t/data-display-calendar-view/188247)

<div class="topic-metadata">

**Author:** [@Amy\_Deschenes](https://www.ruby-forum.com/u/Amy_Deschenes)\
**Replies:** 1\
**Last updated:** [May 8, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/data-display-calendar-view/188247 "2010-05-08T22:18:50Z")

</div>

We want to create a calendar view in a room scheduling application. The outcome we want is to have hours open (variable depending on day) across the top of the grid and the names of the rooms down the left side of the…

---

## [Script/plugin uhoh..... :O](https://www.ruby-forum.com/t/script-plugin-uhoh-o/188260)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 7:41pm UTC](https://www.ruby-forum.com/t/script-plugin-uhoh-o/188260 "2010-05-08T19:41:24Z")

</div>

Whenever i run script/plugin -list i get this– script/plugin -list /usr/lib/ruby/1.8/optparse.rb:1450:in complete': invalid option: - list (OptionParser::InvalidOption) from /usr/lib/ruby/1.8/optparse.rb:1448:incatch’ …

---

## [Script/runner and cron, funny behavior](https://www.ruby-forum.com/t/script-runner-and-cron-funny-behavior/113049)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 2\
**Last updated:** [May 8, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/script-runner-and-cron-funny-behavior/113049 "2010-05-08T19:29:37Z")

</div>

I couldn’t figure out why my cronjobs weren’t executing correctly. They would run, but the code would not be executed. Here’s what the problem was: This was the cronjob that was not working correctly: /pat…

---

## [Uninitialized constant - Please Help Me](https://www.ruby-forum.com/t/uninitialized-constant-please-help-me/188245)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [May 8, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-please-help-me/188245 "2010-05-08T18:10:40Z")

</div>

Hello everyone, I’ve decided to take the step into creating a mini-forum for my website where users can open new posts on exixting topics and allow people to discuss things etc… I am following a tutorial in the book:…

---

## [ActiveRecord::AdapterNotFound - oci8 problems](https://www.ruby-forum.com/t/activerecord-adapternotfound-oci8-problems/188180)

<div class="topic-metadata">

**Author:** [@Ybr](https://www.ruby-forum.com/u/Ybr)\
**Replies:** 1\
**Last updated:** [May 8, 2010, 2:11pm UTC](https://www.ruby-forum.com/t/activerecord-adapternotfound-oci8-problems/188180 "2010-05-08T14:11:56Z")

</div>

I have resolved all the problems with OCI8Errors (you should see http://rubyforge.org/forum/forum.php?thread\_id=47776&forum\_id=1078 for more information). Now there is connecting to my DBMS without errors :))) OS: Wi…

---

## [Test suite assertion: 0 == 1 is true?](https://www.ruby-forum.com/t/test-suite-assertion-0-1-is-true/188225)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 3\
**Last updated:** [May 8, 2010, 11:24am UTC](https://www.ruby-forum.com/t/test-suite-assertion-0-1-is-true/188225 "2010-05-08T11:24:33Z")

</div>

I must be missing something fundamental. In the test code below, the assertion should fail unless WebPageCache.count == 1. But WebPageCache.count is zero (according to the print statement and all other evidence), ye…

---

## [(JOBS) Ruby on Rails Developer Wanted in Lake Mary, FL](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-wanted-in-lake-mary-fl/188250)

<div class="topic-metadata">

**Author:** [@Leah\_Carden](https://www.ruby-forum.com/u/Leah_Carden)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 11:20am UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-wanted-in-lake-mary-fl/188250 "2010-05-08T11:20:27Z")

</div>

Company Background: Avatar International (Lake Mary, FL), a research and consulting services company, is the innovative leader in measurement and continuous quality improvement in healthcare. As the fastest growing h…

---

## [RE: form remote tag :before=\> function problem](https://www.ruby-forum.com/t/re-form-remote-tag-before-function-problem/188249)

<div class="topic-metadata">

**Author:** [@Fattah](https://www.ruby-forum.com/u/Fattah)\
**Replies:** 0\
**Last updated:** [May 8, 2010, 11:20am UTC](https://www.ruby-forum.com/t/re-form-remote-tag-before-function-problem/188249 "2010-05-08T11:20:27Z")

</div>

Dont use return. If you have something to validate before ajax call then do it using :condition option. Moving the hello js call in :condition option should solve your problem.

---

## [Rail2 and Rails3 beta3 process \<%= '\<h1\>hello\</h1\>' %\> differently](https://www.ruby-forum.com/t/rail2-and-rails3-beta3-process-h1-hello-h1-differently/188233)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 8, 2010, 10:13am UTC](https://www.ruby-forum.com/t/rail2-and-rails3-beta3-process-h1-hello-h1-differently/188233 "2010-05-08T10:13:44Z")

</div>

Rail2 and Rails3 beta3 process \<%= ‘ hello’ %\> differently. Rails3 must use \<%= capture {‘ hello’} %\> to get the same result as Rails2 Is this intentional or is it a bug?

---

## [Finding the next item, in a group of items](https://www.ruby-forum.com/t/finding-the-next-item-in-a-group-of-items/187933)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 28\
**Last updated:** [May 8, 2010, 8:34am UTC](https://www.ruby-forum.com/t/finding-the-next-item-in-a-group-of-items/187933 "2010-05-08T08:34:49Z")

</div>

Hi, Basically I currently have this system where there are categories, and tutorials; obviously categories have many tutorials, and every tutorial must belong\_to a category. The tutorials are then displayed in order …

---

## [Strange routing error](https://www.ruby-forum.com/t/strange-routing-error/188242)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 1\
**Last updated:** [May 8, 2010, 7:40am UTC](https://www.ruby-forum.com/t/strange-routing-error/188242 "2010-05-08T07:40:58Z")

</div>

I am trying to populate a select element based on the selection change in another select element, all this via ajax. I created a custom action called getsubcat and added it to my routes.rb map.resources :gcertsteps, …

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

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