# Rails

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

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

---

## ["new" form as partial?](https://www.ruby-forum.com/t/new-form-as-partial/186250)

<div class="topic-metadata">

**Author:** [@mari\_an](https://www.ruby-forum.com/u/mari_an)\
**Replies:** 2\
**Last updated:** [April 3, 2010, 9:28am UTC](https://www.ruby-forum.com/t/new-form-as-partial/186250 "2010-04-03T09:28:32Z")

</div>

Hi! I think I’m trying to accomplish something very common, but I can’t find a way to do it. Creating a certain type of database record is a very frequent task in my application (or at least it should be ;-)). So I w…

---

## [Weird date/time incompatibility](https://www.ruby-forum.com/t/weird-date-time-incompatibility/186212)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 11\
**Last updated:** [April 3, 2010, 9:22am UTC](https://www.ruby-forum.com/t/weird-date-time-incompatibility/186212 "2010-04-03T09:22:05Z")

</div>

I’ve uploaded my development project to my production server, and am experiencing an odd effect. All database find methods in which the date is passed as a param are coming up nil – it seems that there’s an incompatib…

---

## [Using Builders](https://www.ruby-forum.com/t/using-builders/186259)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 1\
**Last updated:** [April 3, 2010, 4:43am UTC](https://www.ruby-forum.com/t/using-builders/186259 "2010-04-03T04:43:35Z")

</div>

I am using RoR 2.3, and have installed the builder gem I have a line in a view as follows: str\_xml = render “fusioncharts/array\_example/ss\_array\_data.builder”, {:arr\_data =\> @arr\_data} Which does not set str\_xml to a…

---

## [GurusQ: Metal calling disparity-How to install metal in code](https://www.ruby-forum.com/t/gurusq-metal-calling-disparity-how-to-install-metal-in-code/186260)

<div class="topic-metadata">

**Author:** [@magpie](https://www.ruby-forum.com/u/magpie)\
**Replies:** 0\
**Last updated:** [April 3, 2010, 4:07am UTC](https://www.ruby-forum.com/t/gurusq-metal-calling-disparity-how-to-install-metal-in-code/186260 "2010-04-03T04:07:39Z")

</div>

I have a simple class that I want to install as Rails Metal. I don’t want to put it into a file in app/metal for reasons I don’t want to go into. It looks like this, and handler is defined elsewhere. class UrlFilter …

---

## [Rails cascading delete](https://www.ruby-forum.com/t/rails-cascading-delete/186218)

<div class="topic-metadata">

**Author:** [@Hilal](https://www.ruby-forum.com/u/Hilal)\
**Replies:** 3\
**Last updated:** [April 3, 2010, 3:59am UTC](https://www.ruby-forum.com/t/rails-cascading-delete/186218 "2010-04-03T03:59:05Z")

</div>

Hello There: I am trying to do a deep cascading deletes in rails. The schema looks like this: Blogs (has many) entries ( has many ) comments A blog has n entries, an entry has n comments. So, in my Blog model I use …

---

## [ScrAPI HTTPNoAccessError](https://www.ruby-forum.com/t/scrapi-httpnoaccesserror/186257)

<div class="topic-metadata">

**Author:** [@julescopeland](https://www.ruby-forum.com/u/julescopeland)\
**Replies:** 1\
**Last updated:** [April 3, 2010, 1:38am UTC](https://www.ruby-forum.com/t/scrapi-httpnoaccesserror/186257 "2010-04-03T01:38:36Z")

</div>

Hi, I’m having some problems using scrAPI. I’m getting some HTTPNoAccessErrors on certain urls. The program searches a page (List of films - Wikiquote) for all of the links on it that go to pages with movie quotes on…

---

## [HELP! Rake aborted! Can't modify frozen hash](https://www.ruby-forum.com/t/help-rake-aborted-cant-modify-frozen-hash/186255)

<div class="topic-metadata">

**Author:** [@patrick\_nicholas](https://www.ruby-forum.com/u/patrick_nicholas)\
**Replies:** 0\
**Last updated:** [April 3, 2010, 12:26am UTC](https://www.ruby-forum.com/t/help-rake-aborted-cant-modify-frozen-hash/186255 "2010-04-03T00:26:48Z")

</div>

Too bad even the trace doesn’t say which hash is involved. Sorry this post is long: am trying to provide enough context to be meaningful. Occurs intermittently when rake jobs:work is pulling a command out of delayed\_…

---

## [Trying to create search filter persistence using SearchLogic](https://www.ruby-forum.com/t/trying-to-create-search-filter-persistence-using-searchlogic/185023)

<div class="topic-metadata">

**Author:** [@dburges](https://www.ruby-forum.com/u/dburges)\
**Replies:** 3\
**Last updated:** [April 3, 2010, 12:01am UTC](https://www.ruby-forum.com/t/trying-to-create-search-filter-persistence-using-searchlogic/185023 "2010-04-03T00:01:07Z")

</div>

I have just set up a search form on my index using SearchLogic- it works great. However, since there are several search parameters in the form I want the results of the most recent search to remain in effect until the…

---

## [Rails model design visualization](https://www.ruby-forum.com/t/rails-model-design-visualization/186186)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 6\
**Last updated:** [April 2, 2010, 11:14pm UTC](https://www.ruby-forum.com/t/rails-model-design-visualization/186186 "2010-04-02T23:14:37Z")

</div>

I’m a fairly visual person, and I have a piece of paper with many boxes and arrows with labels like “has many” and “belongs to” for my database models. It’s messy, but it works. What I keep looking for–weeks, actuall…

---

## [Rails and PHP app under the same domain](https://www.ruby-forum.com/t/rails-and-php-app-under-the-same-domain/186224)

<div class="topic-metadata">

**Author:** [@johndel](https://www.ruby-forum.com/u/johndel)\
**Replies:** 2\
**Last updated:** [April 2, 2010, 10:53pm UTC](https://www.ruby-forum.com/t/rails-and-php-app-under-the-same-domain/186224 "2010-04-02T22:53:32Z")

</div>

Hello I have a rails site in a domain like http://domain.com/ which is in one folder the whole application and a blog (wordpress - php application in another folder) under http://blog.domain.com/. How can I do Domain…

---

## [Accessing models in "mounted" Rails 3 app](https://www.ruby-forum.com/t/accessing-models-in-mounted-rails-3-app/186203)

<div class="topic-metadata">

**Author:** [@Angelo\_Ashmore](https://www.ruby-forum.com/u/Angelo_Ashmore)\
**Replies:** 2\
**Last updated:** [April 2, 2010, 9:50pm UTC](https://www.ruby-forum.com/t/accessing-models-in-mounted-rails-3-app/186203 "2010-04-02T21:50:16Z")

</div>

This is the first time I’m working with Engine’s in Rails, let alone in Rails 3. I basically followed these steps to set up the mountable app: http://blog.dynamic50.com/index.php/2010/02/rails-3-0-mount-multiple-apps-…

---

## [HAS\_MANY BELONGS\_TO noobie question](https://www.ruby-forum.com/t/has-many-belongs-to-noobie-question/185854)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 4\
**Last updated:** [April 2, 2010, 6:41pm UTC](https://www.ruby-forum.com/t/has-many-belongs-to-noobie-question/185854 "2010-04-02T18:41:11Z")

</div>

Hey, I made my authentication system using Authlogic, and I have a current\_user helper Now, I also made a scaffold called posts, and everytime a user creates a post using that scaffold, i want it to be assigned to th…

---

## [Intermediate level tutorials](https://www.ruby-forum.com/t/intermediate-level-tutorials/186098)

<div class="topic-metadata">

**Author:** [@IanJ](https://www.ruby-forum.com/u/IanJ)\
**Replies:** 4\
**Last updated:** [April 2, 2010, 5:13pm UTC](https://www.ruby-forum.com/t/intermediate-level-tutorials/186098 "2010-04-02T17:13:58Z")

</div>

Hi I’m hoping somebody can suggest an intermediate level tutorial or point me in the right direction. I’m a moderately experienced programmer (20 + years off and on) but I’m really struggling to get to grips with Web…

---

## [Superclass mismatch with Rails 3](https://www.ruby-forum.com/t/superclass-mismatch-with-rails-3/186176)

<div class="topic-metadata">

**Author:** [@philostler](https://www.ruby-forum.com/u/philostler)\
**Replies:** 3\
**Last updated:** [April 2, 2010, 3:26pm UTC](https://www.ruby-forum.com/t/superclass-mismatch-with-rails-3/186176 "2010-04-02T15:26:14Z")

</div>

I’m currently developing a Rails 2 project that I’d like to migrate across to Rail 3. However I’m having real trouble in the first place getting Rails 3 to work straight out of the box with a blank project. Initially …

---

## [Ruport - table data to \[\]](https://www.ruby-forum.com/t/ruport-table-data-to/186226)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 0\
**Last updated:** [April 2, 2010, 2:49pm UTC](https://www.ruby-forum.com/t/ruport-table-data-to/186226 "2010-04-02T14:49:57Z")

</div>

Anyone on here know how to access the data used in a Ruport table and return it as an Array \[\] ? Thank you.

---

## [Rss feed](https://www.ruby-forum.com/t/rss-feed/186221)

<div class="topic-metadata">

**Author:** [@rahul\_m](https://www.ruby-forum.com/u/rahul_m)\
**Replies:** 5\
**Last updated:** [April 2, 2010, 12:27pm UTC](https://www.ruby-forum.com/t/rss-feed/186221 "2010-04-02T12:27:45Z")

</div>

hi all, for my project need to generate rss feed and place in folder what to do ? we need to have RSS feed generated and placed inside /feeds folder. Format of these feeds should be valid RSS feed format. These feed …

---

## [\[RAILS 3\] 2 sup app in 1 app](https://www.ruby-forum.com/t/rails-3-2-sup-app-in-1-app/186222)

<div class="topic-metadata">

**Author:** [@nicolas2b](https://www.ruby-forum.com/u/nicolas2b)\
**Replies:** 0\
**Last updated:** [April 2, 2010, 11:50am UTC](https://www.ruby-forum.com/t/rails-3-2-sup-app-in-1-app/186222 "2010-04-02T11:50:00Z")

</div>

Hi, I’m building an app which will become quite big (I hope :wink: ) and so I want to separate admin part and customers part. By separate, I mean not 2 namespaces (=1 app), but really 2 app (so I can shutdown customer…

---

## [Ruby array, javascript and json issue](https://www.ruby-forum.com/t/ruby-array-javascript-and-json-issue/186198)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 1\
**Last updated:** [April 2, 2010, 11:37am UTC](https://www.ruby-forum.com/t/ruby-array-javascript-and-json-issue/186198 "2010-04-02T11:37:26Z")

</div>

Hey all, I am unable to get a highcharts plugin to render a chart in a rails application: GitHub - loudpixel/highcharts-rails: A plugin for displaying Highcharts graphs in Rails I believe it has something to do with t…

---

## [Rails 2.3 SafeBuffer leaked evil all over my yaml](https://www.ruby-forum.com/t/rails-2-3-safebuffer-leaked-evil-all-over-my-yaml/186219)

<div class="topic-metadata">

**Author:** [@skwp](https://www.ruby-forum.com/u/skwp)\
**Replies:** 0\
**Last updated:** [April 2, 2010, 11:35am UTC](https://www.ruby-forum.com/t/rails-2-3-safebuffer-leaked-evil-all-over-my-yaml/186219 "2010-04-02T11:35:40Z")

</div>

I’ve been googling for a while to find a solution to this, but can’t seem to. What’s happening is that after upgrading from rails 2.1 to rails 2.3, my YAML started getting, for lack of a better word, ‘evil’ due to the …

---

## [Loading Fixtures Earlier](https://www.ruby-forum.com/t/loading-fixtures-earlier/186157)

<div class="topic-metadata">

**Author:** [@mazniak](https://www.ruby-forum.com/u/mazniak)\
**Replies:** 1\
**Last updated:** [April 2, 2010, 10:33am UTC](https://www.ruby-forum.com/t/loading-fixtures-earlier/186157 "2010-04-02T10:33:18Z")

</div>

I have a few ActiveRecord subclasses that reassign their default scope upon instantiation based on some criteria (i.e. subclasses of the AR model Person will change their default scope according to rows found in the r…

---

## [Act as solr reindex](https://www.ruby-forum.com/t/act-as-solr-reindex/186208)

<div class="topic-metadata">

**Author:** [@mahesh\_s](https://www.ruby-forum.com/u/mahesh_s)\
**Replies:** 0\
**Last updated:** [April 2, 2010, 5:25am UTC](https://www.ruby-forum.com/t/act-as-solr-reindex/186208 "2010-04-02T05:25:51Z")

</div>

Hi friends I am using act\_as\_solr plugin for indexing my database for my application i am having huge volume data (700000 data) for this i am facing a problem it will take more then 6 to 7hrs to index the whole data…

---

## [ActiveRecord::Errors is empty when the record is invalid](https://www.ruby-forum.com/t/activerecord-errors-is-empty-when-the-record-is-invalid/186201)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 0\
**Last updated:** [April 2, 2010, 1:12am UTC](https://www.ruby-forum.com/t/activerecord-errors-is-empty-when-the-record-is-invalid/186201 "2010-04-02T01:12:23Z")

</div>

I’m running into an interesting problem where an ActiveRecord instance #valid? returns false, but #errors#full\_messages is empty. This is in one of my models. The code was run in ruby-debug sitting in one of my valida…

---

## [jRails, jQuery, Hide (4 arguments)](https://www.ruby-forum.com/t/jrails-jquery-hide-4-arguments/186042)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 10:40pm UTC](https://www.ruby-forum.com/t/jrails-jquery-hide-4-arguments/186042 "2010-04-01T22:40:12Z")

</div>

Is this the right forum to post this to? In jRails.js there is a call to hide in which hide takes four parameters. Where is that hide defined?

---

## [Questions rufus scheduler](https://www.ruby-forum.com/t/questions-rufus-scheduler/186184)

<div class="topic-metadata">

**Author:** [@andersonleite](https://www.ruby-forum.com/u/andersonleite)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/questions-rufus-scheduler/186184 "2010-04-01T21:52:48Z")

</div>

Hello people, I am using Rufus scheduler to send emails every day at 4am. To do this I am using: scheduler = Rufus::Scheduler.start\_new scheduler.every ‘1d’, :first\_at =\> ‘2010/04/1 04:30’ do #do something end The…

---

## [How to improve rails helpers](https://www.ruby-forum.com/t/how-to-improve-rails-helpers/186180)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 1\
**Last updated:** [April 1, 2010, 9:11pm UTC](https://www.ruby-forum.com/t/how-to-improve-rails-helpers/186180 "2010-04-01T21:11:49Z")

</div>

Hey boys, just wanted to let you know I published a post about ActiveHelper \[1\] , a framework I released earlier this week to clean- up helpers and put them back to classes using delegation and inheritance. The post …

---

## [Attachment\_fu DEPRECATION WARNING: ActiveRecord::Errors.defa](https://www.ruby-forum.com/t/attachment-fu-deprecation-warning-activerecord-errors-defa/186182)

<div class="topic-metadata">

**Author:** [@simonr](https://www.ruby-forum.com/u/simonr)\
**Replies:** 0\
**Last updated:** [April 1, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/attachment-fu-deprecation-warning-activerecord-errors-defa/186182 "2010-04-01T19:06:58Z")

</div>

I’m using the attachment\_fu plugin to upload large files. I’m using the latest version and I’m running it under Rails 2.3.5. My file upload doesn’t work and I get this error in the log: DEPRECATION WARNING: ActiveRec…

---

## [Jobs - 3 to 4 Developers](https://www.ruby-forum.com/t/jobs-3-to-4-developers/186156)

<div class="topic-metadata">

**Author:** [@Jason\_Vaz](https://www.ruby-forum.com/u/Jason_Vaz)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 7:06pm UTC](https://www.ruby-forum.com/t/jobs-3-to-4-developers/186156 "2010-04-01T19:06:33Z")

</div>

I am looking for Ruby on Rails developers for web and mobile applications. I ideally require 3 to 4 developers immediately for a company in downtown Toronto. Here is the job description, please email if you are intres…

---

## [Rails form partial help - nested resource](https://www.ruby-forum.com/t/rails-form-partial-help-nested-resource/186169)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 6:39pm UTC](https://www.ruby-forum.com/t/rails-form-partial-help-nested-resource/186169 "2010-04-01T18:39:00Z")

</div>

Hi all, I apologize for the funky subject of this post. I have a partial I created while recreating a railscasts example (nested resources part 2 - #197 Nested Model Form Part 2 - RailsCasts) and I’ve come to a halt…

---

## [Paper clip plugin error](https://www.ruby-forum.com/t/paper-clip-plugin-error/186161)

<div class="topic-metadata">

**Author:** [@rahul\_m](https://www.ruby-forum.com/u/rahul_m)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 5:20pm UTC](https://www.ruby-forum.com/t/paper-clip-plugin-error/186161 "2010-04-01T17:20:01Z")

</div>

coming this error in my paper clilp plugin m getting this error \* Photo C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ hrithik\_roshan1,3756,1.jpg is not recognized by the ‘identify’ command. \* Photo C:/DOCUME~1/ADMINI~1/LOCALS~…

---

## [Newbie seeking advice on DRYing up my model validations](https://www.ruby-forum.com/t/newbie-seeking-advice-on-drying-up-my-model-validations/186166)

<div class="topic-metadata">

**Author:** [@grar](https://www.ruby-forum.com/u/grar)\
**Replies:** 3\
**Last updated:** [April 1, 2010, 5:11pm UTC](https://www.ruby-forum.com/t/newbie-seeking-advice-on-drying-up-my-model-validations/186166 "2010-04-01T17:11:14Z")

</div>

Hi, Despite close reading of Matz’s Ruby book and Agile Web Dev. w. Rails, I can’t figure out how to tackle the challenge of sharing validation code across models with attributes in common. In each of my models I’d …

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

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