Displaying 4 results from an estimated 4 matches for "herryanto".
2007 Apr 26
8
Win32 service - Errno::EINVAL (Invalid argument) when uploading image file
...39;'m getting the same error
message
Service console command:
-----------------------
> mongrel console single -e production -p 4000 -l -c "D:/rubywork/[appname]"
No error message shown on the console, log/mongrel.log file was not there as
well.
Thanks in advance.
Sincerely,
Herryanto Siatono
2006 Mar 31
13
validation with in_place_edit_for
i''ve got an in place edit text box for some of my fields. my model has
validates_presence_of for the field but nothing happens. it works fine
in the scaffold when using the edit page, but nowhere else.
anyone have a solution to this?
--
Posted via http://www.ruby-forum.com/.
2006 Jun 02
6
overriding constants
Hi there,
I''m trying to override the defaults for form_helper.
I can see in action_view/helpers/form_helper.rb:
class InstanceTag #:nodoc:
include Helpers::TagHelper
attr_reader :method_name, :object_name
DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze unless const_defined?(:DEFAULT_FIELD_OPTIONS)
DEFAULT_RADIO_OPTIONS = { }.freeze
2006 Jul 12
0
Parent Child - Transaction Issue
Hi guys,
I was trying to create a record in both the parent and child tables (1 to 1
relationship). By default when you call parent.save it''s not invoked in a
transaction mode, and I''m trying to avoid parent record is created without
the child record (due to validation error in child).
I wanted to save both parent and child in transaction mode:
parent = Parent.new
child =