search for: railswiki

Displaying 5 results from an estimated 5 matches for "railswiki".

2006 Mar 23
5
Custom date format
Hi, I''ve followed these directions : http://railswiki.pdxruby.org/HowToDefineYourOwnDateFormat.html It seems pretty straightforward but obviously it doesn''t work for me... article.date_edited.to_formatted_s(:my_format_1) produce a default formatted date, not the one I''ve defined in environment.rb : ActiveSupport::CoreExtensions::D...
2006 Jan 11
6
Output non-HTML (CSV) from Rails
Hi, I want to offer a CSV download of data in my Rails app (eg. An "Export to Excel" link to grab the current view of tabulated data). However, I can''t seem to break-out of the Rails framework to output this non-HTML data. Even if I eliminate my layout template from my view, the most basic view (no HTML) will still wrap the output in
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably get less than 100 hits per hour. I just looked in /tmp on the server and there are over 10,000 ruby_sess.* temp files containing: " hash{" flashIC:''ActionController::Flash::FlashHash{: @used{ They''ve piled up so much that I can''t even rm -f ruby*. Bash complains
2006 May 05
1
Agile Rails (1st edition), depot TDD "exercise"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I''ve been working my way through the Agile book and just completed the depot sample application. I learned quite a bit along the way. On page 171 we are led through the creation of a test (that fails) for new code. The new code (a search function) is left as an exercise for the reader. Well, I think I solved it but I''m not
2008 Apr 04
2
can't install rails. gem zlib crc error
hi all i''m trying to install ruby on rails on my debian server. i didn''t use apt-get. i installed everything from source. i used this tutorial (without PD-Admin): http://railswiki.de/Ruby_on_Rails_auf_einem_Debian_Server_installieren now i can''t install rails over gem, i''m getting this zlib crc error: root@co2:~# gem install rails --include-dependencies --verbose -- backtrace INFO: `gem install -y` is now default and will be removed INFO: use --ignore-d...