search for: create_data

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

Did you mean: create_date
2012 Nov 23
3
how to query yaml file with hiera function.
Hi guys, i have a hiera.yaml config file like this: --- :hierarchy: - %{env}/%{tmp_module_name} - %{env}/%{tmp_module_name}.common :backends: - yaml :yaml: :datadir: ''/etc/puppet/hieradata'' I also have a test/some_module.yaml file like this: --- db: root : pass port : ''3306'' I am also using the hiera function
2006 Mar 29
2
save related models from one form
...tiveRecord::StatementInvalid ...Column ''customer_id'' cannot be null: INSERT INTO identities... The controller action looks like this. I guess the code inside the transaction block contains errors... however I would need some help in finding out whats wrong. Please help me! def create_data @customer = Customer.new @identity = Identity.new @person = Person.new @identity.customer = @customer @person.identity = @identity if request.post? @pwdmismatch = false @customer.attributes = params[:customer] @id...