# Rails

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

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

---

## [Templates in rails](https://www.ruby-forum.com/t/templates-in-rails/118156)

<div class="topic-metadata">

**Author:** [@meerkalim](https://www.ruby-forum.com/u/meerkalim)\
**Replies:** 5\
**Last updated:** [October 24, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/templates-in-rails/118156 "2007-10-24T21:59:46Z")

</div>

Hi, I need to create the templates for ROR project , i dont know how to create the tempaltes in rails. can any one help me my giving the clear picture of how to write the templates with examples Thanks& …

---

## [Does anybody out there know rails internals?](https://www.ruby-forum.com/t/does-anybody-out-there-know-rails-internals/118184)

<div class="topic-metadata">

**Author:** [@gonesail](https://www.ruby-forum.com/u/gonesail)\
**Replies:** 5\
**Last updated:** [October 24, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/does-anybody-out-there-know-rails-internals/118184 "2007-10-24T21:49:49Z")

</div>

i need to call a sweeper directly from a model to expire cache (the sweeper is observing the model as usual). why is this not documented? seems like something that everybody would need to know!!

---

## [Bizarre log file permissions](https://www.ruby-forum.com/t/bizarre-log-file-permissions/118216)

<div class="topic-metadata">

**Author:** [@nobrow](https://www.ruby-forum.com/u/nobrow)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/bizarre-log-file-permissions/118216 "2007-10-24T21:49:49Z")

</div>

When I create a new app with the rails command, it creates a log directory. You must chmod that to 666 according to the error message I get whenever anything (like script/generate) tries to log a message. Fine … … Bu…

---

## [Should I include plugins in my SVN?](https://www.ruby-forum.com/t/should-i-include-plugins-in-my-svn/118210)

<div class="topic-metadata">

**Author:** [@silvertab](https://www.ruby-forum.com/u/silvertab)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/should-i-include-plugins-in-my-svn/118210 "2007-10-24T21:45:08Z")

</div>

Just a simple deployment question… would it be a better idea to include the plugins I install in my project’s SVN repository? Or should I ditch them and re-install them in my production environment? Personally I thoug…

---

## [Error](https://www.ruby-forum.com/t/error/118213)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/error/118213 "2007-10-24T21:10:42Z")

</div>

This is interesting. Aptana has been crashing on me all day and now I get this weird error message - not sure if they are related, but here is the error message: Errno::EINVAL in Admin#login\_form The funny thing is t…

---

## [Acts\_as\_conference keynoters announced!](https://www.ruby-forum.com/t/acts-as-conference-keynoters-announced/118214)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/acts-as-conference-keynoters-announced/118214 "2007-10-24T20:56:34Z")

</div>

acts\_as\_conference is happy to announce our keynoters - Dan Benjamin and Obie F.! You can read all about the exciting keynoters at the acts\_as\_conference site: Dan Benjamin: http://actsasconference.com/speakers/dan-be…

---

## [WYSIWYG Editors](https://www.ruby-forum.com/t/wysiwyg-editors/118196)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [October 24, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/wysiwyg-editors/118196 "2007-10-24T20:55:59Z")

</div>

Hey all, Has anyone any thought on WYSIWYG editors? I have my own opinion, and it ain’t all that positive, nevertheless, I am working on a small blog site and the client wishes to have a WYSIWYG editor? Is there a d…

---

## [Using query\_trace](https://www.ruby-forum.com/t/using-query-trace/118211)

<div class="topic-metadata">

**Author:** [@d2kagw](https://www.ruby-forum.com/u/d2kagw)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/using-query-trace/118211 "2007-10-24T20:53:38Z")

</div>

I’m having trouble figuring out how to run query\_trace. I was told I could run it through cygwin but I can’t start my mongrel server using cygwin (throws errors). Any help would be useful.

---

## [Best practice on global settings](https://www.ruby-forum.com/t/best-practice-on-global-settings/118161)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 9\
**Last updated:** [October 24, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/best-practice-on-global-settings/118161 "2007-10-24T20:47:47Z")

</div>

I have a Rails site that needs to have global access to some settings which I would like to set in a separate file, e.g. the location of a companion server. I have done this in a couple of ways but none of them seems …

---

## [Script/console Problem in RadRails](https://www.ruby-forum.com/t/script-console-problem-in-radrails/118202)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/script-console-problem-in-radrails/118202 "2007-10-24T19:35:56Z")

</div>

Also, ich kann nicht script/console aufrufen! Ich kriege immer dieselbe Nachricht: Loading development environment. Der Befehl “irb.bat” ist entweder falsch geschrieben oder konnte nicht gefunden werden. Was habe ic…

---

## [Apache not Interpreting Ruby or Something](https://www.ruby-forum.com/t/apache-not-interpreting-ruby-or-something/118195)

<div class="topic-metadata">

**Author:** [@nobrow](https://www.ruby-forum.com/u/nobrow)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 6:49pm UTC](https://www.ruby-forum.com/t/apache-not-interpreting-ruby-or-something/118195 "2007-10-24T18:49:16Z")

</div>

I am trying to get Ruby/Rails working with Apache. I have mod\_ruby installed and loaded and fcgi set up (according to http://www.tummy.com/Community/Articles/rails-fcgi/), but when I try an Hello World in Rails it jus…

---

## [How to limit Amazon S3 access to my app's pages only (i.e. no hot-linking)?](https://www.ruby-forum.com/t/how-to-limit-amazon-s3-access-to-my-apps-pages-only-i-e-no-hot-linking/118124)

<div class="topic-metadata">

**Author:** [@rohit](https://www.ruby-forum.com/u/rohit)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/how-to-limit-amazon-s3-access-to-my-apps-pages-only-i-e-no-hot-linking/118124 "2007-10-24T18:48:40Z")

</div>

Hey there, I want to stream my app’s media from Amazon S3. I’ve gotten the basics down, having uploaded files, set their permissions for public access, and now can use their S3 URLs wherever I need them. My question…

---

## [Please provide any src for RoR sample application](https://www.ruby-forum.com/t/please-provide-any-src-for-ror-sample-application/118192)

<div class="topic-metadata">

**Author:** [@raghu](https://www.ruby-forum.com/u/raghu)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/please-provide-any-src-for-ror-sample-application/118192 "2007-10-24T17:41:55Z")

</div>

Hi Rubies, Please share some src for sample applications …so that it wil be usefull to understand by running and reading it… Thanks Raghu…

---

## ["permission deinied" when installing Rails on OS/X](https://www.ruby-forum.com/t/permission-deinied-when-installing-rails-on-os-x/118180)

<div class="topic-metadata">

**Author:** [@ronny](https://www.ruby-forum.com/u/ronny)\
**Replies:** 6\
**Last updated:** [October 24, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/permission-deinied-when-installing-rails-on-os-x/118180 "2007-10-24T17:16:15Z")

</div>

When I do a gem install -r rails --include-dependencies it works fine on Linux, but when I do it from a OS/X bash shell, I get the error message Permission denied - /usr/local/lib/ruby/gems/1.8/cache/ activesupport-…

---

## [Simple\_captcha + model](https://www.ruby-forum.com/t/simple-captcha-model/118148)

<div class="topic-metadata">

**Author:** [@Bala](https://www.ruby-forum.com/u/Bala)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/simple-captcha-model/118148 "2007-10-24T16:50:56Z")

</div>

Hi Experts, l have model called User class User \< ActiveRecord::Base apply\_simple\_captcha end in view \<%= show\_simple\_captcha(:object=\>“user”) %\> in controller @user = User.fiind(params\[:id\]) if @user.valid\_with…

---

## [IPv6 and Ruby on Rails](https://www.ruby-forum.com/t/ipv6-and-ruby-on-rails/118084)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 2\
**Last updated:** [October 24, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/ipv6-and-ruby-on-rails/118084 "2007-10-24T16:48:01Z")

</div>

So… how many things will break if I enable IPv6 on my web server? I assume Mongrel cannot handle IPv6 yet? What about Ruby’s CGI library? I’m worried things like request\_ip are quite likely IPv4 specific somewhere …

---

## [Responds\_to\_parent plug-in](https://www.ruby-forum.com/t/responds-to-parent-plug-in/118185)

<div class="topic-metadata">

**Author:** [@gblasko](https://www.ruby-forum.com/u/gblasko)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/responds-to-parent-plug-in/118185 "2007-10-24T16:42:44Z")

</div>

Would anyone happen to have the responds\_to\_parent plug-in by Sean Treadway? I’m looking for a copy of it, however his site seems to be down and has been down for the last week or so. Did some searching and found rev…

---

## [Rubyonrails.org webmaster](https://www.ruby-forum.com/t/rubyonrails-org-webmaster/118183)

<div class="topic-metadata">

**Author:** [@ronny](https://www.ruby-forum.com/u/ronny)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/rubyonrails-org-webmaster/118183 "2007-10-24T16:26:18Z")

</div>

Does someone know how to reach the webmaster for the pages at http://rubyonrails.org/ ? There is no contact address on that page, and mail sent to removed\_email\_address@domain.invalid bounces. Ronald

---

## [Attachment\_fu and observers/emailing](https://www.ruby-forum.com/t/attachment-fu-and-observers-emailing/118176)

<div class="topic-metadata">

**Author:** [@welly](https://www.ruby-forum.com/u/welly)\
**Replies:** 1\
**Last updated:** [October 24, 2007, 4:19pm UTC](https://www.ruby-forum.com/t/attachment-fu-and-observers-emailing/118176 "2007-10-24T16:19:16Z")

</div>

Hi all, I’m developing a site where a user can upload their CV/resume with a profile, and am using restful\_authentication for this with attachment\_fu to handle the file uploading. When a user creates their profile/us…

---

## [Memory issue](https://www.ruby-forum.com/t/memory-issue/118160)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 7\
**Last updated:** [October 24, 2007, 3:52pm UTC](https://www.ruby-forum.com/t/memory-issue/118160 "2007-10-24T15:52:33Z")

</div>

I just updated a ruby on rails application from rails 1.1.0 to 1.2.x and got into the following problem: The lighttpd memory footprint rised from 23Mb(already not loading actionmailer and actionwebservice) to 27Mb and…

---

## [Should Finds be in the controller or the model? (slimming fat controllers)](https://www.ruby-forum.com/t/should-finds-be-in-the-controller-or-the-model-slimming-fat-controllers/118104)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 5\
**Last updated:** [October 24, 2007, 3:37pm UTC](https://www.ruby-forum.com/t/should-finds-be-in-the-controller-or-the-model-slimming-fat-controllers/118104 "2007-10-24T15:37:42Z")

</div>

I’m building an app that you log into, and when you are logged in you should only see your data. Therefore I have a lot of instance variables that are dependent on a session value to pull your data into a view. Of cou…

---

## [Looking to hire Ruby on Rails programmer](https://www.ruby-forum.com/t/looking-to-hire-ruby-on-rails-programmer/118116)

<div class="topic-metadata">

**Author:** [@bentrrgse](https://www.ruby-forum.com/u/bentrrgse)\
**Replies:** 6\
**Last updated:** [October 24, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/looking-to-hire-ruby-on-rails-programmer/118116 "2007-10-24T15:30:06Z")

</div>

Looking for a experienced Ruby on Rails programmer to develop a full system for a website. We can talk over the phone, email, AIM, etc. or even in person (if you are in Central Florida). Email me at removed\_email\_add…

---

## [Ruby on Rails Developer Needed ASAP](https://www.ruby-forum.com/t/ruby-on-rails-developer-needed-asap/118178)

<div class="topic-metadata">

**Author:** [@nicolsno](https://www.ruby-forum.com/u/nicolsno)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-needed-asap/118178 "2007-10-24T14:54:59Z")

</div>

Hi All, I just came across this forum - I need to find a RoR developer in short order to work a 1 month contract in Northern California. The company is a successful start-up going through a growth phase. Will pay mar…

---

## [STI vs CTI vs something else?](https://www.ruby-forum.com/t/sti-vs-cti-vs-something-else/118175)

<div class="topic-metadata">

**Author:** [@bartz](https://www.ruby-forum.com/u/bartz)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/sti-vs-cti-vs-something-else/118175 "2007-10-24T14:11:45Z")

</div>

Hey gang, I have these classes: class Image \< UploadFile validates\_file\_format\_of :filename, :in =\> \[“gif”, “png”, “jpg”\] end class UploadFile \< PropertyItem file\_column :filename validates\_presence\_of :filename …

---

## [Railscast 73 doesn't work. Is this an edge problem or am I missing something?](https://www.ruby-forum.com/t/railscast-73-doesnt-work-is-this-an-edge-problem-or-am-i-missing-something/118172)

<div class="topic-metadata">

**Author:** [@gavin](https://www.ruby-forum.com/u/gavin)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/railscast-73-doesnt-work-is-this-an-edge-problem-or-am-i-missing-something/118172 "2007-10-24T14:07:30Z")

</div>

Episode 73 of Ryan Bate’s great series of screencasts shows an example of using fields\_for to create a new record containing two models. I’m trying to repeat his result but alway get and error from this line: \<% fiel…

---

## [Sweeper for few models](https://www.ruby-forum.com/t/sweeper-for-few-models/118171)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 2:04pm UTC](https://www.ruby-forum.com/t/sweeper-for-few-models/118171 "2007-10-24T14:04:35Z")

</div>

For example - i have a sweeper for one model(in this case About). class AboutSweeper \< ActionController::Caching::Sweeper observe About def after\_create(data) expire\_about(data) end def after\_save(data) expire\_ab…

---

## [Rails custom layouts](https://www.ruby-forum.com/t/rails-custom-layouts/118167)

<div class="topic-metadata">

**Author:** [@meerkalim](https://www.ruby-forum.com/u/meerkalim)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 1:46pm UTC](https://www.ruby-forum.com/t/rails-custom-layouts/118167 "2007-10-24T13:46:25Z")

</div>

Hi can any body give me the use of layouts(app/views/layouts) and i need to write some custom layouts for ralis projects can u plz suggest me for the same and give me samples, regards meer

---

## [Validates\_confirmation\_of not working](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/118159)

<div class="topic-metadata">

**Author:** [@GPB](https://www.ruby-forum.com/u/GPB)\
**Replies:** 8\
**Last updated:** [October 24, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/validates-confirmation-of-not-working/118159 "2007-10-24T13:27:46Z")

</div>

Hello to everyone, Well, very frustrated with this one because I am following the example straight from the documentation and it is not working. First when I try: validates\_confirmation\_of :password, :on =\> :password…

---

## [Bundles and Tags](https://www.ruby-forum.com/t/bundles-and-tags/118165)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 0\
**Last updated:** [October 24, 2007, 1:26pm UTC](https://www.ruby-forum.com/t/bundles-and-tags/118165 "2007-10-24T13:26:01Z")

</div>

Hello All, can any body suggest me how to use Tags and bundles. MY requirement goes like this I have to create new tags and have to add subtags to the tags. Then i need to group these sub tags with the tag head and…

---

## [Relationship between tables](https://www.ruby-forum.com/t/relationship-between-tables/118153)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 6\
**Last updated:** [October 24, 2007, 12:11pm UTC](https://www.ruby-forum.com/t/relationship-between-tables/118153 "2007-10-24T12:11:53Z")

</div>

Hi, I have a users table(below) and now i want to create a new table “occupation” so the users can fill in there occupation and store it in the occupation-table. Question: how can i realize a realionship between the …

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

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