search for: approuved

Displaying 2 results from an estimated 2 matches for "approuved".

2013 Mar 26
0
nested forms: use validate :some_method works in update mode only
...es to catch the error even after modifying the needed attribute value to make it pass. Here is the model: #timesheet.rb class Timesheet < ActiveRecord::Base attr_accessible :status, :user_id, :start_date, :end_date, :activities_attributes SUBMITTED = ''Submitted'' APPROUVED = ''Approuved'' REJECTED = ''Rejected'' STATUS_VALUES = [SUBMITTED, APPROUVED, REJECTED] belongs_to :user has_many :activities, dependent: :destroy, inverse_of: :timesheet has_many :time_entries, through: :activities accepts_nested_attributes_for :acti...
2000 Jun 16
0
Any suggestion?
Hi, In R-Notes there is the open.account example which is partly kind of what I'd like to do. I would like to add the following properties or capabilities: - I'd like to add persistence to the object. - I'd like to keep an history of all operation done on an account. - I'd like to add the possibility of transfer between accounts and apply the concept of transactions.