# Rails

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

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

---

## [Configuring routes](https://www.ruby-forum.com/t/configuring-routes/132915)

<div class="topic-metadata">

**Author:** [@KoPoS](https://www.ruby-forum.com/u/KoPoS)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 5:51am UTC](https://www.ruby-forum.com/t/configuring-routes/132915 "2008-03-26T05:51:42Z")

</div>

Hi RoR gurus, For my project, I have been trying to create the resources with the following urls: hxxp://domain/projects/active \[for active projects\] hxxp://domain/projects/archived \[for archived projects\] Subsequen…

---

## [Weird error message](https://www.ruby-forum.com/t/weird-error-message/132811)

<div class="topic-metadata">

**Author:** [@jfaulkenberry](https://www.ruby-forum.com/u/jfaulkenberry)\
**Replies:** 6\
**Last updated:** [March 26, 2008, 4:49am UTC](https://www.ruby-forum.com/t/weird-error-message/132811 "2008-03-26T04:49:35Z")

</div>

Hi, as I add more and more tests I sometimes get this error: Expected response to be a \<:success\>, but was \<0\> I’m a little lost as to what it means… no response? error? But it seems to come and go as I change code. I…

---

## [About action create](https://www.ruby-forum.com/t/about-action-create/132859)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 4:39am UTC](https://www.ruby-forum.com/t/about-action-create/132859 "2008-03-26T04:39:01Z")

</div>

there i hava a model named Person the controller is People in the new.html.erb file function form\_for(@person) make the start form tag #@person=Person.new i think it’ll call “create” action in PeopleController when …

---

## [Jmaki is good for rails?](https://www.ruby-forum.com/t/jmaki-is-good-for-rails/132955)

<div class="topic-metadata">

**Author:** [@SS\_SSSSS\_SSSSSSSSSS](https://www.ruby-forum.com/u/SS_SSSSS_SSSSSSSSSS)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 4:00am UTC](https://www.ruby-forum.com/t/jmaki-is-good-for-rails/132955 "2008-03-26T04:00:12Z")

</div>

hello , i want make me app more stronger,so i want use ajax with rails then i find jmaki , i have try it today,but it’s good for ror? if not wicth did i choose?

---

## [Memcached current\_user](https://www.ruby-forum.com/t/memcached-current-user/132953)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 0\
**Last updated:** [March 26, 2008, 3:10am UTC](https://www.ruby-forum.com/t/memcached-current-user/132953 "2008-03-26T03:10:31Z")

</div>

Has anyone tried this approach? Does it work? http://www.frederico-araujo.com/2007/12/13/make-your-rails-app-faster-with-memcached-part-1 Thanks. GP

---

## [GIT Procedure with Rails](https://www.ruby-forum.com/t/git-procedure-with-rails/132945)

<div class="topic-metadata">

**Author:** [@karlshea](https://www.ruby-forum.com/u/karlshea)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 2:42am UTC](https://www.ruby-forum.com/t/git-procedure-with-rails/132945 "2008-03-26T02:42:09Z")

</div>

Just started a new project and I’ve decided to give GIT a whirl to see if I like it. The first thing that has me stumbling a little is the best way to add files to a git repository when you generate a new model/scaffo…

---

## [ActionController::NotImplemented (Only requests are allowed.)](https://www.ruby-forum.com/t/actioncontroller-notimplemented-only-requests-are-allowed/131584)

<div class="topic-metadata">

**Author:** [@csvy](https://www.ruby-forum.com/u/csvy)\
**Replies:** 3\
**Last updated:** [March 26, 2008, 1:40am UTC](https://www.ruby-forum.com/t/actioncontroller-notimplemented-only-requests-are-allowed/131584 "2008-03-26T01:40:46Z")

</div>

We have a bunch of strange entries in our error log, and don’t know exactly what they mean: The errors are as follows ActionController::NotImplemented (Only requests are allowed.): /usr/lib/ruby/gems/1.8/gems/action…

---

## [Offloading big uploads to front-end webserver](https://www.ruby-forum.com/t/offloading-big-uploads-to-front-end-webserver/132936)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 12:35am UTC](https://www.ruby-forum.com/t/offloading-big-uploads-to-front-end-webserver/132936 "2008-03-26T00:35:59Z")

</div>

I’m doing a website which has quite a few big uploads / downloads to manage. Since rails isn’t multithreaded (yet), this means every big upload/ download will keep a mongrel/thin/whatever thread for itself doing noth…

---

## [Affiliate system in RoR](https://www.ruby-forum.com/t/affiliate-system-in-ror/132893)

<div class="topic-metadata">

**Author:** [@remco123](https://www.ruby-forum.com/u/remco123)\
**Replies:** 1\
**Last updated:** [March 26, 2008, 12:10am UTC](https://www.ruby-forum.com/t/affiliate-system-in-ror/132893 "2008-03-26T00:10:12Z")

</div>

Hi, I am looking for an Affiliate management system that allow to manage affiliates and generate reports and written in the RoR (GPL-license) Someone ideas/solutions ? remco

---

## [Creating a Controller](https://www.ruby-forum.com/t/creating-a-controller/132943)

<div class="topic-metadata">

**Author:** [@cz231](https://www.ruby-forum.com/u/cz231)\
**Replies:** 4\
**Last updated:** [March 26, 2008, 12:00am UTC](https://www.ruby-forum.com/t/creating-a-controller/132943 "2008-03-26T00:00:13Z")

</div>

Hi, I’m new to ruby on rails, but let me let you know, I’m very excited about learning it. Anyway, I’m trying to create a controller through the console but something makes it not work. I am running windows vista and…

---

## [How can I do that in one line?](https://www.ruby-forum.com/t/how-can-i-do-that-in-one-line/132938)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/how-can-i-do-that-in-one-line/132938 "2008-03-25T23:37:19Z")

</div>

I have a select list with this code: \<% @products.each do |product| %\> \> \<%= product.name%\> \<% end %\> In this select list the user can see the product names. I think it is possible …

---

## [ActionMailer and Sender validation frameworks ( DKIM or SPF )](https://www.ruby-forum.com/t/actionmailer-and-sender-validation-frameworks-dkim-or-spf/132941)

<div class="topic-metadata">

**Author:** [@Steven\_GSHarms](https://www.ruby-forum.com/u/Steven_GSHarms)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 11:36pm UTC](https://www.ruby-forum.com/t/actionmailer-and-sender-validation-frameworks-dkim-or-spf/132941 "2008-03-25T23:36:43Z")

</div>

What’s the directors’ take on ading DKIM or SPF functionality into ActionMailer. Is that a function that is better addressed via a plugin, or would an extension or a monkeypatch of this class be an appropriate avenue…

---

## [ActionMailer: attachments with utf8 filenames?](https://www.ruby-forum.com/t/actionmailer-attachments-with-utf8-filenames/132935)

<div class="topic-metadata">

**Author:** [@P\_Kim](https://www.ruby-forum.com/u/P_Kim)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/actionmailer-attachments-with-utf8-filenames/132935 "2008-03-25T22:28:17Z")

</div>

I’m constructing messages with a file attachment. If the file attachment has a name with accented characters, it gets mangled. Looking at the generated email, at times it looks like it’s being encoded as Japanese (\*=i…

---

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

<div class="topic-metadata">

**Author:** [@sineserz](https://www.ruby-forum.com/u/sineserz)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/backgroundrb/132851 "2008-03-25T22:26:31Z")

</div>

hi, i want to upload and convert video using backgroundrb. In my case everything is fine, but i dont understand why my controller is waiting for worker to be done? if i use this method success = system("#{FFMPEG} -i…

---

## [Building a sample RoR application: WebOfContacts](https://www.ruby-forum.com/t/building-a-sample-ror-application-webofcontacts/132934)

<div class="topic-metadata">

**Author:** [@noagenda](https://www.ruby-forum.com/u/noagenda)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/building-a-sample-ror-application-webofcontacts/132934 "2008-03-25T22:08:27Z")

</div>

Hello, I’ve described the process of building a sample web application in Rails 2. Although not quite detailed enough to be considered a tutorial, it should be a useful supplement to other tutorials, with notes on …

---

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

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 3\
**Last updated:** [March 25, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/rss-feed-blog/132926 "2008-03-25T22:01:13Z")

</div>

I am trying to pull in the 5 latest blog post into my website. Are there any easy ways to do this?

---

## [Global back link](https://www.ruby-forum.com/t/global-back-link/132905)

<div class="topic-metadata">

**Author:** [@veyron](https://www.ruby-forum.com/u/veyron)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 9:57pm UTC](https://www.ruby-forum.com/t/global-back-link/132905 "2008-03-25T21:57:07Z")

</div>

One thing I’ve encountered a lot within application development is the need for a global “back link”. Yes, I know you can use javascript, but I am looking for a more elegant approach… accomplished using the rails fra…

---

## [Will\_paginate](https://www.ruby-forum.com/t/will-paginate/132882)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 9:49pm UTC](https://www.ruby-forum.com/t/will-paginate/132882 "2008-03-25T21:49:41Z")

</div>

hi at all I installed the plugin will\_paginate successfully and now I’ll use it. But I’ve a problem. I wrote a method search and this method return an array of products. The search method is special and not an easy fi…

---

## [Visual\_effect :highlight translucent?](https://www.ruby-forum.com/t/visual-effect-highlight-translucent/132927)

<div class="topic-metadata">

**Author:** [@namealreadytaken](https://www.ruby-forum.com/u/namealreadytaken)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/visual-effect-highlight-translucent/132927 "2008-03-25T21:44:05Z")

</div>

Is there a way to get visual\_effect(:hightlight, …) to leave the background translucent but the foreground text opaque? The default case is to leave the background invisible (inherited or transparent, I suppose). F

---

## [Posting within an integration test with RoR 2](https://www.ruby-forum.com/t/posting-within-an-integration-test-with-ror-2/132916)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 1\
**Last updated:** [March 25, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/posting-within-an-integration-test-with-ror-2/132916 "2008-03-25T21:39:20Z")

</div>

When I am posting from within an Integration test, at /usr/lib/ruby/gems/1.8/actionpack-2.0.2/lib/action\_controller:parse\_formatted\_request\_parameters, I get the an exception (listed below) at line 374: 362 …

---

## [Problem updating select box from another windows](https://www.ruby-forum.com/t/problem-updating-select-box-from-another-windows/132925)

<div class="topic-metadata">

**Author:** [@jessruby](https://www.ruby-forum.com/u/jessruby)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/problem-updating-select-box-from-another-windows/132925 "2008-03-25T21:37:00Z")

</div>

Hi I have the following problem: I followed the screen cast to create complex forms from railscasts so i create a partial view for my equipments list, the client can add several different equipments that he select fro…

---

## [Facebook, Google Map, iframe?](https://www.ruby-forum.com/t/facebook-google-map-iframe/132720)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/facebook-google-map-iframe/132720 "2008-03-25T20:45:37Z")

</div>

Hello, I want to write an application for Facebook, which need to use Google maps. Also I want to use a standart forms for comments, invites, etc…, but as i know it’s imposible because if i want to use Google MAPs i …

---

## [Need help with datebalks plugin](https://www.ruby-forum.com/t/need-help-with-datebalks-plugin/132907)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 9\
**Last updated:** [March 25, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/need-help-with-datebalks-plugin/132907 "2008-03-25T20:45:34Z")

</div>

I am getting this error when using the datebalks plugin with a field\_text call: \<%= f.text\_field :effective\_from, :class =\> 'datebalks', :size =\> 12 -%\> NoMethodError in Cl…

---

## [User specifiy number of records returned](https://www.ruby-forum.com/t/user-specifiy-number-of-records-returned/132918)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 8:33pm UTC](https://www.ruby-forum.com/t/user-specifiy-number-of-records-returned/132918 "2008-03-25T20:33:27Z")

</div>

I’m sure this is obvious and I’m just over thinking it, but I’ve got a page that I’ve set up to return 25 records by default. How can I set this up so that a user can select more records to view using either a link\_t…

---

## [Help with CSS in application.html.erb](https://www.ruby-forum.com/t/help-with-css-in-application-html-erb/132816)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/help-with-css-in-application-html-erb/132816 "2008-03-25T20:20:42Z")

</div>

I have this code in application.html.erb: \<%= link\_to \_('Repair tickets'), repair\_tickets\_path%\> \<%= link\_to \_('Incidences'), incidences\_path%\> \<%= link\_to \_('Tickets'), tickets\_path%\> \<%= link\_to …

---

## [Page Display Error](https://www.ruby-forum.com/t/page-display-error/132917)

<div class="topic-metadata">

**Author:** [@shaiss](https://www.ruby-forum.com/u/shaiss)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 8:07pm UTC](https://www.ruby-forum.com/t/page-display-error/132917 "2008-03-25T20:07:53Z")

</div>

Hi Everyone, this is my first post. So I’ll try to be as detailed as possible. Dev Machine: OSX 10.5.2 Ruby: 1.8.6 (2007-09-24 patchlevel 111) \[universal-darwin9.0\] Rails: 2.0.2 Using MAMP 1.7.1 with the following …

---

## [Object not saving but no error message displayed](https://www.ruby-forum.com/t/object-not-saving-but-no-error-message-displayed/132911)

<div class="topic-metadata">

**Author:** [@drsharp](https://www.ruby-forum.com/u/drsharp)\
**Replies:** 3\
**Last updated:** [March 25, 2008, 8:01pm UTC](https://www.ruby-forum.com/t/object-not-saving-but-no-error-message-displayed/132911 "2008-03-25T20:01:08Z")

</div>

Hi. I have a form in my app which, for some reason is not saving any objects to the database. After clicking submit it redirects back to itself, but it dosent give any information as to what is going wrong. Here is …

---

## [I can not implement RoR](https://www.ruby-forum.com/t/i-can-not-implement-ror/132757)

<div class="topic-metadata">

**Author:** [@maxbohr](https://www.ruby-forum.com/u/maxbohr)\
**Replies:** 2\
**Last updated:** [March 25, 2008, 8:01pm UTC](https://www.ruby-forum.com/t/i-can-not-implement-ror/132757 "2008-03-25T20:01:06Z")

</div>

pcneuf:/home/mba/ror/ruby-1.8.6# gem install rails –include-dependencies DOESN’T WORK, I GET: /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in \`gem\_original\_require’: no such file to load – zlib (Lo…

---

## [Table headings in a partial template--possible? advisable?](https://www.ruby-forum.com/t/table-headings-in-a-partial-template-possible-advisable/132892)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 4\
**Last updated:** [March 25, 2008, 7:38pm UTC](https://www.ruby-forum.com/t/table-headings-in-a-partial-template-possible-advisable/132892 "2008-03-25T19:38:36Z")

</div>

Hey All, I’ve got 2 views that show a tabular listing of my Person objects (one for people/index, and one for organizations/show). Here’s what the organizations/show bit looks like: \<% if @organization.people.count \>…

---

## [Another try with a collect problem](https://www.ruby-forum.com/t/another-try-with-a-collect-problem/132913)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/another-try-with-a-collect-problem/132913 "2008-03-25T19:11:29Z")

</div>

Trying to figure out how to indicated ‘selected’ value in multi-valued collect… \<%= select ‘counseling\_note’, ‘fi\_facility\_id’, \[\[‘Select Facility’, ‘’ \] \] + @facilities.sort { |a,b| a.name \<=\> b.name }.collect { |fac…

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

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