similar to: log file handling

Displaying 20 results from an estimated 7000 matches similar to: "log file handling"

2006 Mar 20
9
jEdit Snippets for Ruby on Rails
----------------------------------------------------- Announcing: jEdit Snippets for Ruby on Rails ----------------------------------------------------- I thought I''d "give a little back to the community" and whip up some SuperAbbrev files for ruby and rhtml that mimic all of the Textmate Rails bundle snippets. Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Jun 03
9
MergeJS - Easily merge, compress, cache, and version your javascript!
After reading Cal Henderson''s article on Vitamin Serving Javascript Fast<http://synthesis.sbecker.net/articles/2006/06/03/www.thinkvitamin.com/features/webapps/serving-javascript-fast>I was immediately inspired to create a plugin to easily facilitate this in Ruby on Rails. I whipped up most of it right then, and finally got around to polishing it for release today. Told myself I
2006 May 10
2
accessing uploaded file on filesystem question.
Hi, I''m able to upload files onto my webserver filesystem but I had a question regarding how I''d go about accessing them using the <img src="..." > tag. If my files, i.e pictures, are being uploaded to public/images/<dir>/filename.jpg, then should I store the entire path, or just the picture name in my database table? I would imagine storing just the
2006 Mar 29
4
Dreamhosters beware: 1.1 migration ruckus
This will probably demolish your Typo-based weblog and cause some other glitches. Read the comments and some workarounds here: http://blog.dreamhost.com/2006/03/28/new-rails/ -- ---------------------------------------------------- http://sobrerailes.com
2006 Apr 28
4
Call for patterns...
Hi group, I was wondering if anyone more experienced could help me to find a good pattern for two things: 1. How to group controllers. Example: We have an admin panel with: user_managment_controller.rb priv_managment_controller.rb widget_controller.rb User panel with: mystuff_controller.rb mytags_controller.rb profile_controller.rb And frontend with: widget_controller.rb etc... How do I group
2006 Jan 19
1
Relationships, relationships, relationships!
If I had my very own sweaty, wind-up Ballmer (http://www.ntk.net/ballmer/mirrors.html warning: mind-scarring video), that is what he would be saying: "Relationships, relationships, relationships!!" My unscientific polling of the traffic in #rubyonrails and here is that, second to deployment issues, this is the bigges FAQ for Rails: how to do relationship x in ActiveRecord. There seems
2007 Jun 07
1
Search results
Hi, I am new to Ruby, I am a Java expert. I don''t know how to handle the results of a search... I have read a lot, but nobody seems to give examples of that. Do I get an ArrayList from a Table? Do I get fields? How can I identify them? Do I have to parse them to a Class like: Person user = Person(personlist.get(i));? Please, help me... -- Posted via http://www.ruby-forum.com/.
2006 Jan 23
3
[OT] Lighttpd + AWStats
Hello ~ I have posted a tutorial on my blog, http://www.benr75.com/pages/lighttpd_awstats_tutorial, on how to get AWStats and Lighttpd to work together. I thought it might be of interest to Rails folk as I know many run Light. Enjoy, -- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 01
3
acts_as_taggable, wrong number of arguments
Hello, When I try: @tagged_items = Problem.find_tagged_with :all => ''kuba'' or @tagged_items = Problem.tags_count :limit => 100 I get this error: ArgumentError in Volume#index wrong number of arguments (2 for 3) RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Feb 07
7
select list error - following Agile guide
I would swear that I am tracking exactly the method used in Agile book... TypeError in Placements#edit Showing app/views/placements/_form.rhtml where line #33 raised: wrong argument type String (expected Module) Extracted source (around line #33): 30: <tr> 31: <td><label for "type">Type</label></br><%= 32: options = [["Select
2006 Mar 09
11
syncPEOPLE on Rails TextMate Bundle 1.0 & Screencast
The 1.0 version of our bundle is now available for download, along with a 10 minute demonstration of it in use. See http:// syncpeople.com/downloads. == What is syncPEOPLE on Rails? == syncPEOPLE on Rails is a bundle of snippets, macros and commands for TextMate that make Rails development on the Mac even easier. Generate scaffolds, migrations, models and controllers from inside the
2006 Feb 21
8
Validations continued
I simply can''t figure this out. I have been reading and re-reading Agile book and wiki.rubyonrails.org - all sorts of validation methods and still, it doesn''t work. Controller code def create @client = Client.new(params[:client]) if @client.save! flash[:notice] = ''Client was successfully created.'' redirect_to :action =>
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is... I am following the instructions at http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html and also here... http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap my model looks exactly like this... class LdapUser < ActiveRecord::Base ldap_mapping :dnattr => ''uid'', :prefix
2006 Mar 10
6
boolean select problem
I want to use select form elements to choose between boolean options. How can I have it default to true and still display the persisted value (either true or false) when editing an existing object? I guess booleans default to false by default so its not obvious how to recognize when it''s a real ''false'' that the user set or default false because the value was null.
2006 May 29
5
Find last
This seems rather ugly. I am thinking that this needs to be in the model but I am looking to obtain the date for a tb test... >> @tb = Innoculation.find(:all, :conditions => ["personnel_id = 1 AND innoc_type = ''TB''"], :order => ''innoc_date DESC'') => [#<Innoculation:0xb77ed234 @attributes={"id"=>"1",
2006 Jun 04
3
link_to tool tips
I think they are called tool tips... I have view code that looks like this... <%= link_to ''I'', :action => ''edit_innoculations'', :id => personnel %> Is there an option (I don''t see it in api) to have tool tips for a link_to ? Craig
2006 Mar 11
4
Unable to add computer to domain
I have an OpenLDAP backend, Samba knows how to talk to it, my Samba users are stored in LDAP and file shares work fine authenticating to the LDAP server. I tried executing smbldap-useradd -w server02 on the command-line and got the following error: failed to perform search; Can't contact LDAP server at /usr/lib/perl5/vendor_perl/5.8.7/smbldap_tools.pm line 362, <DATA> line 283. Error
2006 Feb 28
7
multi-page printing moving on
I have some nice forms done using stylesheets. I currently have them displaying on screen and the user could simply just print. This works when there is only one form (facility) to be viewed/printed. I have created the looping code necessary to print for all facilities but that doesn''t work for me because each page uses stylesheets with <div> that do absolute positioning and thus
2006 Feb 08
7
DRY methodology
because I am a grasshopper... Now that I can sort my ''list''...is there a logical way of not repeating myself to having essentially the same list view with multiple sorts? i.e. def list_cl # ordered by clients last name @placement_pages, @placements = paginate( :placements, :include => [:client], :order_by =>
2006 Feb 18
3
Samba LDAP PDC BDC quit working
We have had a Samba LDAP-PDC-BDC system setup for close to 3 months with about 60 computers in the domain. Earlier we had a power outage and about 30 computers no longer were able to log into the domain or authenticate. Some were NT Workstations and some were W2k. But not all NT or W2K workstations were affected. If we went to network neighborhood we would see the error message "