# Rails

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

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

---

## [Logged\_in?](https://www.ruby-forum.com/t/logged-in/158740)

<div class="topic-metadata">

**Author:** [@tanker](https://www.ruby-forum.com/u/tanker)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/logged-in/158740 "2009-01-27T16:02:04Z")

</div>

how to use this method???

---

## [Ch. 13 Password Reminder Problem](https://www.ruby-forum.com/t/ch-13-password-reminder-problem/158738)

<div class="topic-metadata">

**Author:** [@Shockmeister](https://www.ruby-forum.com/u/Shockmeister)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 3:03pm UTC](https://www.ruby-forum.com/t/ch-13-password-reminder-problem/158738 "2009-01-27T15:03:14Z")

</div>

Hi all, When I enter a valid email address in the remind me form and hit enter, I get the following error: Net::SMTPUnknownError in EmailController#remind 533 5.7.1 AUTH command is not enabled. Trace: C:/INSTAN~1/r…

---

## [Page caching and lower/upper case problem](https://www.ruby-forum.com/t/page-caching-and-lower-upper-case-problem/158732)

<div class="topic-metadata">

**Author:** [@rmunoz](https://www.ruby-forum.com/u/rmunoz)\
**Replies:** 3\
**Last updated:** [January 27, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/page-caching-and-lower-upper-case-problem/158732 "2009-01-27T13:11:44Z")

</div>

Hi guys, I’m with a problem here, on my application, the user can define his own URI. Like user UserA can create an uri like www.myapp.com/UserA UserB can create an uri like www.myapp.com/MyNiceUri To catch this uri…

---

## [\[ANN\] Rails Dev Conf](https://www.ruby-forum.com/t/ann-rails-dev-conf/158545)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 7\
**Last updated:** [January 27, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/ann-rails-dev-conf/158545 "2009-01-27T12:15:22Z")

</div>

As you may know there’s going to be no RailsConf Europe this year. The Spanish Ruby U. Group (SRUG) feels this is an excellent opportunity to start a community-driven, international conference in Europe. That’s a diff…

---

## [Generate a migration (from a plugin) to add a column with a default value to an existing table](https://www.ruby-forum.com/t/generate-a-migration-from-a-plugin-to-add-a-column-with-a-default-value-to-an-existing-table/158731)

<div class="topic-metadata">

**Author:** [@bide](https://www.ruby-forum.com/u/bide)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 12:03pm UTC](https://www.ruby-forum.com/t/generate-a-migration-from-a-plugin-to-add-a-column-with-a-default-value-to-an-existing-table/158731 "2009-01-27T12:03:02Z")

</div>

I add a column to an existing table via the generator with the following action: def cmi\_local\_assigns returning(assigns = {}) do assigns\[:migration\_action\] = “add” assigns\[:class\_name\] = “cmi\_add\_avatar\_to\_user#{cl…

---

## [Ad hoc query builder](https://www.ruby-forum.com/t/ad-hoc-query-builder/158046)

<div class="topic-metadata">

**Author:** [@lo\_pan](https://www.ruby-forum.com/u/lo_pan)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/ad-hoc-query-builder/158046 "2009-01-27T12:02:27Z")

</div>

Hi All, Does anybody know of a plugin, gem, component, sample app, whatever, running with AR, that allows a user to define ad hoc queries by selecting the columns they want to see, ability to define filters using and…

---

## [\[JOBS\] Ruby on Rails developer based in Soho](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-based-in-soho/158729)

<div class="topic-metadata">

**Author:** [@d\_weston](https://www.ruby-forum.com/u/d_weston)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 12:02pm UTC](https://www.ruby-forum.com/t/jobs-ruby-on-rails-developer-based-in-soho/158729 "2009-01-27T12:02:26Z")

</div>

Ruby on Rails Developer 42 k London West End A leading digital media company is currently seeking a Heavyweight Ruby on Rails developer to join their ever expanding client and server- side development team. The succ…

---

## [Problem in sending email](https://www.ruby-forum.com/t/problem-in-sending-email/158653)

<div class="topic-metadata">

**Author:** [@mujahid\_raafay](https://www.ruby-forum.com/u/mujahid_raafay)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 10:18am UTC](https://www.ruby-forum.com/t/problem-in-sending-email/158653 "2009-01-27T10:18:29Z")

</div>

Dear friends, I am new to rails.I am develoing a test application in which i need to send email . I have rails 2.2.2 I have made following changes in application.rb ActionMailer::Base.delivery\_method = :smtp Action…

---

## [Cant send email](https://www.ruby-forum.com/t/cant-send-email/158654)

<div class="topic-metadata">

**Author:** [@Muhammad\_Raafay](https://www.ruby-forum.com/u/Muhammad_Raafay)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 7:47am UTC](https://www.ruby-forum.com/t/cant-send-email/158654 "2009-01-27T07:47:09Z")

</div>

Dear Friends, I am new to rails.I am developing a test application. I have to send emails .I have rails 2.2.2 and made following changes to “application.rb” ActionMailer::Base.delivery\_method = :smtp ActionMailer:…

---

## [Help....Paginating\_find](https://www.ruby-forum.com/t/help-paginating-find/158433)

<div class="topic-metadata">

**Author:** [@zeba-momin](https://www.ruby-forum.com/u/zeba-momin)\
**Replies:** 2\
**Last updated:** [January 27, 2009, 6:53am UTC](https://www.ruby-forum.com/t/help-paginating-find/158433 "2009-01-27T06:53:26Z")

</div>

Hi everyone, I’m using the paginating\_find plugin to give pagination to my views… It works great…but Even if there is a single page in the list…it gives me a pagination link…which I don’t want…!!! I need some help t…

---

## [I18n with Active record](https://www.ruby-forum.com/t/i18n-with-active-record/158712)

<div class="topic-metadata">

**Author:** [@tinucleatus](https://www.ruby-forum.com/u/tinucleatus)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 6:16am UTC](https://www.ruby-forum.com/t/i18n-with-active-record/158712 "2009-01-27T06:16:00Z")

</div>

Hello all, I am working on a new app where I need to implement internationalization. But the thing is a bit complicated. That is, initially there will be a few language translations available but later the user needs…

---

## [Tutorials on Apache and Rails on mongrel](https://www.ruby-forum.com/t/tutorials-on-apache-and-rails-on-mongrel/158707)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 2\
**Last updated:** [January 27, 2009, 6:12am UTC](https://www.ruby-forum.com/t/tutorials-on-apache-and-rails-on-mongrel/158707 "2009-01-27T06:12:23Z")

</div>

Dear all, Could anyone refer me a good tutorial for setting up apache as the proxy for Rails apps that uses Mongrel? Thank you very much. – If you can’t believe in God the chances are your God is too small. Read my…

---

## [Restful\_authentication - using http auth in IE](https://www.ruby-forum.com/t/restful-authentication-using-http-auth-in-ie/158530)

<div class="topic-metadata">

**Author:** [@zero0x](https://www.ruby-forum.com/u/zero0x)\
**Replies:** 2\
**Last updated:** [January 27, 2009, 5:32am UTC](https://www.ruby-forum.com/t/restful-authentication-using-http-auth-in-ie/158530 "2009-01-27T05:32:00Z")

</div>

Hi, my restful\_authentication plugin is always logging in using http auth. But only in IE. In Safari/Firefox in displays a form. Where do I tell it to use html login form?

---

## [Recovering Mysql::Error - Must I redo establish\_connection?](https://www.ruby-forum.com/t/recovering-mysql-error-must-i-redo-establish-connection/158288)

<div class="topic-metadata">

**Author:** [@fritza](https://www.ruby-forum.com/u/fritza)\
**Replies:** 6\
**Last updated:** [January 27, 2009, 5:04am UTC](https://www.ruby-forum.com/t/recovering-mysql-error-must-i-redo-establish-connection/158288 "2009-01-27T05:04:31Z")

</div>

Periodically my application (a faceless daemon, so there’s no human-interface considerations) gets the following exception: Mysql::Error: MySQL server has gone away: SELECT \* FROM messages WHERE (messages.disposition …

---

## [Looking for Rails speakers](https://www.ruby-forum.com/t/looking-for-rails-speakers/158709)

<div class="topic-metadata">

**Author:** [@Joshua\_DSDrake](https://www.ruby-forum.com/u/Joshua_DSDrake)\
**Replies:** 0\
**Last updated:** [January 27, 2009, 4:32am UTC](https://www.ruby-forum.com/t/looking-for-rails-speakers/158709 "2009-01-27T04:32:57Z")

</div>

Hello, I run PostgreSQL Conference (long announcement below). We are looking for some people to speak on Rails + PostgreSQL at East 09 in Philly. Anybody interested should submit talk (or better yet Tutorial). Begin …

---

## [How to display a family tree](https://www.ruby-forum.com/t/how-to-display-a-family-tree/158568)

<div class="topic-metadata">

**Author:** [@timdunn2](https://www.ruby-forum.com/u/timdunn2)\
**Replies:** 2\
**Last updated:** [January 27, 2009, 3:11am UTC](https://www.ruby-forum.com/t/how-to-display-a-family-tree/158568 "2009-01-27T03:11:48Z")

</div>

I am wondering if there is any plugins or gems that could help me to display a family tree using the rails framework. For example I have a database with father mother relationships on every person and would like some …

---

## [Remove element from array question](https://www.ruby-forum.com/t/remove-element-from-array-question/158635)

<div class="topic-metadata">

**Author:** [@ukarick](https://www.ruby-forum.com/u/ukarick)\
**Replies:** 5\
**Last updated:** [January 27, 2009, 2:46am UTC](https://www.ruby-forum.com/t/remove-element-from-array-question/158635 "2009-01-27T02:46:45Z")

</div>

suppose that I’ve some kind of array like this var1\[0\].var2\[0\].var3 So I would like to remove var3 out of this nest array what I should do? and after I tried to use delete It’s also delete some important value out f…

---

## [Turning off logging for specific actions?](https://www.ruby-forum.com/t/turning-off-logging-for-specific-actions/158691)

<div class="topic-metadata">

**Author:** [@tekwiz](https://www.ruby-forum.com/u/tekwiz)\
**Replies:** 1\
**Last updated:** [January 27, 2009, 2:36am UTC](https://www.ruby-forum.com/t/turning-off-logging-for-specific-actions/158691 "2009-01-27T02:36:27Z")

</div>

Is there any way to kill logging entirely for specific actions?

---

## [ActiveResource with Json](https://www.ruby-forum.com/t/activeresource-with-json/158701)

<div class="topic-metadata">

**Author:** [@stevedogers](https://www.ruby-forum.com/u/stevedogers)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/activeresource-with-json/158701 "2009-01-26T23:50:00Z")

</div>

Hi all. I’m hoping maybe someone can help me out. I recently switched from using xml to json in my ARe models. I was excited to see that in irb I was seeing dramatic improvements in speed. However, when I fired up …

---

## [From Instantrails to the Mac](https://www.ruby-forum.com/t/from-instantrails-to-the-mac/158396)

<div class="topic-metadata">

**Author:** [@eduardopa](https://www.ruby-forum.com/u/eduardopa)\
**Replies:** 8\
**Last updated:** [January 26, 2009, 11:48pm UTC](https://www.ruby-forum.com/t/from-instantrails-to-the-mac/158396 "2009-01-26T23:48:29Z")

</div>

Hi, I am a Newbie to Mac and Rails. I have a rails apps made using instantrails in windows, and have been trying to transfer it to a mac. I am using Leopard and installed mac ports and Xcode. I copied the folder fro…

---

## [Cannot extend class in Application Helper](https://www.ruby-forum.com/t/cannot-extend-class-in-application-helper/158699)

<div class="topic-metadata">

**Author:** [@cleca](https://www.ruby-forum.com/u/cleca)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/cannot-extend-class-in-application-helper/158699 "2009-01-26T23:47:54Z")

</div>

Looking for some help with extending existing classes. In a view I have \<%=h bmevent.node %\>. I need further processing on the output and added a helper: module ApplicationHelper class String def a self\[ /^\[^\\0\]\*/ …

---

## [Name mangling in scaffolding generator](https://www.ruby-forum.com/t/name-mangling-in-scaffolding-generator/158013)

<div class="topic-metadata">

**Author:** [@cleca](https://www.ruby-forum.com/u/cleca)\
**Replies:** 4\
**Last updated:** [January 26, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/name-mangling-in-scaffolding-generator/158013 "2009-01-26T23:19:09Z")

</div>

The scaffolding generator does some name mangling, for example it does pluralization. However, it looks like there are some other rules and I do not understand them. I did a script/generate scaffold EVENTLOG whenSec:…

---

## [Please help with a routing problem](https://www.ruby-forum.com/t/please-help-with-a-routing-problem/158646)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 5\
**Last updated:** [January 26, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/please-help-with-a-routing-problem/158646 "2009-01-26T23:14:28Z")

</div>

Hi All I’m having some issues with the following routes problem. The routes.rb file … map.resources :users map.connect ‘/users/view\_payments/:user\_id’, :controller =\> ‘users’, :action =\> ‘view\_payments’ The users\_c…

---

## [No user subdomains](https://www.ruby-forum.com/t/no-user-subdomains/158655)

<div class="topic-metadata">

**Author:** [@kossnocorp](https://www.ruby-forum.com/u/kossnocorp)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 11:04pm UTC](https://www.ruby-forum.com/t/no-user-subdomains/158655 "2009-01-26T23:04:29Z")

</div>

Hi! Can you help me with a problem? I can not get into the router and use a subdomain name for the current namespace. Should that be when you access namespacetest.domain.com/ test/ controller called Namespacetest::te…

---

## [Implementing custom timestamps in AR](https://www.ruby-forum.com/t/implementing-custom-timestamps-in-ar/158695)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/implementing-custom-timestamps-in-ar/158695 "2009-01-26T22:46:03Z")

</div>

I have a requirement to record the last accessed date and time on several tables. I desire to do this in a local modification to AR using an initializer. I am looking at timestamp.rb to see how Rails handles the bui…

---

## [Possible Rails Related Open Source Project](https://www.ruby-forum.com/t/possible-rails-related-open-source-project/158686)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 1\
**Last updated:** [January 26, 2009, 9:44pm UTC](https://www.ruby-forum.com/t/possible-rails-related-open-source-project/158686 "2009-01-26T21:44:03Z")

</div>

– Did not make it to the list the first time it seems. Hi there everyone, I was wondering, is there anyone on this list that would be interested in working on an open source project to create a solution for generating …

---

## [Mongrel::HttpParserError](https://www.ruby-forum.com/t/mongrel-httpparsererror/158688)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 9:37pm UTC](https://www.ruby-forum.com/t/mongrel-httpparsererror/158688 "2009-01-26T21:37:00Z")

</div>

I’m new to rails, started first project today. I’m also using flex and want to go RESTful over HTTP as much as possible, most posts seem to think this is not possible! Everything runs RESTfuly fine in the flex local s…

---

## [Best way to handle user's topic views in a forum](https://www.ruby-forum.com/t/best-way-to-handle-users-topic-views-in-a-forum/153407)

<div class="topic-metadata">

**Author:** [@Thibaut.Me](https://www.ruby-forum.com/u/Thibaut.Me)\
**Replies:** 1\
**Last updated:** [January 26, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/best-way-to-handle-users-topic-views-in-a-forum/153407 "2009-01-26T21:28:37Z")

</div>

Hello, I’m french… hope you will understand my English ^^ So I’m building a forum for my website from scratch. None of the already built forum like Beast or RForum suits my needs, and it’ll take as much time to integ…

---

## [ActionView::TemplateError (undefined method \`comment\_count='](https://www.ruby-forum.com/t/actionview-templateerror-undefined-method-comment-count/158557)

<div class="topic-metadata">

**Author:** [@rajahm](https://www.ruby-forum.com/u/rajahm)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 8:41pm UTC](https://www.ruby-forum.com/t/actionview-templateerror-undefined-method-comment-count/158557 "2009-01-26T20:41:28Z")

</div>

Hello, I am using Facebooker RoR plug-in. Following code used to work but suddenly I am getting an error which I am not able to decipher. Any help is appreciated Thanks Rajan ActionView::TemplateError (undefined me…

---

## [ActiveRecord::Base.class\_eval not being called](https://www.ruby-forum.com/t/activerecord-base-class-eval-not-being-called/158674)

<div class="topic-metadata">

**Author:** [@blewis](https://www.ruby-forum.com/u/blewis)\
**Replies:** 0\
**Last updated:** [January 26, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/activerecord-base-class-eval-not-being-called/158674 "2009-01-26T19:04:32Z")

</div>

I am extending activerecord to write some audit data before each save or create using this in the environment.rb file: ActiveRecord::Base.class\_eval do blah blah blah end It was working the first day I did this, a…

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

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