Displaying 2 results from an estimated 2 matches for "approuve".
Did you mean:
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 :act...
2000 Jun 16
0
Any suggestion?
...approach this problem the wrong
way. I'm currently using R on a NT box but the reason I'd like to do this
using R is because this would enable me to do all the work I want using a
single software package (R) and eventually migrate all this under Linux
which I'm certain most of you will approuve.
So any suggestion would be greatly appreciated.
Thanks in advance.
Yves Gauvreau
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]s...