# Rails

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

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

---

## [FCK editor implementaion to rails app](https://www.ruby-forum.com/t/fck-editor-implementaion-to-rails-app/188519)

<div class="topic-metadata">

**Author:** [@bestha](https://www.ruby-forum.com/u/bestha)\
**Replies:** 3\
**Last updated:** [May 13, 2010, 3:11pm UTC](https://www.ruby-forum.com/t/fck-editor-implementaion-to-rails-app/188519 "2010-05-13T15:11:48Z")

</div>

Hi , I have used fck rich text editor in one of my rails app.Now it saves the entered html text along with html tags in Database.But while displaying how i can convert it to html page ? Now its displaying everything …

---

## [Rhodes/Rhohub](https://www.ruby-forum.com/t/rhodes-rhohub/188533)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 0\
**Last updated:** [May 13, 2010, 2:52pm UTC](https://www.ruby-forum.com/t/rhodes-rhohub/188533 "2010-05-13T14:52:16Z")

</div>

Is anyone using Rhodes to produce mobile applications? I’ve been struggling with it for a couple of weeks and have been making slow progress; are there any developer communities online to share experiences?

---

## [Routing - newbie question about shorting the url](https://www.ruby-forum.com/t/routing-newbie-question-about-shorting-the-url/188518)

<div class="topic-metadata">

**Author:** [@sso](https://www.ruby-forum.com/u/sso)\
**Replies:** 1\
**Last updated:** [May 13, 2010, 1:44pm UTC](https://www.ruby-forum.com/t/routing-newbie-question-about-shorting-the-url/188518 "2010-05-13T13:44:14Z")

</div>

Hi Right now I have my url showing as the following: http://localhost/categories/italian/recipes/special-pasta-sauce I would like it to be: http://localhost/categories/italian/special-pasta-sauce (or even http://loc…

---

## [Users Actions Logging](https://www.ruby-forum.com/t/users-actions-logging/188524)

<div class="topic-metadata">

**Author:** [@Vladimir\_R](https://www.ruby-forum.com/u/Vladimir_R)\
**Replies:** 1\
**Last updated:** [May 13, 2010, 1:33pm UTC](https://www.ruby-forum.com/t/users-actions-logging/188524 "2010-05-13T13:33:57Z")

</div>

Hi all, Is there any gem or plugin available for Users Actions Logging? User can create, view, chage, delete some Model and other users should be available to see the logs. I’m ready to use some kind of observers on …

---

## [\[JOBS\] Flickr API Integration Project](https://www.ruby-forum.com/t/jobs-flickr-api-integration-project/188520)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 0\
**Last updated:** [May 13, 2010, 9:11am UTC](https://www.ruby-forum.com/t/jobs-flickr-api-integration-project/188520 "2010-05-13T09:11:36Z")

</div>

Looking for a freelance RoR developer to work on a innovative project. We’re looking for someone who is really passionate about delivering solid functionality and writing beautiful code. The site contains an extensive…

---

## [Problem with magic muticonnections](https://www.ruby-forum.com/t/problem-with-magic-muticonnections/188514)

<div class="topic-metadata">

**Author:** [@preksha](https://www.ruby-forum.com/u/preksha)\
**Replies:** 0\
**Last updated:** [May 13, 2010, 7:42am UTC](https://www.ruby-forum.com/t/problem-with-magic-muticonnections/188514 "2010-05-13T07:42:03Z")

</div>

Hi all, I am using magic multi-connections for the database connectivity of two application…I can find the records for the other table but I am getting the error if the table name in both the database is same… I have…

---

## [Validates\_format\_of :email in database](https://www.ruby-forum.com/t/validates-format-of-email-in-database/188513)

<div class="topic-metadata">

**Author:** [@ashu](https://www.ruby-forum.com/u/ashu)\
**Replies:** 0\
**Last updated:** [May 13, 2010, 7:16am UTC](https://www.ruby-forum.com/t/validates-format-of-email-in-database/188513 "2010-05-13T07:16:17Z")

</div>

I was forgot To apply validates\_format\_of :email, validates\_format\_of :contact\_personal\_email This makes a lots of invalid emails of users . Now i fixed it on model But the invalid emails now exists in my database (…

---

## [Which linux distro for rails using ruby 1.9.1](https://www.ruby-forum.com/t/which-linux-distro-for-rails-using-ruby-1-9-1/188387)

<div class="topic-metadata">

**Author:** [@japmsn](https://www.ruby-forum.com/u/japmsn)\
**Replies:** 5\
**Last updated:** [May 13, 2010, 6:59am UTC](https://www.ruby-forum.com/t/which-linux-distro-for-rails-using-ruby-1-9-1/188387 "2010-05-13T06:59:07Z")

</div>

Intro: I’m currently using Fedora 13 (with ruby 1.9.1 compiled from source) and wanted to learn rails, fedora 13 has openssl 1.0.0 that has issues when trying script/server and I didn’t manage to fix it so I’m thinkin…

---

## [Best Gem For Threaded Comment Storage?](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 3\
**Last updated:** [May 13, 2010, 4:17am UTC](https://www.ruby-forum.com/t/best-gem-for-threaded-comment-storage/188490 "2010-05-13T04:17:46Z")

</div>

Dear List, Given that I am developing a rails 2.3.5 site, When it comes to storing threaded comments in a blog or forum, Then which plugin/gem should be considered “State of the Art”? I’m starting with these URLs: …

---

## [Rails 3 release date](https://www.ruby-forum.com/t/rails-3-release-date/188444)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 12\
**Last updated:** [May 13, 2010, 3:50am UTC](https://www.ruby-forum.com/t/rails-3-release-date/188444 "2010-05-13T03:50:16Z")

</div>

When is the stable version of rails 3 being released?

---

## [Ahhh .count!](https://www.ruby-forum.com/t/ahhh-count/188378)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 11\
**Last updated:** [May 13, 2010, 12:26am UTC](https://www.ruby-forum.com/t/ahhh-count/188378 "2010-05-13T00:26:30Z")

</div>

Okk So, I have @totalcount = @school.subjects.count (School has many subjects, subjects has many teachers) Now, what if i wanted to count up the amount of teachers within that school? I need something like @totalcou…

---

## [Redirect\_to :create](https://www.ruby-forum.com/t/redirect-to-create/188497)

<div class="topic-metadata">

**Author:** [@badnaam](https://www.ruby-forum.com/u/badnaam)\
**Replies:** 1\
**Last updated:** [May 13, 2010, 12:22am UTC](https://www.ruby-forum.com/t/redirect-to-create/188497 "2010-05-13T00:22:59Z")

</div>

My requirement is to maintain historical data, so basically each update creates a new record rather than updating the current record. In order to do this, I fetch the the latest record in the “edit” action and when th…

---

## [Rails and PostgreSQL?](https://www.ruby-forum.com/t/rails-and-postgresql/188457)

<div class="topic-metadata">

**Author:** [@amoo3](https://www.ruby-forum.com/u/amoo3)\
**Replies:** 10\
**Last updated:** [May 12, 2010, 11:24pm UTC](https://www.ruby-forum.com/t/rails-and-postgresql/188457 "2010-05-12T23:24:29Z")

</div>

Hi every one How are you? after a days and searching in forums i still can not find some things that helping me to connect Rails with postgre SQL of course those are helpful but not for a stupid person like me :smi…

---

## [Blog!](https://www.ruby-forum.com/t/blog/188495)

<div class="topic-metadata">

**Author:** [@sanjanad](https://www.ruby-forum.com/u/sanjanad)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 11:15pm UTC](https://www.ruby-forum.com/t/blog/188495 "2010-05-12T23:15:06Z")

</div>

hi…i m currently developing a ruby on rails website…i want to have a blogging system with my website…are there any good rails plugin for tat…or should i do a blog from scratch…i m confused as in how to have a blog wit…

---

## [Association to an association](https://www.ruby-forum.com/t/association-to-an-association/188473)

<div class="topic-metadata">

**Author:** [@gonesail](https://www.ruby-forum.com/u/gonesail)\
**Replies:** 12\
**Last updated:** [May 12, 2010, 11:01pm UTC](https://www.ruby-forum.com/t/association-to-an-association/188473 "2010-05-12T23:01:23Z")

</div>

i have a need to attach attribute(s) to a one to many association. in essence it would be an association to an association. similar to a polymorphic association but not. i wanted this to be in another table so it coul…

---

## [How can I display document root?](https://www.ruby-forum.com/t/how-can-i-display-document-root/188480)

<div class="topic-metadata">

**Author:** [@max\_radin](https://www.ruby-forum.com/u/max_radin)\
**Replies:** 3\
**Last updated:** [May 12, 2010, 10:32pm UTC](https://www.ruby-forum.com/t/how-can-i-display-document-root/188480 "2010-05-12T22:32:35Z")

</div>

Hi- This is a newbie question: I started an http server: myserver = HTTPServer.new(:Port =\> 8080, :DocumentRoot =\> Dir::pwd + “/temp”) myserver.start Q: how do I display the current document root? man thanks Max

---

## [Using a gem as the model Rails 3/datamapper](https://www.ruby-forum.com/t/using-a-gem-as-the-model-rails-3-datamapper/188471)

<div class="topic-metadata">

**Author:** [@Don\_F](https://www.ruby-forum.com/u/Don_F)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 9:56pm UTC](https://www.ruby-forum.com/t/using-a-gem-as-the-model-rails-3-datamapper/188471 "2010-05-12T21:56:38Z")

</div>

I have a non-rails ruby application that has many models that we now need to create a rails application for. These models are managed as a gem. How can that gem be used in a rails3 app? How do you specify that gem an…

---

## [Dynamically constructing conditions in multiple self join](https://www.ruby-forum.com/t/dynamically-constructing-conditions-in-multiple-self-join/188491)

<div class="topic-metadata">

**Author:** [@nibble70](https://www.ruby-forum.com/u/nibble70)\
**Replies:** 0\
**Last updated:** [May 12, 2010, 9:46pm UTC](https://www.ruby-forum.com/t/dynamically-constructing-conditions-in-multiple-self-join/188491 "2010-05-12T21:46:17Z")

</div>

Hi, I am using a join that looks like this: Person.find :all, :select =\> ‘children\_people\_3.\*’, :joins =\> { :children =\> { :children =\> :children } }, :conditions =\> { :people =\> { :name =\> ‘tom’ }, :children\_peop…

---

## [Why does Object.const\_defined?() returns false in this case?](https://www.ruby-forum.com/t/why-does-object-const-defined-returns-false-in-this-case/188435)

<div class="topic-metadata">

**Author:** [@msmsms](https://www.ruby-forum.com/u/msmsms)\
**Replies:** 6\
**Last updated:** [May 12, 2010, 8:18pm UTC](https://www.ruby-forum.com/t/why-does-object-const-defined-returns-false-in-this-case/188435 "2010-05-12T20:18:18Z")

</div>

Hi, thank you for reading my post. I’ll shortly describe my problem. I want to probe if a class is defined, and if it is, I want to instantiate it. Let’s assume, the class name is “DemandType” and it exists: Object.…

---

## [Different ruby versions...different results](https://www.ruby-forum.com/t/different-ruby-versions-different-results/188425)

<div class="topic-metadata">

**Author:** [@dkam](https://www.ruby-forum.com/u/dkam)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 7:53pm UTC](https://www.ruby-forum.com/t/different-ruby-versions-different-results/188425 "2010-05-12T19:53:08Z")

</div>

i just got a new mbp and started transferring some projects over. when starting to use geokit on it, geocode\_ip\_address worked but not on the imac. differences are imac is running ruby 1.9.1p376 and mbp is running ru…

---

## [Anybody have slow transaction/commits running under Xen?](https://www.ruby-forum.com/t/anybody-have-slow-transaction-commits-running-under-xen/188106)

<div class="topic-metadata">

**Author:** [@jim](https://www.ruby-forum.com/u/jim)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 7:01pm UTC](https://www.ruby-forum.com/t/anybody-have-slow-transaction-commits-running-under-xen/188106 "2010-05-12T19:01:36Z")

</div>

I’m getting very slow transaction/commits with RoR 2.3.5 and Ruby 1.8.6 p388 running under Xen. The same virtual machine setup under VMware runs the transactions fine. It’s Ubuntu 9.10 64bit server. Under Xen, it’s …

---

## [Smooth scrolling with RJS -\> error](https://www.ruby-forum.com/t/smooth-scrolling-with-rjs-error/188481)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 0\
**Last updated:** [May 12, 2010, 5:58pm UTC](https://www.ruby-forum.com/t/smooth-scrolling-with-rjs-error/188481 "2010-05-12T17:58:58Z")

</div>

Hi there, can anybody tell me what’s wrong with this controller part…? render :update do |page| page.call “jQuery(‘html,body’).animate({ scrollTop:jQuery(’#top’).offset().top}, 2000)” end The error I get is… "RJS …

---

## [Structuring Active Record relationships](https://www.ruby-forum.com/t/structuring-active-record-relationships/188442)

<div class="topic-metadata">

**Author:** [@RichardOnRails](https://www.ruby-forum.com/u/RichardOnRails)\
**Replies:** 3\
**Last updated:** [May 12, 2010, 5:03pm UTC](https://www.ruby-forum.com/t/structuring-active-record-relationships/188442 "2010-05-12T17:03:54Z")

</div>

Hi, I have three tables: Expenses, Vendors and Vendor \_Accounts It should operate as follows: When a new Expense record is created, A vendor is selected from a drop-down of Vendors and, An account is selected from a…

---

## [Dynamic searchable fields, best practice?](https://www.ruby-forum.com/t/dynamic-searchable-fields-best-practice/188458)

<div class="topic-metadata">

**Author:** [@boblu](https://www.ruby-forum.com/u/boblu)\
**Replies:** 5\
**Last updated:** [May 12, 2010, 4:14pm UTC](https://www.ruby-forum.com/t/dynamic-searchable-fields-best-practice/188458 "2010-05-12T16:14:42Z")

</div>

I have a Lexicon model, and I want user to be able to create dynamic feature to every lexicon. And I have a complicate search interface that let user search on every single feature (including the dynamic ones) belonge…

---

## [If controller doesn't exist: search database for its name](https://www.ruby-forum.com/t/if-controller-doesnt-exist-search-database-for-its-name/188434)

<div class="topic-metadata">

**Author:** [@sso](https://www.ruby-forum.com/u/sso)\
**Replies:** 3\
**Last updated:** [May 12, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/if-controller-doesnt-exist-search-database-for-its-name/188434 "2010-05-12T16:10:01Z")

</div>

I’ll use my recipe example again. It would be nice if I could have my routes (I think) set up so that if somebody enters a a controller that doesn’t exist a database search runs and looks for the controller name as on…

---

## [Issues running ruby script/server](https://www.ruby-forum.com/t/issues-running-ruby-script-server/188469)

<div class="topic-metadata">

**Author:** [@binbash-x](https://www.ruby-forum.com/u/binbash-x)\
**Replies:** 6\
**Last updated:** [May 12, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/issues-running-ruby-script-server/188469 "2010-05-12T15:50:12Z")

</div>

I had fixed the below error long time back…and now it’s back again… I have no clue how it happened…help would be appreciated thanks… unknown0011248da679:~/hello faisal$ ruby script/server Rails requires RubyGems \>= …

---

## [Form\_for success and failure callbacks](https://www.ruby-forum.com/t/form-for-success-and-failure-callbacks/188265)

<div class="topic-metadata">

**Author:** [@philostler](https://www.ruby-forum.com/u/philostler)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 3:31pm UTC](https://www.ruby-forum.com/t/form-for-success-and-failure-callbacks/188265 "2010-05-12T15:31:09Z")

</div>

I’ve created a login form using rails 3 & jquery-ujs and all is working except I’d like to detect whether the AJAX call to the server was successful, for example in the event that internet connection is lost. I’m usin…

---

## [Validating User](https://www.ruby-forum.com/t/validating-user/188426)

<div class="topic-metadata">

**Author:** [@leonardo\_rente](https://www.ruby-forum.com/u/leonardo_rente)\
**Replies:** 2\
**Last updated:** [May 12, 2010, 1:45pm UTC](https://www.ruby-forum.com/t/validating-user/188426 "2010-05-12T13:45:23Z")

</div>

Hi people, I need to know, if is possible validate a user from windows network with rails, like a intranet. graciously, Leonardo

---

## [Has\_one/belongs\_to -- accessing the subordinate](https://www.ruby-forum.com/t/has-one-belongs-to-accessing-the-subordinate/188421)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 1\
**Last updated:** [May 12, 2010, 12:53pm UTC](https://www.ruby-forum.com/t/has-one-belongs-to-accessing-the-subordinate/188421 "2010-05-12T12:53:17Z")

</div>

With a has\_one/belongs\_to relationship, what’s the best way to guarantee that the belongs\_to object gets created and is accessible alongside the has\_one object? I think the after\_create callback is a good choice, but…

---

## [Dynamic searchable fields, best practice?](https://www.ruby-forum.com/t/dynamic-searchable-fields-best-practice/188460)

<div class="topic-metadata">

**Author:** [@boblu](https://www.ruby-forum.com/u/boblu)\
**Replies:** 0\
**Last updated:** [May 12, 2010, 11:10am UTC](https://www.ruby-forum.com/t/dynamic-searchable-fields-best-practice/188460 "2010-05-12T11:10:15Z")

</div>

I have a Lexicon model, and I want user to be able to create dynamic feature to every lexicon. And I have a complicate search interface that let user search on every single feature (including the dynamic ones) belonge…

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

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