# Rails

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

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

---

## [\[ANN\] git-users mailing list](https://www.ruby-forum.com/t/ann-git-users-mailing-list/134221)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 0\
**Last updated:** [April 9, 2008, 1:40am UTC](https://www.ruby-forum.com/t/ann-git-users-mailing-list/134221 "2008-04-09T01:40:18Z")

</div>

Hi all, I’ve created a mailing list for git users here where you can ask any questions: http://groups.google.com/group/git-users Cheers, Pat

---

## [Running scripts from a controller](https://www.ruby-forum.com/t/running-scripts-from-a-controller/134212)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 6\
**Last updated:** [April 9, 2008, 1:38am UTC](https://www.ruby-forum.com/t/running-scripts-from-a-controller/134212 "2008-04-09T01:38:52Z")

</div>

Hello, I am developing an app that needs to run a scripts outside of MVC. I have a Ruby script called ‘test.rb’ located in ‘public/tools’ that I would like to initiate from a controller. In my controller I tried the …

---

## [Ajax and FireFox](https://www.ruby-forum.com/t/ajax-and-firefox/64974)

<div class="topic-metadata">

**Author:** [@Naga\_harish\_K](https://www.ruby-forum.com/u/Naga_harish_K)\
**Replies:** 2\
**Last updated:** [April 9, 2008, 12:25am UTC](https://www.ruby-forum.com/t/ajax-and-firefox/64974 "2008-04-09T00:25:44Z")

</div>

Hi all, I have created a new application 1month ago. In that application i have a link Add New. This link is given using Ajax(\<%= link\_to\_remote( ‘Add New’, :update =\> “abc”, :url =\>{ :controller=\>“xyz”,:action =\> …

---

## [Inflector and AR model association class names](https://www.ruby-forum.com/t/inflector-and-ar-model-association-class-names/130990)

<div class="topic-metadata">

**Author:** [@tshim](https://www.ruby-forum.com/u/tshim)\
**Replies:** 1\
**Last updated:** [April 9, 2008, 12:24am UTC](https://www.ruby-forum.com/t/inflector-and-ar-model-association-class-names/130990 "2008-04-09T00:24:50Z")

</div>

Was hoping someone might point me in the right direction here. In environment.rb, I’ve an inflector rule like so: inflect.irregular “serve”, “serves” And a model User, with a habtm :serves From the console, “serves”.…

---

## [Activemerchant UK payments](https://www.ruby-forum.com/t/activemerchant-uk-payments/134217)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 2\
**Last updated:** [April 9, 2008, 12:22am UTC](https://www.ruby-forum.com/t/activemerchant-uk-payments/134217 "2008-04-09T00:22:18Z")

</div>

Hello, Can anyone recommend a payment processor in the UK that works without a merchant account (i.e. like Paypal) but NOT Paypal ? I have been grappling with Paypal for a month on and off and have decided their supp…

---

## [Backgroundrb](https://www.ruby-forum.com/t/backgroundrb/134196)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 1\
**Last updated:** [April 9, 2008, 12:06am UTC](https://www.ruby-forum.com/t/backgroundrb/134196 "2008-04-09T00:06:04Z")

</div>

I think I am mostly set up but I seem to be failing to get evidence that it works… class QmManualEnchiladaWorker \< BackgrounDRb::MetaWorker set\_worker\_name :qm\_manual\_enchilada\_worker def create(args = nil) # this m…

---

## [Textmate pulling wrong gems in leopard](https://www.ruby-forum.com/t/textmate-pulling-wrong-gems-in-leopard/134169)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 4\
**Last updated:** [April 8, 2008, 11:57pm UTC](https://www.ruby-forum.com/t/textmate-pulling-wrong-gems-in-leopard/134169 "2008-04-08T23:57:51Z")

</div>

when trying to run a ruby test in textmate i get the following: Missing the Rails 2.0.2 gem. Please gem install -v=2.0.2 rails, update your RAILS\_GEM\_VERSION setting in config/environment.rb for the Rails version you …

---

## [Changes in a Production Environment](https://www.ruby-forum.com/t/changes-in-a-production-environment/134197)

<div class="topic-metadata">

**Author:** [@Rodrigo\_MuiSSSSo](https://www.ruby-forum.com/u/Rodrigo_MuiSSSSo)\
**Replies:** 5\
**Last updated:** [April 8, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/changes-in-a-production-environment/134197 "2008-04-08T23:08:40Z")

</div>

Hi guys, I am planning to make some changes in a Production environment. This include changes in the model. I was thinking about making a backup of the database, then running migrations to zero, making a svn update, r…

---

## [Nginx fair proxy balancer](https://www.ruby-forum.com/t/nginx-fair-proxy-balancer/134208)

<div class="topic-metadata">

**Author:** [@jshow](https://www.ruby-forum.com/u/jshow)\
**Replies:** 2\
**Last updated:** [April 8, 2008, 10:37pm UTC](https://www.ruby-forum.com/t/nginx-fair-proxy-balancer/134208 "2008-04-08T22:37:33Z")

</div>

greetings, http://brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel I haven’t seen any news on this since November. Is the code base supported? any new releases? There were some questions as…

---

## [Who knows a Rails Instant Messanger?](https://www.ruby-forum.com/t/who-knows-a-rails-instant-messanger/134105)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 5\
**Last updated:** [April 8, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/who-knows-a-rails-instant-messanger/134105 "2008-04-08T22:19:21Z")

</div>

Hello group, I’ve been looking for a RoR IM (instant messaging program) for quite a while now, but I haven’t found anything that works. What I’m looking for: an IM where people can send private messages between each…

---

## [Backgroundrb](https://www.ruby-forum.com/t/backgroundrb/134206)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 9:36pm UTC](https://www.ruby-forum.com/t/backgroundrb/134206 "2008-04-08T21:36:52Z")

</div>

I think I am mostly set up but I seem to be failing to get evidence that it works… class QmManualEnchiladaWorker \< BackgrounDRb::MetaWorker set\_worker\_name :qm\_manual\_enchilada\_worker def create(args = nil) # this m…

---

## [Writting on text\_field](https://www.ruby-forum.com/t/writting-on-text-field/134207)

<div class="topic-metadata">

**Author:** [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/writting-on-text-field/134207 "2008-04-08T21:28:47Z")

</div>

Hi, I am using the live search method from Rails CookBook book, and I would like to pass (and write) the parametters from the search to the a text\_field example: student -\> name, id college -\> id, student\_id I woul…

---

## [Integration of TagCow into SmugMug](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/197074)

<div class="topic-metadata">

**Author:** [@RickDroz](https://www.ruby-forum.com/u/RickDroz)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/197074 "2008-04-08T21:20:55Z")

</div>

I need some developers that can integrate TagCow into SmugMug using Ruby on Rails.

---

## [Integration of TagCow into SmugMug](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/196636)

<div class="topic-metadata">

**Author:** [@RickDroz](https://www.ruby-forum.com/u/RickDroz)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/196636 "2008-04-08T21:20:20Z")

</div>

I need some developers that can integrate TagCow into SmugMug using Ruby on Rails.

---

## [Integration of TagCow into SmugMug](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/134199)

<div class="topic-metadata">

**Author:** [@RickDroz](https://www.ruby-forum.com/u/RickDroz)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/integration-of-tagcow-into-smugmug/134199 "2008-04-08T20:28:05Z")

</div>

I need some developers that can integrate TagCow into SmugMug using Ruby on Rails.

---

## [Access the name of the current layout from a view?](https://www.ruby-forum.com/t/access-the-name-of-the-current-layout-from-a-view/104573)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 3\
**Last updated:** [April 8, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/access-the-name-of-the-current-layout-from-a-view/104573 "2008-04-08T20:04:29Z")

</div>

Hi, How would one access the current layout name from a view? Thanks, GiantCranes

---

## [Admin section in rails](https://www.ruby-forum.com/t/admin-section-in-rails/134179)

<div class="topic-metadata">

**Author:** [@jags](https://www.ruby-forum.com/u/jags)\
**Replies:** 2\
**Last updated:** [April 8, 2008, 7:57pm UTC](https://www.ruby-forum.com/t/admin-section-in-rails/134179 "2008-04-08T19:57:43Z")

</div>

Hello guys i am a newbie in rails and need your guidance in the design of the app. i am working on a task of creating a store application. its a bit diiferent as people can register as customer and also as seller (li…

---

## [HAML problems](https://www.ruby-forum.com/t/haml-problems/134110)

<div class="topic-metadata">

**Author:** [@silviuks](https://www.ruby-forum.com/u/silviuks)\
**Replies:** 3\
**Last updated:** [April 8, 2008, 7:49pm UTC](https://www.ruby-forum.com/t/haml-problems/134110 "2008-04-08T19:49:56Z")

</div>

Hi to all, I’m very new with this technology and i already have problems. I have to change something into a “haml” file but when i upload the changes, site goes down (it display something like “site is undergoing mai…

---

## [How can I print the name of the current layout?](https://www.ruby-forum.com/t/how-can-i-print-the-name-of-the-current-layout/134192)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/how-can-i-print-the-name-of-the-current-layout/134192 "2008-04-08T19:40:58Z")

</div>

Suppose I have a controller with: layout “my-layout” How can I print the name of the current layout, later on? The following don’t work: \<%= layout %\> \<%= params\[‘layout’\] %\> \<%= @layout %\> Where is the value for …

---

## [Degrees of separation](https://www.ruby-forum.com/t/degrees-of-separation/134130)

<div class="topic-metadata">

**Author:** [@arshak](https://www.ruby-forum.com/u/arshak)\
**Replies:** 4\
**Last updated:** [April 8, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/degrees-of-separation/134130 "2008-04-08T19:37:26Z")

</div>

I was wondering if anyone knows a good way to model a LinkedIn style “degrees of separation” between users (and their friends). Ideally I’d like to find the shortest path between people and also be able to display al…

---

## [How to output text containing html markup without having the browser render the html](https://www.ruby-forum.com/t/how-to-output-text-containing-html-markup-without-having-the-browser-render-the-html/134184)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 3\
**Last updated:** [April 8, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/how-to-output-text-containing-html-markup-without-having-the-browser-render-the-html/134184 "2008-04-08T19:21:27Z")

</div>

I have an object attribute that constantly gets html inserted into it. This becomes problematic when I want to output that attribute to the browser. What I’d like to do is have the \< and \> converted to \< and \>. Is the…

---

## [Help with primary\_key\_prefix\_type](https://www.ruby-forum.com/t/help-with-primary-key-prefix-type/134183)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [April 8, 2008, 6:17pm UTC](https://www.ruby-forum.com/t/help-with-primary-key-prefix-type/134183 "2008-04-08T18:17:27Z")

</div>

I put this config in environment.rb Use table\_id instead of id for primary key. config.active\_record.primary\_key\_prefix\_type = :table\_name\_with\_underscore I have this migration: class CreateEntities \< ActiveRecord::M…

---

## [Problem with has\_many](https://www.ruby-forum.com/t/problem-with-has-many/134181)

<div class="topic-metadata">

**Author:** [@sigma](https://www.ruby-forum.com/u/sigma)\
**Replies:** 1\
**Last updated:** [April 8, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/problem-with-has-many/134181 "2008-04-08T17:38:55Z")

</div>

Hi all I’ve got a message table, where the sender and the receiver are stored (sender\_user\_id, receiver\_user\_id) How must i declare this dependencies in the user and message model? I’ve got the following one: has\_ma…

---

## [ActiveRecord API documentation](https://www.ruby-forum.com/t/activerecord-api-documentation/134180)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 5:16pm UTC](https://www.ruby-forum.com/t/activerecord-api-documentation/134180 "2008-04-08T17:16:52Z")

</div>

Can anyone point me to where in the API docs for Active Record one find the description of things like “primary\_key\_prefix\_type” and “generate\_read\_methods”. I cannot seem to find any core documentation reference to …

---

## [Select helper](https://www.ruby-forum.com/t/select-helper/134178)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 5:13pm UTC](https://www.ruby-forum.com/t/select-helper/134178 "2008-04-08T17:13:34Z")

</div>

I have this form which is a lot of edit\_in\_place fields so it really insn’t a form since there is no submit button. In this “form” is a link for a country and when you click that a drop down appears in it’s place and …

---

## [Updating a Page Param using Observe Field](https://www.ruby-forum.com/t/updating-a-page-param-using-observe-field/134177)

<div class="topic-metadata">

**Author:** [@keaja](https://www.ruby-forum.com/u/keaja)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/updating-a-page-param-using-observe-field/134177 "2008-04-08T16:58:19Z")

</div>

I am trying to have the user select a drop down, which will then update a page param, and then have a link on the page use that param. My problem is that when the user chooses the drop down, the param for the page is …

---

## [Help building view to pass query to controller](https://www.ruby-forum.com/t/help-building-view-to-pass-query-to-controller/134175)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/help-building-view-to-pass-query-to-controller/134175 "2008-04-08T16:56:12Z")

</div>

I am very new to programming and would like to configure the following: I want to configure a page that displayes some graphs. These graphs pull its data from a sql table. What I would like to do is configure a view…

---

## [App no longer responding](https://www.ruby-forum.com/t/app-no-longer-responding/134134)

<div class="topic-metadata">

**Author:** [@shenry](https://www.ruby-forum.com/u/shenry)\
**Replies:** 3\
**Last updated:** [April 8, 2008, 4:51pm UTC](https://www.ruby-forum.com/t/app-no-longer-responding/134134 "2008-04-08T16:51:18Z")

</div>

I noticed very recently that reloading pages has been slowing down in my app… now I get nothing from localhost:3000… I don’t have any mongrels running, my app at this point is extremely simple (though probably replete…

---

## [Disable view rendering in functional tests](https://www.ruby-forum.com/t/disable-view-rendering-in-functional-tests/134172)

<div class="topic-metadata">

**Author:** [@dougal](https://www.ruby-forum.com/u/dougal)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/disable-view-rendering-in-functional-tests/134172 "2008-04-08T16:34:15Z")

</div>

Hi folks. Is there any way to disable view rendering in standard Rails functional tests, in a similar fashion to RSpec? Thanks.

---

## [About the fields\_for tag](https://www.ruby-forum.com/t/about-the-fields-for-tag/134173)

<div class="topic-metadata">

**Author:** [@Vincent.Z](https://www.ruby-forum.com/u/Vincent.Z)\
**Replies:** 0\
**Last updated:** [April 8, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/about-the-fields-for-tag/134173 "2008-04-08T16:28:10Z")

</div>

i know the form\_for is use show some model in the form,and also can make BLANK form for make new model. now,i use the fields\_for tag to get the associated model done with the master model together(means one form) my …

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

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