search for: rails4days

Displaying 8 results from an estimated 8 matches for "rails4days".

2006 Mar 14
3
Can anybody tell me step by step how validate data on form?
Hi, I am new to ROR. I have created a form with foru fields in ROR. Now its working fine for all CRUD operations. But I want to validate data on form for "validates_presence_of" validation. How to do this? I tried it by putting line "validates_presence_of :description" . But its not working. Its throws error like "undefined method `each'' for
2007 Jun 26
1
can't activate activesupport (= 1.0.4), already activated...
I''m encountering a problem when trying to go through the Rails4Days tutorial: http://www.rails4days.pwp.blueyonder.co.uk/Rails4Days.pdf. As the guide suggests I have downloaded the version of rails that is being used in the tutorial with gem and have specified the versions in /config/environment.rb: # Include your application configuration below # Require Rails li...
2005 Dec 26
4
Books for Beginners
I have experience in PHP/MySQL, but absolutely no experience at all in Ruby (and Rails) and would love to get a few quality books aimed at absolutley newbies. Any suggestions? Thanks, Jim -- Posted via http://www.ruby-forum.com/.
2006 May 03
1
RoR go Live?
I am having a problem trying to use RoR live. I have a Win XP SP1 OS, Apache 2.0.55, MySQL 5.0.15-nt ruby 1.8.2, rails 1.0.0, gem 0.8.10, WEBrick 1.3.1 Is it possible to run RoR using these components, live? Using an actual domain name like www.joe.com/rails/app? Instead of using localhost:3000? I would like to go live using either just Apache or Apache and WEBrick for RoR. I have an actual
2006 Feb 26
5
Subversion | CVS | Sourceforge | OS X : Tutorials
Can anyone suggest some step-by-step tutorials for using CVS or Subversion on Sourceforge with OS X ? I''m a new to RoR and creating a Sourceforge project was recommended as a way of working and learning from/with others. But I can''t get over the hurdle of transferring what I''ve already build to csv.sourceforge or subversion.sourceforge. All my attempts generate
2005 Apr 27
2
noob question: rhtml new/edit views and the date functionality
Hello All, I''ve been playing with Rails - did the recipe/category sample from onLamp.com - fairly straight forward - even got it working against postgres. Anyway, I''ve been appling rails to a small test project and I can''t seem to get the syntax down or find a sample of how to use the date control on a custom new/edit view. The CRUD (is that right?) that automatically
2006 May 09
6
Still Stumbled on First things in trying RubyOnRails
Still Stumbled on First things in trying RubyOnRails http://www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html http://instantrails.rubyforge.org/tutorial/index.html http://rails.homelinux.org/ I had tried the first of the top 12 tutorials and got stuck after adding a new field ?category_id?in the table recipes,
2006 Mar 16
32
iterating a partial with :collection
following AWDWR book - ''Partials and Collections'' (rather sparse info there too) and I might add that the wiki page on this topic is entirely devoid of any info...be that as it may... I have hash of several arrays that I want to iterate though and display. the first hashed element looks like this (greatly simplified) - :facility: !ruby/object:Facility attributes: