# Rails

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

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

---

## [Problems with updating multiple HABTM relationships](https://www.ruby-forum.com/t/problems-with-updating-multiple-habtm-relationships/177648)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [October 22, 2009, 6:17am UTC](https://www.ruby-forum.com/t/problems-with-updating-multiple-habtm-relationships/177648 "2009-10-22T06:17:46Z")

</div>

have the following models class Address \< ActiveRecord::Base has\_and\_belongs\_to\_many :address\_types, :join\_table =\> “address\_types\_addresses”, :foreign\_key =\> “address\_id” has\_and\_belongs\_to\_many :organisations clas…

---

## [Attachment\_fu :thumbnail counter-acting :resize\_to](https://www.ruby-forum.com/t/attachment-fu-thumbnail-counter-acting-resize-to/197009)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 3:58am UTC](https://www.ruby-forum.com/t/attachment-fu-thumbnail-counter-acting-resize-to/197009 "2009-10-22T03:58:49Z")

</div>

Hey everyone, In my model i have: has\_attachment :storage =\> :file\_system, :content\_type =\> :image, :max\_size =\> 7.megabytes, :resize\_to =\> ‘1000x1000\>’, :thumbnails =\> { :thumb=\>‘150x100\>’ } But what I end up wi…

---

## [Attachment\_fu :thumbnail counter-acting :resize\_to](https://www.ruby-forum.com/t/attachment-fu-thumbnail-counter-acting-resize-to/177695)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 3:58am UTC](https://www.ruby-forum.com/t/attachment-fu-thumbnail-counter-acting-resize-to/177695 "2009-10-22T03:58:14Z")

</div>

Hey everyone, In my model i have: has\_attachment :storage =\> :file\_system, :content\_type =\> :image, :max\_size =\> 7.megabytes, :resize\_to =\> ‘1000x1000\>’, :thumbnails =\> { :thumb=\>‘150x100\>’ } But what I end up wi…

---

## [Ruby Video Tutorials](https://www.ruby-forum.com/t/ruby-video-tutorials/177561)

<div class="topic-metadata">

**Author:** [@aniX](https://www.ruby-forum.com/u/aniX)\
**Replies:** 5\
**Last updated:** [October 22, 2009, 2:26am UTC](https://www.ruby-forum.com/t/ruby-video-tutorials/177561 "2009-10-22T02:26:32Z")

</div>

Hi everyone, I am a newbie for Ruby language. I am a C++ and Java programmer and I want to try my hands on Ruby. I have been searching a lots of online resources but I could not find a step by step online video tutori…

---

## [Sample Authlogic + Subdomain\_fu application](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479)

<div class="topic-metadata">

**Author:** [@xponrails](https://www.ruby-forum.com/u/xponrails)\
**Replies:** 3\
**Last updated:** [October 22, 2009, 12:29am UTC](https://www.ruby-forum.com/t/sample-authlogic-subdomain-fu-application/175479 "2009-10-22T00:29:16Z")

</div>

Hi all. I’m going to start a new application using Authlogic with subdomain support (subdomain\_fu) and I wonder if someone has just created a sample application to use as starting skeleton (that can be cloned/ forked…

---

## [Java SOAP Webservice access from rails with the proxy](https://www.ruby-forum.com/t/java-soap-webservice-access-from-rails-with-the-proxy/177690)

<div class="topic-metadata">

**Author:** [@siva](https://www.ruby-forum.com/u/siva)\
**Replies:** 0\
**Last updated:** [October 22, 2009, 12:15am UTC](https://www.ruby-forum.com/t/java-soap-webservice-access-from-rails-with-the-proxy/177690 "2009-10-22T00:15:14Z")

</div>

I am trying to access the Java SOAP webservice from rails. I need to pass the username and password to access the webservice. This is the code require ‘soap/wsdlDriver’ soap\_client = SOAP::WSDLDriverFactory.new(“http…

---

## [New to RoR. Where to begin?](https://www.ruby-forum.com/t/new-to-ror-where-to-begin/177662)

<div class="topic-metadata">

**Author:** [@Rox](https://www.ruby-forum.com/u/Rox)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/new-to-ror-where-to-begin/177662 "2009-10-21T23:50:57Z")

</div>

I’m doing contract work for a company whose site is developed in RoR. I have never used RoR but do have years of experience with html, etc. via GUI based software like Dreamweaver. What is the best way to get started …

---

## [Advantages of rails 2.1](https://www.ruby-forum.com/t/advantages-of-rails-2-1/177635)

<div class="topic-metadata">

**Author:** [@karthik2tvl](https://www.ruby-forum.com/u/karthik2tvl)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 11:43pm UTC](https://www.ruby-forum.com/t/advantages-of-rails-2-1/177635 "2009-10-21T23:43:43Z")

</div>

hi friends, Anybody knows the adv of rails 2.1??? please explain me,…

---

## [Building RMagick on Mac OS X](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/building-rmagick-on-mac-os-x/177679 "2009-10-21T23:40:34Z")

</div>

Hi There, I’m trying to implement a captcha, but am having a few issues with the installation, from usr/local (following to osx instructions on hivelogic: However - when I run the first line: curl -O http://downlo…

---

## [RoR Google Summer of Code](https://www.ruby-forum.com/t/ror-google-summer-of-code/177682)

<div class="topic-metadata">

**Author:** [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/ror-google-summer-of-code/177682 "2009-10-21T23:07:27Z")

</div>

Does anybody have experience with Google summer of code? I would love to hack on rails next summer so I was wondering what the process was like for rails community. If you were participating, how was it and what were …

---

## [Certification and Training Courses](https://www.ruby-forum.com/t/certification-and-training-courses/177677)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 9:39pm UTC](https://www.ruby-forum.com/t/certification-and-training-courses/177677 "2009-10-21T21:39:54Z")

</div>

Hi Everyone, Sorry I’ve been out of the mix lately and haven’t had time to post. I’ve been working an infrastructure contract position which just now ended so I’m able to get back into Rails development. I’m finding …

---

## [Public/.htaccess has to be recreated manually everytime?](https://www.ruby-forum.com/t/public-htaccess-has-to-be-recreated-manually-everytime/177678)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/public-htaccess-has-to-be-recreated-manually-everytime/177678 "2009-10-21T21:24:48Z")

</div>

Hi all I’m deploying my Rails app using capistrano. Everything works great, except that I always have to recreate my .htaccess file in the public directory. How should I fix this? Thanks Josh

---

## [Script/process/reaper: No such file or directory](https://www.ruby-forum.com/t/script-process-reaper-no-such-file-or-directory/177680)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 9:22pm UTC](https://www.ruby-forum.com/t/script-process-reaper-no-such-file-or-directory/177680 "2009-10-21T21:22:44Z")

</div>

Hi all I’m trying to deploy an app using Capistrano. So far so good, everything works quite fine, except restarting the application. I guess it has something to do with the output script/process/reaper: No such file …

---

## [NoMethodError application\_controller.rb:10](https://www.ruby-forum.com/t/nomethoderror-application-controller-rb-10/177666)

<div class="topic-metadata">

**Author:** [@rtacconi](https://www.ruby-forum.com/u/rtacconi)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/nomethoderror-application-controller-rb-10/177666 "2009-10-21T19:52:51Z")

</div>

When I try to set a session variable, in ApplicationController, I get this: NoMethodError in ManagementController#index You have a nil object when you didn’t expect it! You might have expected an instance of ActiveRe…

---

## [Pretty grid results w/ sorting/filtering + Sphinx?](https://www.ruby-forum.com/t/pretty-grid-results-w-sorting-filtering-sphinx/177667)

<div class="topic-metadata">

**Author:** [@Aaron\_T](https://www.ruby-forum.com/u/Aaron_T)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 7:02pm UTC](https://www.ruby-forum.com/t/pretty-grid-results-w-sorting-filtering-sphinx/177667 "2009-10-21T19:02:29Z")

</div>

I’m already familiar with wice\_grid for doing simple sorting & filtering, but I’d like the same functionality but with full-text search (everyone seems to be recommending Thinking or UltraSphinx so let’s stay with tha…

---

## [Rails generator fails to generate all files](https://www.ruby-forum.com/t/rails-generator-fails-to-generate-all-files/177656)

<div class="topic-metadata">

**Author:** [@artrat](https://www.ruby-forum.com/u/artrat)\
**Replies:** 3\
**Last updated:** [October 21, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/rails-generator-fails-to-generate-all-files/177656 "2009-10-21T18:56:03Z")

</div>

Hi Ive lost all idea of why this can happen I normally use rails to generate a new project rails myproject -d mysql inside the myproject directory normally there would be a file called application.html.erb, with in …

---

## [Alternatives to rmagick?](https://www.ruby-forum.com/t/alternatives-to-rmagick/177644)

<div class="topic-metadata">

**Author:** [@eltercero](https://www.ruby-forum.com/u/eltercero)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/alternatives-to-rmagick/177644 "2009-10-21T18:56:02Z")

</div>

Hi there, Is there any real alternative to RMagick? I need to compose some texts to an image, so I don’t really need anything really complex.

---

## [Aep\_beast forum authorized? method problem?](https://www.ruby-forum.com/t/aep-beast-forum-authorized-method-problem/177665)

<div class="topic-metadata">

**Author:** [@Young\_Gyu\_P](https://www.ruby-forum.com/u/Young_Gyu_P)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:53pm UTC](https://www.ruby-forum.com/t/aep-beast-forum-authorized-method-problem/177665 "2009-10-21T18:53:07Z")

</div>

hello I have some problem in using aep\_beast forum plugin base on rails engines. Whenever I try to access forum/new page to create new forum, I meet the page containing message (You don’t have access here.). What I…

---

## [Acts\_as\_taggable\_on\_steroids](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids/177664)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 6:38pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids/177664 "2009-10-21T18:38:29Z")

</div>

hi, i’m playing with acts\_as\_taggable\_on\_steroids plugin and i find it very nice but i got stuck on find\_tagged\_with ordering options. suppose i got a model “book” that acts\_as\_taggable. when i search for Book.find\_…

---

## [Postgres adapater problem with create\_table :id =\> false](https://www.ruby-forum.com/t/postgres-adapater-problem-with-create-table-id-false/175641)

<div class="topic-metadata">

**Author:** [@Howard\_Y](https://www.ruby-forum.com/u/Howard_Y)\
**Replies:** 20\
**Last updated:** [October 21, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/postgres-adapater-problem-with-create-table-id-false/175641 "2009-10-21T18:18:09Z")

</div>

Hi All, When saving a record to a table that doesn’t use primary key, the adapater raises ActiveRecord::StatementInvalid: PGError: ERROR: column “id” does not exist That’s because the postgres adapter does, INSERT…

---

## [Disabled button](https://www.ruby-forum.com/t/disabled-button/177645)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 3\
**Last updated:** [October 21, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/disabled-button/177645 "2009-10-21T18:08:14Z")

</div>

Hello, I have a page where, once the user enters it, I want to disable some buttons. This because the user must select a row for them to be accessible. To be more specific, they are edit/delete buttons. So, basically…

---

## [Does Cruisecontrol works with the project ruby version 1.8.7](https://www.ruby-forum.com/t/does-cruisecontrol-works-with-the-project-ruby-version-1-8-7/177654)

<div class="topic-metadata">

**Author:** [@vishnukumar](https://www.ruby-forum.com/u/vishnukumar)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/does-cruisecontrol-works-with-the-project-ruby-version-1-8-7/177654 "2009-10-21T16:43:44Z")

</div>

Hi, I have project in Ruby as version 1.8.7. I am trying to use Crusiecontrol.rb to build the project. But, when I saw in the Cruisecontrol.rb documentation, in the prerequisite section, I found that, the Cruisecontr…

---

## ["Loading"](https://www.ruby-forum.com/t/loading/177651)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 4:32pm UTC](https://www.ruby-forum.com/t/loading/177651 "2009-10-21T16:32:01Z")

</div>

Why would my view display the word: Loading In the lower left area? This wasn;t the case until (using Rails 2.3.x) I implemented the auto-complete plugin. This plugin calls for and index.js.erb file in the view of th…

---

## [Recommended security framework for Rails 3](https://www.ruby-forum.com/t/recommended-security-framework-for-rails-3/177637)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/recommended-security-framework-for-rails-3/177637 "2009-10-21T14:13:15Z")

</div>

Hi all, I was wondering whether anyone has any recommendable security framework that works with Rails 3. I have tried authlogic and it seems not working. Is there any other option out there? Thanks for your help. – …

---

## [Multi Select and Virtual Attributes](https://www.ruby-forum.com/t/multi-select-and-virtual-attributes/177640)

<div class="topic-metadata">

**Author:** [@acgreen](https://www.ruby-forum.com/u/acgreen)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 1:18pm UTC](https://www.ruby-forum.com/t/multi-select-and-virtual-attributes/177640 "2009-10-21T13:18:48Z")

</div>

Using Rails 2, I have multiple objects in a form and am using fields\_for. My problem is creating a multi select and sending that off to the controller as a hash. In my erb, I have … \<% teacher.fields\_for :qualifica…

---

## [Functional test problem in rails 2.2.2](https://www.ruby-forum.com/t/functional-test-problem-in-rails-2-2-2/177633)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 12:46pm UTC](https://www.ruby-forum.com/t/functional-test-problem-in-rails-2-2-2/177633 "2009-10-21T12:46:55Z")

</div>

Hi, I am doing functional test for my application, when i created a method in test folder test “valid\_login\_and\_redirect” do post :authenticate,:user=\> {:username=\>‘admin’,:password=\>‘admin’} assert session\[:user\] …

---

## [I thought frozen objects could not be unfrozen later](https://www.ruby-forum.com/t/i-thought-frozen-objects-could-not-be-unfrozen-later/176879)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 3\
**Last updated:** [October 21, 2009, 12:44pm UTC](https://www.ruby-forum.com/t/i-thought-frozen-objects-could-not-be-unfrozen-later/176879 "2009-10-21T12:44:15Z")

</div>

In The ActiveSupport memory\_store.rb @@@ def write(name, value, options = nil) super @data\[name\] = (value.duplicable? ? value.dup : value).freeze end @@@ This function freezes everything that gets written, accordi…

---

## [Checkstyle for ruby (on rails)](https://www.ruby-forum.com/t/checkstyle-for-ruby-on-rails/65489)

<div class="topic-metadata">

**Author:** [@Johan\_Chaves\_Sabor](https://www.ruby-forum.com/u/Johan_Chaves_Sabor)\
**Replies:** 1\
**Last updated:** [October 21, 2009, 12:12pm UTC](https://www.ruby-forum.com/t/checkstyle-for-ruby-on-rails/65489 "2009-10-21T12:12:36Z")

</div>

Hi, Does it exist a tool like checkstyle ( http://checkstyle.sourceforge.net/ ) for ruby (on rails)???

---

## [Form handling by rails](https://www.ruby-forum.com/t/form-handling-by-rails/177631)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 0\
**Last updated:** [October 21, 2009, 10:17am UTC](https://www.ruby-forum.com/t/form-handling-by-rails/177631 "2009-10-21T10:17:53Z")

</div>

Hi guys, I’m writing a sinatra app that interfaces to a Rails core, authenticating with OAuth and making requests to the main service. I’m experiencing a weird behaviour and I hope that someone can give me a clue abou…

---

## [Polymorphic relationships?](https://www.ruby-forum.com/t/polymorphic-relationships/177569)

<div class="topic-metadata">

**Author:** [@jsierra](https://www.ruby-forum.com/u/jsierra)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 9:59am UTC](https://www.ruby-forum.com/t/polymorphic-relationships/177569 "2009-10-21T09:59:09Z")

</div>

I´ll make a relationship between “notificaciones” and “users” as “origen” and “destinatarios” respectively.At the moment i´m working with the “origen” relationship with bad results…Rails accepts the Notificacion.orige…

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

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