search for: delete_type

Displaying 3 results from an estimated 3 matches for "delete_type".

Did you mean: delete_tree
2006 Aug 09
7
function before_save
Hi everybody I would like a function as the "before_save" method in the model. But it must be the opposite. When I take out data from the database through the model, I want to call a function before the data are available in the controller. Can anyone help me? ---- >>>> thx <<<< ---- -- Posted via http://www.ruby-forum.com/.
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
...:inventory, :material_list def new { "name" => read_attribute(:upload_file_name), "size" => read_attribute(:upload_file_size), "url" => upload_file.url(:original), "delete_url" => upload_file_path(self), "delete_type" => "DELETE" } endend Inventory: class Inventory < ActiveRecord::Base belongs_to :upload_filesend Material List: class MaterialList < ActiveRecord::Base belongs_to :upload_filesend _form: <%= form_for :upload_files do |f| %><h3>Upload Inventory...
2013 Mar 28
1
Error Empty file upload result - problem with jQuery bulk file upload
...iles => [ { :name => upload_file_name, :type => upload_content_type, :size => upload_file_size, :url => upload.url, :delete_url => upload_path(self), :delete_type => "DELETE" } ] } end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsub...