search for: eov

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

Did you mean: eof
2006 Jan 23
2
where are those defined?
Hi guys, anyone knows where are the get / put method you use in functional controllers test defined? I mean, grep cannot find them :-( I basically need the documentation for put. Thanks Duncan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060123/810be962/attachment.html
2006 May 31
1
Help enhancing acts_as_nested_set
...o this forum. def acts_as_nested_set(options = {}) configuration = { :parent_column => "parent_id", :left_column => "lft", :right_column => "rgt"} configuration.update(options) if options.is_a?(Hash) class_eval <<-EOV include ActiveRecord::Acts::NestedSet::InstanceMethods def self.left_col_name() "#{configuration[:left_column]}" end def left_col_name() "#{configuration[:left_column]}" end def self.right_col_name() "#{configuration[:right_c...
2006 Feb 01
4
exclude a column in save!
Hi all, I have a column that peeks its value from a sequence (postgres) some times. Other times, I set it to a certain value. This column has a default value of "nextval(''the_sequence'')"... When I want that this column peeks the value from the sequence, I do this: obj = Mymodel.new obj.some_column1 = blah obj.some_column2 = blah obj.some_column3 = blah obj.save! but
2006 Mar 29
2
inserts now set unset columns to null
Hi, I upgraded to Ruby 1.8.4 and whatever the latest Rails is as of March 29 2006. I am using PostgreSQL 7.4. With the earlier version of rails, I had insert queries that looked like this: Topic Create (0.001189) INSERT INTO topics ("inlibrary", "irx_display_title", "irx_title", "title", "creation_stamp", "last_update_stamp",
2006 Mar 25
6
Where''s the doc for get(), post(), put(), delete() & head()?
These HTTP Request methods are used for testing. They are discussed in the testing chapter of the Agile Web Development with Rails book, as well as in http://manuals.rubyonrails.com/read/chapter/28#page72 "A Guide to Testing the Rails". I want to set the encoding to multipart for a test I''m writing, but I can''t find any documentation to show me how. Pointing me