# Rails

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

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

---

## [Table trouble](https://www.ruby-forum.com/t/table-trouble/151236)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 6:15pm UTC](https://www.ruby-forum.com/t/table-trouble/151236 "2008-10-18T18:15:07Z")

</div>

Guys, I need your awesome help again. I have two models - FlightType and FlightTypeCategory. FlightType belongs\_to FlightTypeCategories. I want to present these in a table, the categories spanning over the flighttypes…

---

## [Extended tutorials?](https://www.ruby-forum.com/t/extended-tutorials/151232)

<div class="topic-metadata">

**Author:** [@MHC](https://www.ruby-forum.com/u/MHC)\
**Replies:** 4\
**Last updated:** [October 18, 2008, 6:11pm UTC](https://www.ruby-forum.com/t/extended-tutorials/151232 "2008-10-18T18:11:00Z")

</div>

Hi group Sorry to admit that I’m an “architect” these days. RoR came on my horizon recently and I had to have a look. Great framework, full stop. I built a single-table app and tooled with the css for sexiness and…

---

## [Invalid Response From an Upstream Server](https://www.ruby-forum.com/t/invalid-response-from-an-upstream-server/151175)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 6:05pm UTC](https://www.ruby-forum.com/t/invalid-response-from-an-upstream-server/151175 "2008-10-18T18:05:45Z")

</div>

I have put together a Rails form-mailing application using Action Mailer and deployed it in a variety of instances without any problem. In my latest attempted deployment, however, I find that submitting the form resul…

---

## [Is acts\_as\_commentable suitable for me?](https://www.ruby-forum.com/t/is-acts-as-commentable-suitable-for-me/151229)

<div class="topic-metadata">

**Author:** [@bouldr-matt](https://www.ruby-forum.com/u/bouldr-matt)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 5:02pm UTC](https://www.ruby-forum.com/t/is-acts-as-commentable-suitable-for-me/151229 "2008-10-18T17:02:24Z")

</div>

Hi all, I’m working on a site that has different sections (documents, blog, projects etc) and each section should allow comments on the content inside. The comments must be quotable for users so conversation threads …

---

## [Ruby on Rails Development Services](https://www.ruby-forum.com/t/ruby-on-rails-development-services/150933)

<div class="topic-metadata">

**Author:** [@salescog](https://www.ruby-forum.com/u/salescog)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 4:48pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-development-services/150933 "2008-10-18T16:48:55Z")

</div>

Cognitation provides agile Ruby on Rails development services and web/technology strategy consulting. Our unique approach to projects keeps you, the client, involved at every step of the way and ensures an end product…

---

## [Better\_nested\_set getting error](https://www.ruby-forum.com/t/better-nested-set-getting-error/151226)

<div class="topic-metadata">

**Author:** [@cyrus](https://www.ruby-forum.com/u/cyrus)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/better-nested-set-getting-error/151226 "2008-10-18T14:31:08Z")

</div>

Hello All I have already one installed plugin called . better\_nested\_set but I am getting error when I start my project “uninitialized constant Rails: Plugin::FooCom” What can I do here …please help me

---

## [Rails and security](https://www.ruby-forum.com/t/rails-and-security/151052)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 2:20pm UTC](https://www.ruby-forum.com/t/rails-and-security/151052 "2008-10-18T14:20:32Z")

</div>

Hi, I am wondering if there is a way to secure rails application logs ? My issue is that I discovered that form parameters are shown in clear in the logs. So when users are authenticating, you see the login and passw…

---

## [Tracking received emails like basecamp or github](https://www.ruby-forum.com/t/tracking-received-emails-like-basecamp-or-github/151224)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/tracking-received-emails-like-basecamp-or-github/151224 "2008-10-18T14:15:17Z")

</div>

I have an application which I configured to send and receive email. Both processes work at the basic level. The application can send email to users. Users can send email back to the application where I use the mail\_fe…

---

## [What is the better way for Scheduling?](https://www.ruby-forum.com/t/what-is-the-better-way-for-scheduling/151216)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 11:25am UTC](https://www.ruby-forum.com/t/what-is-the-better-way-for-scheduling/151216 "2008-10-18T11:25:29Z")

</div>

Hi, In my application, I need to send an email to some persons once in every week. I want to make it as a background job. So which way/plugin will be better for this? Thanks in advance…

---

## [Question on model and fields in form](https://www.ruby-forum.com/t/question-on-model-and-fields-in-form/151212)

<div class="topic-metadata">

**Author:** [@inrila](https://www.ruby-forum.com/u/inrila)\
**Replies:** 1\
**Last updated:** [October 18, 2008, 10:03am UTC](https://www.ruby-forum.com/t/question-on-model-and-fields-in-form/151212 "2008-10-18T10:03:35Z")

</div>

Hi there, Her is the thing. Let’s say, I have model “Phonebook”, which has two fields “phone\_number” and “full\_name”. I also have view, with form which asks for “full\_name” and (important here) couple of fields: ph…

---

## [How to pass something to a model with has\_attachment?](https://www.ruby-forum.com/t/how-to-pass-something-to-a-model-with-has-attachment/151214)

<div class="topic-metadata">

**Author:** [@steffen\_w](https://www.ruby-forum.com/u/steffen_w)\
**Replies:** 0\
**Last updated:** [October 18, 2008, 8:01am UTC](https://www.ruby-forum.com/t/how-to-pass-something-to-a-model-with-has-attachment/151214 "2008-10-18T08:01:00Z")

</div>

Hi, being still quite new to Rails, Ruby and this whole cool programming stuff (and not having done my homework in studiying the basics) this problem is probably quite simple. But it still bugs me out as I have to fi…

---

## [Best way to validate input values](https://www.ruby-forum.com/t/best-way-to-validate-input-values/151159)

<div class="topic-metadata">

**Author:** [@jicksta](https://www.ruby-forum.com/u/jicksta)\
**Replies:** 6\
**Last updated:** [October 18, 2008, 2:32am UTC](https://www.ruby-forum.com/t/best-way-to-validate-input-values/151159 "2008-10-18T02:32:28Z")

</div>

Hi, I have a form that submits values from text fields and a check box. The values posted are: camp location name, number of nights, number of parents, number of children, value from the check box “family claim”. Wher…

---

## [Documentation for building an XML-RPC service with Rails 2](https://www.ruby-forum.com/t/documentation-for-building-an-xml-rpc-service-with-rails-2/151195)

<div class="topic-metadata">

**Author:** [@helzer](https://www.ruby-forum.com/u/helzer)\
**Replies:** 2\
**Last updated:** [October 18, 2008, 2:09am UTC](https://www.ruby-forum.com/t/documentation-for-building-an-xml-rpc-service-with-rails-2/151195 "2008-10-18T02:09:54Z")

</div>

Hi, I keep running into brick walls when trying to find up to date information on how to build and text XML-RPC API for my application, running Rails 2. Anyone know if the ‘web services’ chapter for the Pragmatic “Ag…

---

## [Activerecord :include](https://www.ruby-forum.com/t/activerecord-include/151150)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 1:57am UTC](https://www.ruby-forum.com/t/activerecord-include/151150 "2008-10-18T01:57:37Z")

</div>

basically I’ve got a design which has a model describing, say a folder, and within each folder I associate some notes. I’ve built my models so that a folder can have many notes, and that a note belongs to a folder. …

---

## [3 / 2 is 1?](https://www.ruby-forum.com/t/3-2-is-1/151194)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [October 17, 2008, 11:22pm UTC](https://www.ruby-forum.com/t/3-2-is-1/151194 "2008-10-17T23:22:10Z")

</div>

Hi all Why is 3/2=1 in a Rais view? How can I get Rails to output 1.5 as the result? Thanks Josh

---

## [DB strategy - Lock Table?](https://www.ruby-forum.com/t/db-strategy-lock-table/151183)

<div class="topic-metadata">

**Author:** [@shagymoe](https://www.ruby-forum.com/u/shagymoe)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 10:30pm UTC](https://www.ruby-forum.com/t/db-strategy-lock-table/151183 "2008-10-17T22:30:04Z")

</div>

Hi all, I have a process which creates a new object from a backgroundrb job. This object is versioned and the version is based on the existing objects in this table. For example, I’ve got a table called spreadsheets…

---

## [JQuerry Select Box problem](https://www.ruby-forum.com/t/jquerry-select-box-problem/151193)

<div class="topic-metadata">

**Author:** [@robert](https://www.ruby-forum.com/u/robert)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/jquerry-select-box-problem/151193 "2008-10-17T22:22:52Z")

</div>

Hi, I’m trying to do this using jQuery (in RoR ) and i need some help… So let me explain it in a few steps. Lets say Selection Box 1 is list of Continets. I want to be able to fill…

---

## [RoutingError from css background image url](https://www.ruby-forum.com/t/routingerror-from-css-background-image-url/151189)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 10:07pm UTC](https://www.ruby-forum.com/t/routingerror-from-css-background-image-url/151189 "2008-10-17T22:07:35Z")

</div>

In my css file, I have a css element that has a background image that’s defined as background: url(/images/global/tab-arrow.gif) no-repeat 16px 8px ; This throws a Routing Error when an element with that class gets r…

---

## [Modularize application](https://www.ruby-forum.com/t/modularize-application/151093)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 1\
**Last updated:** [October 17, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/modularize-application/151093 "2008-10-17T21:25:21Z")

</div>

Hello. WhatÂ´s the best way to extend a rails base application?. I explain myself. I have been writting an e-commerce application and while in production extending it to client needings. I have rewritten the code a…

---

## [\[ANN\] Prawn 0.2.1, 0.2.2 (Fast, nimble PDF generator for Ruby)](https://www.ruby-forum.com/t/ann-prawn-0-2-1-0-2-2-fast-nimble-pdf-generator-for-ruby/151188)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 9:12pm UTC](https://www.ruby-forum.com/t/ann-prawn-0-2-1-0-2-2-fast-nimble-pdf-generator-for-ruby/151188 "2008-10-17T21:12:27Z")

</div>

Hi folks, A new release of Prawn is out, with some bug fixes and a couple backported features from edge. This release is API-compatible with 0.2.0, so please do upgrade! Release notes at: http://blog.majesticseacrea…

---

## [Acts\_as\_versioned issues](https://www.ruby-forum.com/t/acts-as-versioned-issues/151138)

<div class="topic-metadata">

**Author:** [@sporkmonger](https://www.ruby-forum.com/u/sporkmonger)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/acts-as-versioned-issues/151138 "2008-10-17T21:05:24Z")

</div>

I’m in the midst of an upgrade from Rails 2.0.2 to 2.1.1. We were using an older version of acts\_as\_versioned and after upgrading both Rails and acts\_as\_versioned we have 146 tests failing, mostly acts\_as\_versioned r…

---

## [Looking for any e-commerce frameworks](https://www.ruby-forum.com/t/looking-for-any-e-commerce-frameworks/151178)

<div class="topic-metadata">

**Author:** [@wemagor](https://www.ruby-forum.com/u/wemagor)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/looking-for-any-e-commerce-frameworks/151178 "2008-10-17T19:28:37Z")

</div>

I’m wondering if there are any decent e-commerce frameworks done in Rails that are available for general use. My company is looking at upgrading from our existing shoddy Classic ASP solution, and since I am learning …

---

## [Form\_for() question](https://www.ruby-forum.com/t/form-for-question/151167)

<div class="topic-metadata">

**Author:** [@Zack\_K](https://www.ruby-forum.com/u/Zack_K)\
**Replies:** 5\
**Last updated:** [October 17, 2008, 6:23pm UTC](https://www.ruby-forum.com/t/form-for-question/151167 "2008-10-17T18:23:24Z")

</div>

Well right now i’m currently trying to make a form that posts information into my database. I’m using the form\_for function, but when i run the server and go to the page and get this error: undefined method \`posts\_pat…

---

## [Group Authentication Plugin](https://www.ruby-forum.com/t/group-authentication-plugin/151160)

<div class="topic-metadata">

**Author:** [@Prateek](https://www.ruby-forum.com/u/Prateek)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/group-authentication-plugin/151160 "2008-10-17T18:09:53Z")

</div>

Hello, I am currently in need of an authentication system where one user logs in and the adds other users and passwords from his setting and then those people can login. How can I do something like that? Is there a p…

---

## [Removing values from a select (drop-down) box](https://www.ruby-forum.com/t/removing-values-from-a-select-drop-down-box/151111)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 4\
**Last updated:** [October 17, 2008, 5:47pm UTC](https://www.ruby-forum.com/t/removing-values-from-a-select-drop-down-box/151111 "2008-10-17T17:47:02Z")

</div>

Hello, I am working on a project, and on one form we have a select (drop- down) box where the user needs to be able to select from a list of clients. The box is currently being populated with: \<%= collection\_select(…

---

## [Raw SQL from a Rake Task](https://www.ruby-forum.com/t/raw-sql-from-a-rake-task/129059)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 8\
**Last updated:** [October 17, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/raw-sql-from-a-rake-task/129059 "2008-10-17T16:54:23Z")

</div>

How do I execute a raw SQL file from a rake task? Right now I have this: require ‘active\_record’ desc “Get all the pico HTML mess into a Ruby model” task :muck =\> :environment do ActiveRecord::Base.establish\_connec…

---

## [RFP for development & design of New Website](https://www.ruby-forum.com/t/rfp-for-development-design-of-new-website/151168)

<div class="topic-metadata">

**Author:** [@Nicole](https://www.ruby-forum.com/u/Nicole)\
**Replies:** 0\
**Last updated:** [October 17, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/rfp-for-development-design-of-new-website/151168 "2008-10-17T16:36:02Z")

</div>

The Pennsylvania Land Trust Association (PALTA) seeks to hire a contractor or contractors to complete (1) graphic design and (2) development of website infrastructure for a new website, ConservationTools.org. PALTA in…

---

## [Generator attributes](https://www.ruby-forum.com/t/generator-attributes/151165)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 1\
**Last updated:** [October 17, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/generator-attributes/151165 "2008-10-17T16:11:57Z")

</div>

Hello, I’m currently implenting a ERM diagram and neither the Rails API nor Google could help me. I’ve got columns like ENUM(‘M’, ‘F’), VARCHAR(2) and TINYINT and I can’t find any attribute types that fit mine. Is the…

---

## [How to best start from scratch implementing a ERM diagram?](https://www.ruby-forum.com/t/how-to-best-start-from-scratch-implementing-a-erm-diagram/151155)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 1\
**Last updated:** [October 17, 2008, 3:06pm UTC](https://www.ruby-forum.com/t/how-to-best-start-from-scratch-implementing-a-erm-diagram/151155 "2008-10-17T15:06:34Z")

</div>

Hey people, I’m starting a new project and just finished creating the ERM diagram with about 30 tables. There are quite some tables with foreign keys so I’m not sure how to start creating the controllers/models. How …

---

## [Setting up Fleximage](https://www.ruby-forum.com/t/setting-up-fleximage/148897)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 1:15pm UTC](https://www.ruby-forum.com/t/setting-up-fleximage/148897 "2008-10-17T13:15:40Z")

</div>

Hello! I’ve been trying today to setup fleximage to handle photo uploads to a RoR application by following the tutorial that is provided (GitHub: Let’s build from here · GitHub) Originally, I just dropped in all of t…

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

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