# Rails

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

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

---

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

<div class="topic-metadata">

**Author:** [@myip](https://www.ruby-forum.com/u/myip)\
**Replies:** 17\
**Last updated:** [March 10, 2007, 4:05am UTC](https://www.ruby-forum.com/t/rake-migrate-problems/86537 "2007-03-10T04:05:08Z")

</div>

I am very new to RoR and mySQL, so please excuse my ignorance. I am having a problem creating a mySQL table via migration. I am using Oâ€™Reillyâ€™s â€œRuby on Rails- Up and Runningâ€ book as a guide and I am stuck …

---

## [Why not auto import active\_rbac's lib$B!)(B](https://www.ruby-forum.com/t/why-not-auto-import-active-rbacs-lib-b-b/88271)

<div class="topic-metadata">

**Author:** [@martinx](https://www.ruby-forum.com/u/martinx)\
**Replies:** 5\
**Last updated:** [March 10, 2007, 4:00am UTC](https://www.ruby-forum.com/t/why-not-auto-import-active-rbacs-lib-b-b/88271 "2007-03-10T04:00:48Z")

</div>

I’ve installed the lasted engines and active\_rbac from svnï¼Œand configurated it as the following. 1:edit the routes.rb,and add map.connect ‘/active\_rbac/registration/confirm/:user/:token’, :controller =\> ‘active\_r…

---

## [Out of Office reply - Re: Re: why n ot auto import active\_r](https://www.ruby-forum.com/t/out-of-office-reply-re-re-why-n-ot-auto-import-active-r/88371)

<div class="topic-metadata">

**Author:** [@tekin](https://www.ruby-forum.com/u/tekin)\
**Replies:** 0\
**Last updated:** [March 10, 2007, 4:00am UTC](https://www.ruby-forum.com/t/out-of-office-reply-re-re-why-n-ot-auto-import-active-r/88371 "2007-03-10T04:00:48Z")

</div>

Hi, I shall be out of the office from Monday 12th of March to Monday 19th. If you have an urgent enquiry, please contact either Mike or Liam at the Raid office. Regards, Tekin S. Raid Associates Ltd

---

## [Remove from many-to-many relationship](https://www.ruby-forum.com/t/remove-from-many-to-many-relationship/88348)

<div class="topic-metadata">

**Author:** [@davosian](https://www.ruby-forum.com/u/davosian)\
**Replies:** 2\
**Last updated:** [March 10, 2007, 4:00am UTC](https://www.ruby-forum.com/t/remove-from-many-to-many-relationship/88348 "2007-03-10T04:00:48Z")

</div>

I have a has\_and\_belongs\_to\_many relationship between Tournament and Team. How can I remove a team from a tournament without deleting the team itself, e.g something along these lines.: tou = Tournament.find(:first) …

---

## [Rails blogging system similar to Wordpress?](https://www.ruby-forum.com/t/rails-blogging-system-similar-to-wordpress/88369)

<div class="topic-metadata">

**Author:** [@surfivor](https://www.ruby-forum.com/u/surfivor)\
**Replies:** 1\
**Last updated:** [March 10, 2007, 3:48am UTC](https://www.ruby-forum.com/t/rails-blogging-system-similar-to-wordpress/88369 "2007-03-10T03:48:47Z")

</div>

Just curious if there is a Rails blogging system similar to Wordpress ? We are slated to do a project on this and of course it’s going to be a PHP project as Wordpress is PHP. I looked at some of the Wordpress code an…

---

## [Trouble with Rails/Ri18n](https://www.ruby-forum.com/t/trouble-with-rails-ri18n/82327)

<div class="topic-metadata">

**Author:** [@markus](https://www.ruby-forum.com/u/markus)\
**Replies:** 1\
**Last updated:** [March 10, 2007, 3:18am UTC](https://www.ruby-forum.com/t/trouble-with-rails-ri18n/82327 "2007-03-10T03:18:45Z")

</div>

Hi, I am new to Ruby/Rails but totally fall in love with :smiley: Nonetheless, today I am totally stuck with Ri18n. I basically followed the 10 Steps to Make Your Rails Apps Multilingual. No errors are thrown, the e…

---

## [Rails 1.2.2](https://www.ruby-forum.com/t/rails-1-2-2/88341)

<div class="topic-metadata">

**Author:** [@jmmiller](https://www.ruby-forum.com/u/jmmiller)\
**Replies:** 9\
**Last updated:** [March 10, 2007, 3:15am UTC](https://www.ruby-forum.com/t/rails-1-2-2/88341 "2007-03-10T03:15:44Z")

</div>

Yesterday I ran sudo gem update rails --include-dependencies on OS X 10.4 with MySQL 4.1. and rails 1.1.4 working well. Now nothing works. I have now spent a day trying to repair the damage and have had no success…

---

## [Linking to RESTful urls within a for loop](https://www.ruby-forum.com/t/linking-to-restful-urls-within-a-for-loop/88321)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 1\
**Last updated:** [March 10, 2007, 3:09am UTC](https://www.ruby-forum.com/t/linking-to-restful-urls-within-a-for-loop/88321 "2007-03-10T03:09:43Z")

</div>

I’m trying to use the new RESTful style of development, but am running into a problem. I’m trying to show a list of comments, each of which belongs to a user. And have a link to the user’s page at the bottom of each c…

---

## [In after\_update, possible to see previous value of record?](https://www.ruby-forum.com/t/in-after-update-possible-to-see-previous-value-of-record/88356)

<div class="topic-metadata">

**Author:** [@dan\_kuwachi](https://www.ruby-forum.com/u/dan_kuwachi)\
**Replies:** 1\
**Last updated:** [March 10, 2007, 3:05am UTC](https://www.ruby-forum.com/t/in-after-update-possible-to-see-previous-value-of-record/88356 "2007-03-10T03:05:43Z")

</div>

I have this situation where in an after\_update, I would like to know the previous value of the record instead of simply being notified the record has been updated. For example let’s say I had a table called ‘foo’ whic…

---

## [Eager loading with has\_many :through](https://www.ruby-forum.com/t/eager-loading-with-has-many-through/88279)

<div class="topic-metadata">

**Author:** [@RSElliott\_M](https://www.ruby-forum.com/u/RSElliott_M)\
**Replies:** 9\
**Last updated:** [March 10, 2007, 2:05am UTC](https://www.ruby-forum.com/t/eager-loading-with-has-many-through/88279 "2007-03-10T02:05:13Z")

</div>

I’ve run into an interesting problem that I have been unable to solve. My code is in the following pastie: Parked at Loopia User goes to /tag/tagname/, the action finds the tag with that slug and uses that to find pos…

---

## [Wierd 'Being redirected to non-secure' warnings but entire s](https://www.ruby-forum.com/t/wierd-being-redirected-to-non-secure-warnings-but-entire-s/88334)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 4\
**Last updated:** [March 10, 2007, 1:54am UTC](https://www.ruby-forum.com/t/wierd-being-redirected-to-non-secure-warnings-but-entire-s/88334 "2007-03-10T01:54:37Z")

</div>

Greetings all, Apologies in advance for the cross-post. I just got a report that I really need some help understanding. My site ( www.yourtimematters.com ) is set up so that any attempted access to yourtimematters.c…

---

## [How to set '302 Moved' location protocol](https://www.ruby-forum.com/t/how-to-set-302-moved-location-protocol/88357)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 2\
**Last updated:** [March 10, 2007, 1:51am UTC](https://www.ruby-forum.com/t/how-to-set-302-moved-location-protocol/88357 "2007-03-10T01:51:37Z")

</div>

Same problem, but hopefully a clearer call for help :wink: I need to set the protocol part of the Location: in the ‘302 Moved’ header to ‘https:’. I can see in Live HTTP Headers that it’s currently set to ‘http:’. T…

---

## [NewbieQ: Redisplaying Categorized Comments](https://www.ruby-forum.com/t/newbieq-redisplaying-categorized-comments/88366)

<div class="topic-metadata">

**Author:** [@ebrad](https://www.ruby-forum.com/u/ebrad)\
**Replies:** 0\
**Last updated:** [March 10, 2007, 1:41am UTC](https://www.ruby-forum.com/t/newbieq-redisplaying-categorized-comments/88366 "2007-03-10T01:41:37Z")

</div>

Greetings, As my first web app with Rails I am creating an HR Tracking program. There are employee ‘records’ that can have ‘comments’ added to each record. I also assign each comment a category such as ‘general note’…

---

## [CodeRage: free Ruby and Rails webcasts from CodeGear](https://www.ruby-forum.com/t/coderage-free-ruby-and-rails-webcasts-from-codegear/102709)

<div class="topic-metadata">

**Author:** [@Joe\_at\_CodeGear](https://www.ruby-forum.com/u/Joe_at_CodeGear)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/coderage-free-ruby-and-rails-webcasts-from-codegear/102709 "2007-03-09T23:08:23Z")

</div>

Next Week, March 12-16, CodeGear will be hosting a “live virtual developer conference”. This is totally free, no cost or obligation – and you don’t have to travel to attend. There are three talks that should be of pa…

---

## [NetBeans 6.0/Script Console Window](https://www.ruby-forum.com/t/netbeans-6-0-script-console-window/88311)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/netbeans-6-0-script-console-window/88311 "2007-03-09T22:26:26Z")

</div>

Has anyone figured out how to turn NetBeans IRB window into Ruby on Rails script/console window where the gems like ActiveRecord, ActionPack etc are recognized? May be an easy one for the Rails Guru’s out there, not …

---

## [Call action from an action](https://www.ruby-forum.com/t/call-action-from-an-action/88329)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 7\
**Last updated:** [March 9, 2007, 10:25pm UTC](https://www.ruby-forum.com/t/call-action-from-an-action/88329 "2007-03-09T22:25:18Z")

</div>

I have an index action that shows a list of data. def index # go get data, # setup some instance vars # render view - display data in table end URL: /orders/ I would like to have another action that sets up a fe…

---

## [Wierd 'Being redirected to non-secure' warnings but entire s](https://www.ruby-forum.com/t/wierd-being-redirected-to-non-secure-warnings-but-entire-s/88332)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/wierd-being-redirected-to-non-secure-warnings-but-entire-s/88332 "2007-03-09T22:22:17Z")

</div>

Greetings all, I just got a report that I really need some help understanding. My site ( www.yourtimematters.com ) is set up so that any attempted access to yourtimematters.com gets redirected to www.yourtimematters…

---

## [Is it possible to set :format using map.resources?](https://www.ruby-forum.com/t/is-it-possible-to-set-format-using-map-resources/88347)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 10:07pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-set-format-using-map-resources/88347 "2007-03-09T22:07:17Z")

</div>

It seems to be really easy to use responds\_to if you are using a map.connect route to set the format for mobile. But how would you do the same thing with a map.resource route? Works: map.connect “mobile/people”, :con…

---

## [activeRecord Sum](https://www.ruby-forum.com/t/activerecord-sum/88241)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 8\
**Last updated:** [March 9, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/activerecord-sum/88241 "2007-03-09T21:32:42Z")

</div>

Hi All, I’m trying to get the sum of 3 database fields. Instead of calling find, I’m using sum like this: @itemsum = Order.sum(:item\_total) @shipsum = Order.sum(:shipping\_total) @taxsum = Order.sum(:tax\_total) But, w…

---

## [Webrick -vs- Mongrel](https://www.ruby-forum.com/t/webrick-vs-mongrel/88340)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/webrick-vs-mongrel/88340 "2007-03-09T21:30:09Z")

</div>

Why is it when I request the URI environment variable, ala: request.env\[‘REQUEST\_URI’\] WebRick returns the protocol, port and host – whereas mongrel returns only the path??? WebRick = http://127.0.0.1:3000/foo/1 Mon…

---

## [Storing customer CC on gateway](https://www.ruby-forum.com/t/storing-customer-cc-on-gateway/88318)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/storing-customer-cc-on-gateway/88318 "2007-03-09T21:29:09Z")

</div>

I posted this late yesterday afternoon to no response, so I figured I’d try once more to get the morning people’s attention. I’m working on setting up the credit card processing part of a rails app for my company and …

---

## [Access Render/DB Times](https://www.ruby-forum.com/t/access-render-db-times/88339)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/access-render-db-times/88339 "2007-03-09T21:27:09Z")

</div>

Is there a way to access the render times that are being logged to the log file? For example, lets say that I wanted to execute a method if the DB query time was greater than a certain amount. Currently that informa…

---

## [Simple\_format and in\_place\_editor\_field](https://www.ruby-forum.com/t/simple-format-and-in-place-editor-field/51625)

<div class="topic-metadata">

**Author:** [@papipo](https://www.ruby-forum.com/u/papipo)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/simple-format-and-in-place-editor-field/51625 "2007-03-09T21:15:49Z")

</div>

Hi! How can i do to force an in\_place\_editor\_field to format the text with simple\_format while not editing? Thanks.

---

## [Rails & Agile web development](https://www.ruby-forum.com/t/rails-agile-web-development/88324)

<div class="topic-metadata">

**Author:** [@stevep](https://www.ruby-forum.com/u/stevep)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/rails-agile-web-development/88324 "2007-03-09T21:03:05Z")

</div>

Hey, is there any documentation anywhere that shows the Methodology and Process of makeing a rails application? Cheers

---

## [Choice of Wiki on Rails?](https://www.ruby-forum.com/t/choice-of-wiki-on-rails/88183)

<div class="topic-metadata">

**Author:** [@victorfan](https://www.ruby-forum.com/u/victorfan)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/choice-of-wiki-on-rails/88183 "2007-03-09T20:31:53Z")

</div>

Hi, I am trying to set up a wiki running on my Rails server. After looking through some older messages, Hiki and Instiki sounds like the best Wiki on Rails. Does anyone know any other better choices? Any recommend…

---

## [Different mouse event when using link\_to\_remote](https://www.ruby-forum.com/t/different-mouse-event-when-using-link-to-remote/88333)

<div class="topic-metadata">

**Author:** [@Steven](https://www.ruby-forum.com/u/Steven)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/different-mouse-event-when-using-link-to-remote/88333 "2007-03-09T20:27:23Z")

</div>

Anybody a have better method for having an onmouseover (or any event). This is the method used but its not as pretty and has to be done for every mouse event. def link\_to\_remote\_mover(name, options = {}, html\_optio…

---

## [Limiting columns in model association](https://www.ruby-forum.com/t/limiting-columns-in-model-association/88190)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 6\
**Last updated:** [March 9, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/limiting-columns-in-model-association/88190 "2007-03-09T20:13:52Z")

</div>

So we have this model: class Post \< ActiveRecord::Base belongs\_to :person But when I join @post.person I only want the id and name. The docs fleetingly mention using :select to accomplish this but there are no exa…

---

## [Alpha pager?](https://www.ruby-forum.com/t/alpha-pager/88322)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/alpha-pager/88322 "2007-03-09T19:09:44Z")

</div>

is there such thing as an alphabetical pager helper or plugin? or even a how-to article? googling comes up empty for me tia linoj

---

## [Re Ticketing/Issue system](https://www.ruby-forum.com/t/re-ticketing-issue-system/88269)

<div class="topic-metadata">

**Author:** [@perherman](https://www.ruby-forum.com/u/perherman)\
**Replies:** 7\
**Last updated:** [March 9, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/re-ticketing-issue-system/88269 "2007-03-09T18:23:20Z")

</div>

Hej We are in need of a ticketing/issue handling system to hande multiple customers. I downloaded SimpleTIckets but it does not seem to be complete. I wonder if anyone knows of any other open source project with this …

---

## [New plugin: Flagger](https://www.ruby-forum.com/t/new-plugin-flagger/88323)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/new-plugin-flagger/88323 "2007-03-09T18:06:10Z")

</div>

Hi all, I’ve just put out a plugin for ActiveRecord that stops you having to write repetitive bundles of methods such as class Order \< ActiveRecord::Base def self.paid find\_all\_by\_paid(true) end def self.unpaid …

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

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