search for: file_numb

Displaying 5 results from an estimated 5 matches for "file_numb".

Did you mean: file_num
2007 Jul 08
1
file_field_tag and rjs
Hello Is it possible to add and remove file_field_tags on the fly on a form using only rails code and rjs? If so can someone provide a solution. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 Jul 19
3
BackgrounDRb not working properly with files ?
...9;s my worker''s do_work : def do_work(args) # This method is called in it''s own new thread when you # call new worker. args is set to :args #We define the variables used to monitor the progress #@progress is used by the controller for the progress bar, #file_number is used to calculate the progress @progress = 0 file_number = 0 #Checking if the arg is indeed a directory if File.directory?(args) path = args #we get number_of_files to calculate the progress number_of_files = Dir.entries(path).size #L...
2006 Aug 29
1
Scope problem with form_remote_tag, ajax?
...en performing an edit on the record. Those same fields will get populated using start_form_tag and no AJAX. I think that Ruby can''t find the local object that represents the database record...here''s why: Up front info: table is Issues, one of the text fields in question is file_number. My use of ajax is to put a subset of the table''s fields on different tabs in a notebook style. In this example, when the user clicks on the appropriate link, the fields I''ve considered descriptive are displayed, and file_number is one of those. A1. Entering issues_contro...
2006 Nov 16
1
Regarding debugocfs
...issued debugocfs to check for file_size and extent info but values such as file_size, alloc_size, next_free_ext were 0. (/dev/sdi1 contains datafiles and arc files) # debugocfs -a 0 /dev/sdi1 debugocfs 1.0.10-PROD1 Fri Mar 5 14:35:29 PST 2004 (build fcb0206676afe0fcac47a99c90de0e7b) file_extent_0: file_number = 128 disk_offset = 1433600 curr_master = 0 file_lock = OCFS_DLM_NO_LOCK oin_node_map = 00000000000000000000000000000000 seq_num = 0 local_ext = true granularity = -1 filename = ExtentFile128 filename_len = 0 file_size = 0 alloc_size = 0 next_free_ext = 0 extent[0].file_off = 0 extent[0].num_byt...
2006 Apr 30
1
has_many :through, form for join model attributes
...cts end class Project < ActiveRecord::Base has_many :clients_projects has_many :clients, :through => :clients_projects end I have a form to show the Project model. This form lists each client''s name and contact information. I would also like to list the client''s file_number for this project. File_number is a column in my clients_projects table. I would like to insert a field to access and edit each client''s file number in this form, but I don''t know how to go about it: <% @clients.each do |c| %> <tr> <td>Client:<...