Displaying 2 results from an estimated 2 matches for "approuv".
Did you mean:
approuve
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 :ac...
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]...