This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActionView::MissingTemplate (Missing template products/destroy, application/destroy with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: | |
* "/Users/egray/Documents/www/comprint/app/views" | |
): | |
actionpack (4.0.2) lib/action_view/path_set.rb:46:in `find' | |
actionpack (4.0.2) lib/action_view/lookup_context.rb:122:in `find' | |
actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' | |
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:35:in `determine_template' | |
actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:8:in `render' | |
actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template' | |
actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Property < ActiveRecord::Base | |
belongs_to :detail | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ChosenProperty < ActiveRecord::Base | |
has_and_belongs_to_many :job_values | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Job < ActiveRecord::Base | |
has_many :job_values | |
belongs_to :product | |
accepts_nested_attributes_for :job_values, reject_if: :all_blank, allow_destroy: true | |
end | |
class JobValue < ActiveRecord::Base | |
belongs_to :job | |
belongs_to :detail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parameters: {"utf8"=>"✓", "authenticity_token"=>"mPqHohtSN2c0l80a+1tFvYTIhaCvy70OgFxiX1ZyJIg=", "job"=>{"job_values_attributes"=>{"0"=>{"detail_id"=>"1", "property_id"=>"1", "property_ids"=>["4", "7"]}, "1"=>{"detail_id"=>"2", "property_id"=>"", "other"=>"Test Other Value", "property_ids"=>["5", "8"]}, "2"=>{"detail_id"=>"3", "property_ids"=>["6", "9"]}, "3"=>{"detail_id"=>"4", "select"=>"true"}, "4"=>{"detail_id"=>"5"}}}, "commit"=>"Create Job"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Detail < ActiveRecord::Base | |
belongs_to :product | |
belongs_to :job_detail | |
has_many :properties, :dependent => :destroy | |
validates :name, :presence => true | |
validates :required_at, :presence => true | |
accepts_nested_attributes_for :properties, reject_if: :all_blank, allow_destroy: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FormObject | |
include ActiveModel::Model | |
def initialize(args) | |
args.each do |k, v| | |
instance_variable_set("#{k}", v) unless v.nil? | |
end | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server@comprint:~/app/comprint$ git branch -avv | |
* master 0b8a207 [origin/master: ahead 11] Merge branch 'master' of https://github.com/wethu/comprint | |
remotes/origin/HEAD -> origin/master | |
remotes/origin/master 37cb576 commiting changes to gitignore | |
server@comprint:~/app/comprint$ git remote | |
origin | |
server@comprint:~/app/comprint$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Mac: | |
~/www/comprint $ git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. | |
nothing to commit, working directory clean | |
~/www/comprint $ | |
~/www/comprint $ git log | |
commit 37cb576cbeb9e982f2ab7bd642e16a8445486d08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server@comprint:~/app/comprint$ git diff @{u} | |
diff --git a/public/assets/bootstrap/glyphicons-halflings-regular-7531c2bd6e03c07cc2d8 | |
new file mode 100644 | |
index 0000000..67fa00b | |
Binary files /dev/null and b/public/assets/bootstrap/glyphicons-halflings-regular-7531 | |
diff --git a/public/assets/bootstrap/glyphicons-halflings-regular-9424bcf8f49d772c152e | |
new file mode 100644 | |
index 0000000..4a4ca86 | |
Binary files /dev/null and b/public/assets/bootstrap/glyphicons-halflings-regular-9424 | |
diff --git a/public/assets/bootstrap/glyphicons-halflings-regular-ab814146cdfc4d37cc90 |
OlderNewer