search for: init_options

Displaying 7 results from an estimated 7 matches for "init_options".

2006 Jun 05
1
file_column permissions
...y/1.8/fileutils.rb:243:in `fu_mkdir'' /usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkpath'' /usr/local/lib/ruby/1.8/fileutils.rb:215:in `mkpath'' /usr/local/lib/ruby/1.8/fileutils.rb:201:in `mkpath'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:30:in `init_options'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:28:in `init_options'' #{RAILS_ROOT}/vendor/plugins/file_column/lib/file_column.rb:618:in `file_column'' #{RAILS_ROOT}/app/models/entry.rb:2 #{RAILS_ROOT}/app/controllers/admin_controller.rb:12:in `list''...
2006 Jun 10
0
Dynamic file paths in FileColumn
...%> class UploadController < ApplicationController @xml = Xml.new(@params[:xml]) @xml.save end class Xml < ActiveRecord::Base file_column :path, {:pub => :publication_id} end #small change to FileColumn (appologies to Mr. Kanthak) module FileColumn # :nodoc: ... def self.init_options(defaults, attr) options = defaults.dup options[:store_dir] ||= File.join(options[:root_path], options[:pub]) options[:tmp_base_dir] ||= File.join(options[:store_dir], "tmp") options[:base_url] ||= options[:web_root] + File.join(attr) FileUtils.mkpath([ options[:store_...
2004 Sep 10
2
FLAC 1.0.4 beta released
...23:59:10.000000000 +0200 @@ -33,6 +33,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <locale.h> #if 0 /*[JEC] was:#if HAVE_GETOPT_LONG*/ @@ -308,6 +309,7 @@ CommandLineOptions options; int ret = 0; + setlocale(LC_ALL, ""); init_options(&options); if(parse_options(argc, argv, &options))
2012 Nov 27
1
kms etc nouveau X failed
Hi, My X setup with nouveau fails for some time now. user at localhost ~ $ lspci -vknn ?01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G72M [Quadro NVS 110M/GeForce Go 7300] [10de:01d7] (rev a1) (prog-if 00 [VGA controller]) ?? ?Subsystem: Toshiba America Info Systems Device [1179:ff02] ?? ?Flags: bus master, fast devsel, latency 0, IRQ 16 ?? ?Memory at dd000000 (32-bit,
2006 Jan 09
7
File_column Dynamic directory
I asked this question earlier and did recieve an answer but I am not sure Ifully understood the answer as I am getting all sorts of errors when trying to implement. Basically I want to add a layer to the path for my files. I have the following set up in my model class: file_column :image, :store_dir => :dynamic_dir def dynamic_dir
2007 Jan 08
6
[PATCH 0/5] Debian patches for 1.1.3
Hi Josh, Here are all the patches that are currently applied to the Debian packages for flac. You may disagree with some of them but as the current maintainer, I'm submitting them all for your consideration. (I should've submitted them earlier, but I've been quite busy. Sorry!) Here is a listing of the patches that I'll be sending: Patch 1 fixes a simple typo in metaflac
2004 Sep 10
5
FLAC 1.0.4 beta released
All, I have just finished uploading the source release for FLAC 1.0.4 beta to Sourceforge; there are no binary releases. See the included doc/html/news.html for the changes since 1.0.3; there are quite a few. http://prdownloads.sourceforge.net/flac/flac-1.0.4_beta-src.tar.gz?download Please beat up on this as much as possible in the next week or two and try and turn up bugs. Here's a