# Rails

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

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

---

## [\[ANN\]Rubricks - CMS on Rails](https://www.ruby-forum.com/t/ann-rubricks-cms-on-rails/57969)

<div class="topic-metadata">

**Author:** [@Shouta\_O](https://www.ruby-forum.com/u/Shouta_O)\
**Replies:** 20\
**Last updated:** [May 20, 2009, 12:45pm UTC](https://www.ruby-forum.com/t/ann-rubricks-cms-on-rails/57969 "2009-05-20T12:45:03Z")

</div>

Hi list, I made an open source CMS powered by Rails, named Rubricks. I have a web page for Rubricks. You can download it or view a flash demo there. Please try them and feed me back, like bug report etc. Check it ou…

---

## [Exists? method for a table with no primary key](https://www.ruby-forum.com/t/exists-method-for-a-table-with-no-primary-key/168401)

<div class="topic-metadata">

**Author:** [@manasi](https://www.ruby-forum.com/u/manasi)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 12:25pm UTC](https://www.ruby-forum.com/t/exists-method-for-a-table-with-no-primary-key/168401 "2009-05-20T12:25:01Z")

</div>

Hi, I am loving ruby on rails day by day… Today I wanted to use exists? method for Activerecord. My model is - class PersonEngagement \< ActiveRecord::Base #this table does not have id as it is a legacy table #Also …

---

## [Dynamic Table Names for Daily Tables](https://www.ruby-forum.com/t/dynamic-table-names-for-daily-tables/168400)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/dynamic-table-names-for-daily-tables/168400 "2009-05-20T12:15:21Z")

</div>

Hi guys, I have a problem with a legacy database that has a sequence of daily tables (generated elsewhere) of the form Header090501 Daily090501 Extra090501 Detail090501 Header090502 Daily090502 Extra090502 Deta…

---

## [What is the sequential steps of installing RoR?](https://www.ruby-forum.com/t/what-is-the-sequential-steps-of-installing-ror/166518)

<div class="topic-metadata">

**Author:** [@sheru](https://www.ruby-forum.com/u/sheru)\
**Replies:** 17\
**Last updated:** [May 20, 2009, 11:50am UTC](https://www.ruby-forum.com/t/what-is-the-sequential-steps-of-installing-ror/166518 "2009-05-20T11:50:31Z")

</div>

Hi, I am Sheru & am completely new for this web framework. I am really really enthusiastic to know the Ruby on Rails & possibly try to use this framework near future. But at the start up, I don’t have idea on install…

---

## [Polymorphic\_url with link\_to\_remote](https://www.ruby-forum.com/t/polymorphic-url-with-link-to-remote/168396)

<div class="topic-metadata">

**Author:** [@xinu](https://www.ruby-forum.com/u/xinu)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 11:41am UTC](https://www.ruby-forum.com/t/polymorphic-url-with-link-to-remote/168396 "2009-05-20T11:41:17Z")

</div>

Hi. I want to user the following link\_to\_remote with a polymporphic\_url. \<%= link\_to\_remote “delete”, :url =\> blog\_entry\_photo\_path(entry, photo),:confirm =\> “Are your sure?”, :method =\> :delete %\> This generates a n…

---

## [Multilingual model content](https://www.ruby-forum.com/t/multilingual-model-content/167716)

<div class="topic-metadata">

**Author:** [@roa](https://www.ruby-forum.com/u/roa)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 9:54am UTC](https://www.ruby-forum.com/t/multilingual-model-content/167716 "2009-05-20T09:54:23Z")

</div>

Hi I’m looking for some insight in a small problem I have. I need multilingual input in my models. Lets say you have a Product model. That product contains title, description and price. The price is allways the same,…

---

## [RubyNation Conference, Washington, DC](https://www.ruby-forum.com/t/rubynation-conference-washington-dc/168385)

<div class="topic-metadata">

**Author:** [@grayherter](https://www.ruby-forum.com/u/grayherter)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 9:10am UTC](https://www.ruby-forum.com/t/rubynation-conference-washington-dc/168385 "2009-05-20T09:10:47Z")

</div>

RubyNation is coming up soon. RubyNation is the Washington DC area’s community Ruby and Rails Conference, where the Rubyists from around the nation’s capital and beyond meet to bask in Ruby goodness for two full days…

---

## [SQL View with sphinx?](https://www.ruby-forum.com/t/sql-view-with-sphinx/168381)

<div class="topic-metadata">

**Author:** [@SSlCh3MiSt](https://www.ruby-forum.com/u/SSlCh3MiSt)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 9:00am UTC](https://www.ruby-forum.com/t/sql-view-with-sphinx/168381 "2009-05-20T09:00:14Z")

</div>

Hi I am, using a SQL View in MySQL, but i need a Full -text -Search over that view, but my problem is that the view isn’t a model, is just a object and don’t have the method .search(), like the other model when I use …

---

## [Logout link.....unless logging in!](https://www.ruby-forum.com/t/logout-link-unless-logging-in/168356)

<div class="topic-metadata">

**Author:** [@JannaB](https://www.ruby-forum.com/u/JannaB)\
**Replies:** 2\
**Last updated:** [May 20, 2009, 9:00am UTC](https://www.ruby-forum.com/t/logout-link-unless-logging-in/168356 "2009-05-20T09:00:14Z")

</div>

I have a link, /user\_session/new, which takes you to a login screen (I am using AuthLogic plugin) and in my layout template I have… \<%= link\_to "Logout", user\_session\_path, :method =\> :delete, :confirm =\> "Are you su…

---

## [Javascript encodeURIComponent equal code](https://www.ruby-forum.com/t/javascript-encodeuricomponent-equal-code/164362)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 9\
**Last updated:** [May 20, 2009, 8:58am UTC](https://www.ruby-forum.com/t/javascript-encodeuricomponent-equal-code/164362 "2009-05-20T08:58:10Z")

</div>

Javascript’s encodeURIComponent works differently from CGI.eacape or ERB::Util.u. for example: encodeURIComponent(‘ä¸­æ–‡’) = ‘%D6%D0%CE%C4’ but CGI.escape(“ä¸­æ–‡”) =\> “%E4%B8%AD%E6%96%87” ERB::Util.u(“ä¸­æ–‡…

---

## [Nested forms](https://www.ruby-forum.com/t/nested-forms/168370)

<div class="topic-metadata">

**Author:** [@melvinram](https://www.ruby-forum.com/u/melvinram)\
**Replies:** 2\
**Last updated:** [May 20, 2009, 8:45am UTC](https://www.ruby-forum.com/t/nested-forms/168370 "2009-05-20T08:45:33Z")

</div>

http://pastie.org/private/ju5htjk8kqjdqik94br0nw Line 11 in this pastie is causing errors. errors are including in pastie. I was basing this on the example on http://ryandaigle.com/articles/2009/2/1/what-s-new-in-edge…

---

## [Hosting small site on Windows temporarily](https://www.ruby-forum.com/t/hosting-small-site-on-windows-temporarily/168368)

<div class="topic-metadata">

**Author:** [@8bit](https://www.ruby-forum.com/u/8bit)\
**Replies:** 1\
**Last updated:** [May 20, 2009, 4:36am UTC](https://www.ruby-forum.com/t/hosting-small-site-on-windows-temporarily/168368 "2009-05-20T04:36:04Z")

</div>

I’d like my next project to be RoR. I’m coming from .NET so it’s going to take me some time. This particular task (at first) is pretty simple - the client has a single table they would like to maintain. I’ve already…

---

## [Has\_many :through problem](https://www.ruby-forum.com/t/has-many-through-problem/166356)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [May 20, 2009, 4:25am UTC](https://www.ruby-forum.com/t/has-many-through-problem/166356 "2009-05-20T04:25:47Z")

</div>

This may be a stupid question but I seriously can not find what’s wrong. Using Rails 2.3 and Ruby 1.8.7 I have: class Category \< ActiveRecord::Base has\_many :categories\_users has\_many :users, :through =\> :categories…

---

## [PayPal IPN and SSL](https://www.ruby-forum.com/t/paypal-ipn-and-ssl/146396)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 8\
**Last updated:** [May 20, 2009, 4:00am UTC](https://www.ruby-forum.com/t/paypal-ipn-and-ssl/146396 "2009-05-20T04:00:45Z")

</div>

I have a PayPal IPN working. Well it did work. Now it doesn’t and I believe it has to do that they now want it to be posted via 443. Can I just change 80 to 443 and be ok? @query = ‘cmd=\_notify-validate’ request.para…

---

## [Speed up recursive loop or get rid of it?](https://www.ruby-forum.com/t/speed-up-recursive-loop-or-get-rid-of-it/168322)

<div class="topic-metadata">

**Author:** [@morgan](https://www.ruby-forum.com/u/morgan)\
**Replies:** 10\
**Last updated:** [May 20, 2009, 12:44am UTC](https://www.ruby-forum.com/t/speed-up-recursive-loop-or-get-rid-of-it/168322 "2009-05-20T00:44:32Z")

</div>

so… I’m making a scheduler… i have a table of scheduled and scheduleable hours for multiple users which needs to be turned into a view (with schedule type as there are 4 different types) of 7 days of those schedule…

---

## [Extending finders to include a session variable as an option?](https://www.ruby-forum.com/t/extending-finders-to-include-a-session-variable-as-an-option/168364)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 0\
**Last updated:** [May 20, 2009, 12:16am UTC](https://www.ruby-forum.com/t/extending-finders-to-include-a-session-variable-as-an-option/168364 "2009-05-20T00:16:32Z")

</div>

We have a Page model which acts\_as\_paranoid. AAP modifies ActiveRecord finders to ignore any records marked as deleted unless the :with\_deleted =\> true option is supplied. We have a UI element which allows users to to…

---

## [Polymorphism and belongs\_to: trying to override belongs\_to](https://www.ruby-forum.com/t/polymorphism-and-belongs-to-trying-to-override-belongs-to/168358)

<div class="topic-metadata">

**Author:** [@kendall](https://www.ruby-forum.com/u/kendall)\
**Replies:** 0\
**Last updated:** [May 19, 2009, 11:17pm UTC](https://www.ruby-forum.com/t/polymorphism-and-belongs-to-trying-to-override-belongs-to/168358 "2009-05-19T23:17:20Z")

</div>

Here is my story: I have two models that represent people or groups that can “own” things. One is Person, the other is Group. Then, I have stuff that can be owned by either a Person or a Group, like a Post for instanc…

---

## [Update Local Variables?](https://www.ruby-forum.com/t/update-local-variables/168344)

<div class="topic-metadata">

**Author:** [@knappe](https://www.ruby-forum.com/u/knappe)\
**Replies:** 1\
**Last updated:** [May 19, 2009, 10:34pm UTC](https://www.ruby-forum.com/t/update-local-variables/168344 "2009-05-19T22:34:19Z")

</div>

I’m having a problem updating local variables. I was using some date.select and time.select forms to save content to my database. \<%# f.label :StartTime %\> \<%# f.time\_select :start\_time %\> …

---

## [Developer needed for ugreekrow.com -- Equity Partnership preferred](https://www.ruby-forum.com/t/developer-needed-for-ugreekrow-com-equity-partnership-preferred/168353)

<div class="topic-metadata">

**Author:** [@ugreekrow.com](https://www.ruby-forum.com/u/ugreekrow.com)\
**Replies:** 0\
**Last updated:** [May 19, 2009, 10:24pm UTC](https://www.ruby-forum.com/t/developer-needed-for-ugreekrow-com-equity-partnership-preferred/168353 "2009-05-19T22:24:28Z")

</div>

Built in Ruby on Rails, UGreekRow helps fraternities and sororities from the Greek community manage daily operations and connect with alumni for job opportunities. With over 3,000 members signed up from the Universit…

---

## [Rails Error explained?](https://www.ruby-forum.com/t/rails-error-explained/168321)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 9\
**Last updated:** [May 19, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/rails-error-explained/168321 "2009-05-19T20:08:40Z")

</div>

I just got my first error, “ActionController::InvalidAuthenticityToken”. I can’t seem to find any reference anywhere to an explanation of what these errors actually mean (perhaps it has to do with manually adding a vi…

---

## [Development Windows or Linux?](https://www.ruby-forum.com/t/development-windows-or-linux/159825)

<div class="topic-metadata">

**Author:** [@priyankeshu](https://www.ruby-forum.com/u/priyankeshu)\
**Replies:** 13\
**Last updated:** [May 19, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/development-windows-or-linux/159825 "2009-05-19T19:13:19Z")

</div>

I just started learnign Rails and i think it’s quite cool! I have just done some basic stuff till now i was talking to some professional guy who was working in ruby On Rails for last 1 year and he said that it would b…

---

## [Sub-totals in tables](https://www.ruby-forum.com/t/sub-totals-in-tables/168317)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [May 19, 2009, 7:12pm UTC](https://www.ruby-forum.com/t/sub-totals-in-tables/168317 "2009-05-19T19:12:07Z")

</div>

How can I get sub-totalling in tables? I have an ActiveResource model which gets it’s data from a legacy Windows app via REST. The records are ordered by date. I need to display subtotals by week number. It looks like…

---

## [Annotate Models](https://www.ruby-forum.com/t/annotate-models/168332)

<div class="topic-metadata">

**Author:** [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Replies:** 3\
**Last updated:** [May 19, 2009, 6:54pm UTC](https://www.ruby-forum.com/t/annotate-models/168332 "2009-05-19T18:54:34Z")

</div>

Is it possible to annotate models under app/models/some\_directory if the models do not have SomeDirectory namespace?

---

## [Choose language for Rails](https://www.ruby-forum.com/t/choose-language-for-rails/168330)

<div class="topic-metadata">

**Author:** [@tivrfoa](https://www.ruby-forum.com/u/tivrfoa)\
**Replies:** 1\
**Last updated:** [May 19, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/choose-language-for-rails/168330 "2009-05-19T18:48:35Z")

</div>

Hi! Is there someway to choose the language when creating a scaffolding, like portuguese or spanish. Otherwise I have to change, like New -\> Nuevo It is not a big problem, but it would be nice. Thanks in advance!

---

## [Reg:Url Encryption](https://www.ruby-forum.com/t/reg-url-encryption/168306)

<div class="topic-metadata">

**Author:** [@charan](https://www.ruby-forum.com/u/charan)\
**Replies:** 2\
**Last updated:** [May 19, 2009, 5:38pm UTC](https://www.ruby-forum.com/t/reg-url-encryption/168306 "2009-05-19T17:38:29Z")

</div>

Hi I need to pass params through url.which should be done in an encrypted way … is there any methods to solve this…

---

## [Pinax for Rails](https://www.ruby-forum.com/t/pinax-for-rails/168125)

<div class="topic-metadata">

**Author:** [@pe3](https://www.ruby-forum.com/u/pe3)\
**Replies:** 1\
**Last updated:** [May 19, 2009, 4:24pm UTC](https://www.ruby-forum.com/t/pinax-for-rails/168125 "2009-05-19T16:24:40Z")

</div>

Pinax (http://pinaxproject.com) is a great Django project. What are the three similar Rails projects the main developer of Pinax James Tauber mentions (http://twitter.com/jtauber/statuses/1794782377)?

---

## [Payment gateway implemantation](https://www.ruby-forum.com/t/payment-gateway-implemantation/168314)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 2\
**Last updated:** [May 19, 2009, 4:14pm UTC](https://www.ruby-forum.com/t/payment-gateway-implemantation/168314 "2009-05-19T16:14:46Z")

</div>

Hi all, I am having trouble in implementing payment gateway in my application on joyent server. I need to configure ‘http//’ url for normal methods and ‘https//’ for secured methods. For this functionality we need to …

---

## [Problems with upload using attachment\_fu](https://www.ruby-forum.com/t/problems-with-upload-using-attachment-fu/168294)

<div class="topic-metadata">

**Author:** [@Nerdaniel](https://www.ruby-forum.com/u/Nerdaniel)\
**Replies:** 2\
**Last updated:** [May 19, 2009, 3:59pm UTC](https://www.ruby-forum.com/t/problems-with-upload-using-attachment-fu/168294 "2009-05-19T15:59:24Z")

</div>

Hello everyone, I’m having problems with :html =\> { :multipart =\> true } in my edit form. It doesn’t returns the image in the parameter, so everything fails with this errors: There were problems with the following fi…

---

## [RJS and different views](https://www.ruby-forum.com/t/rjs-and-different-views/168308)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 0\
**Last updated:** [May 19, 2009, 1:24pm UTC](https://www.ruby-forum.com/t/rjs-and-different-views/168308 "2009-05-19T13:24:40Z")

</div>

I have Results Controller. It has an index action with a corresponding index view. In the view their is a search form which is sent to a search action in the same controller. I wanted to seperate this from the index a…

---

## [Proper way to ensure atomic model changes](https://www.ruby-forum.com/t/proper-way-to-ensure-atomic-model-changes/168300)

<div class="topic-metadata">

**Author:** [@kuvkir](https://www.ruby-forum.com/u/kuvkir)\
**Replies:** 4\
**Last updated:** [May 19, 2009, 1:09pm UTC](https://www.ruby-forum.com/t/proper-way-to-ensure-atomic-model-changes/168300 "2009-05-19T13:09:14Z")

</div>

Hi! Say we have a rails active-record-based model called “instance” which can have different states - STOPPED, RUNNING, STARTING\_UP, SHUTTING\_DOWN, etc… There is a method #start which changes the instance state to S…

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

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