Displaying 20 results from an estimated 73 matches for "mcfarland".
2005 Apr 18
7
Shorewall and IPv6
How is the effort to make Shorewall do iptables6 going?
--
Patrick "Diablo-D3" McFarland || pmcfarland@downeast.net
"Computer games don''t affect kids; I mean if Pac-Man affected us as kids, we''d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." -- Kristian Wilson, Nintendo, Inc, 1989
--------------...
2006 May 16
3
application.rhtml ignored
Hi,
I''m stuck. I have an application that''s been working fine. I made some
changes to the database schema and rebuilt my models, ensuring that I
did not overwrite any of the existing controller or view files. Now,
whenever I display *any* of my pages, the layouts/application.rhtml file
is completely ignored. I have *no* idea what''s causing this, and
neither do
2006 Apr 25
3
limiting options in file_upload
Does anyone know if it''s possible to set constraints to the size & type of file that file_column will accept?
I''d like to limit to image files of less than 2MB.
If this isn''t possible with file_column, is there a graceful way of getting the controller to handle it?
thanks
dorian
--
--
I do things for love or money
2006 Jan 23
11
mysql dates
does anyone know of a way to make the date_helper deal with mysql dates with 00 values in them?
I have lots of dates that are like the following:
2005-04-00
2005-00-00
and I need to set null values in a date_select for elements that are 00. These are valid dates in mysql.
In the absence of an immediate solution to the above, I''ve been trying to find out how InstanceTag.new works so I can
2012 Jul 31
11
$concat_basedir not defined
Hey folks,
I am using puppet for some OpenStack deployments and on a new node things
look pretty good right until after the successful reception of a cert from
the puppet master. I get this error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
$concat_basedir not defined. Try running again with pluginsync enabled at
2006 Mar 13
9
what the » ???
Im just learning trough the "geting started with ruby"
i''m only on page Ruby.new and im stuck
here''s the thing, I''m using FreeRIDE to duplicate the examples
a = %w{ ant bee cat dog elk }
a[0] ? "ant"
a[3] ? "dog"
for the live of me i cant seem to use Alt+0187 (?)
what happen??
--
Posted via http://www.ruby-forum.com/.
2006 May 24
2
named routes confusion
Hi,
I''m trying generate a URL from a named route like: namedroute_url(params...)
but the generated route is always coming out as the first match from the routes table.
The named route is defined inside a map.with_options block, but that shouldn''t matter should it?
dorian
--
--
I do things for love or money
2006 Apr 28
2
tests and login_engine
Hi there,
I just started writing tests today after some months of using rails (slap wrists).
I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine.
all my assertions come back with:
Expected response to be a <:success>, but was <302>
Is there a way I can login from within a test?
2006 Mar 20
3
login_engine
Hello,
I''m having trouble getting login_engine to work properly. I get the standard login/registration views, but whenever I try to register I get:
NoMethodError in User#signup
undefined method `password_confirmation='' for #<User:0x408b2f9c>
I have login_engine, and engines installed from cvs:
http://opensvn.csie.org/rails_engines/plugins/
anyone else had anything
2006 Feb 16
2
Joel on Software Rails Rant
I didn''t know if any of you had seen this rant about Rails over on Joel on
Software but it is an interesting read. Check it out here -
http://discuss.joelonsoftware.com/default.asp?joel.3.309321.45
-Rob Bazinet
http://www.robertbazinet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 02
6
overriding constants
Hi there,
I''m trying to override the defaults for form_helper.
I can see in action_view/helpers/form_helper.rb:
class InstanceTag #:nodoc:
include Helpers::TagHelper
attr_reader :method_name, :object_name
DEFAULT_FIELD_OPTIONS = { "size" => 30 }.freeze unless const_defined?(:DEFAULT_FIELD_OPTIONS)
DEFAULT_RADIO_OPTIONS = { }.freeze
2006 Feb 16
4
newbie question regarding basic AJAX form verification
...fore I submit the form. But since I''ve
already defined my form action with form_tag() as ''create'', I can''t also use
form_remote_tag() at the same time, right?
I''m sure I''m missing somethign obvious. but I could use some help.
Thanks,
Stan Mcfarland
2006 Jan 23
2
require rmagick
Hello,
I''m trying to use rmagick in a helper script (for auto-generating image sizes) and I''m not sure where I should be calling ''require''.
currently I have:
require ''RMagick'' at the top of my controller:
class FilmsController < ApplicationController
require ''RMagick''
but that''s giving me an error:
2006 Apr 25
4
redcloth poblems
Hi, I''m having some problems with redcloth(3.0.4 gem) and textilize.
I have a string:
"h2. hello
_what''s up?_"
which is being textilized as:
<h2>hello<br />
<em>what’s up?</em></h2>
so no paragraph and h2 wrapped all the way.
the input is coming from firefox 1.5.2 on a mac
Anybody got any idea what the problem might be?
--
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and
views and I cannot figure out how to do that. Googling hasn''t turned up
anything useful and I''m looking at the PickAxe book, and I get the
impression that a constant must belong to a class.
If I just want a constant like...
CompanyPhoneNo = "(602) 999-9999"
and be able to use it in any view
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do
2012 Aug 09
2
Puppet apply err: Could not prefetch keystone_user provider 'keystone'
On a new puppet master node I get this error on a puppet apply for an
OpenStack multi-node setup. This is a new one I have never seen before.
Tips?
debug: Prefetching keystone resources for keystone_user
err: Could not prefetch keystone_user provider ''keystone'': File:
/etc/keystone/keystone.conf does not contain a section DEFAULT with the
admin_token specified. Keystone
2006 Mar 08
6
Difficulty with params hash and submit_to_remote
Hi,
Is there any trick to initializing the params hash via submit_to_remote()? I
have a form with two submit methods - the regular, non-AJAX method, and the
AJAX method. The regular method works like a champ. The submit_to_remote
invokes the correct controller, but the params hash is empty except for the
values for :action and :controller.
I''d show my code, but it''s on
2006 May 16
3
wondering how to do some clever DRYing up
Hi there,
I''m now getting to the point in my rails app where I can use all of the nice basic features like AJAX and engines etc...
but, I want to get my hands a bit dirtier, whilst learning to DRY up my code a bit.
I''m using AJAX quite a bit to dynamically populate/edit/sort has_many relationships in forms, and consequently on a model with many has_many''s I end up
2013 Apr 14
2
[LLVMdev] C++AMP -> OpenCL (NVPTX) prototype
...lang call. NVPTX is meant to be replaced with SPIR at some point,
to make it portable, which is why I didn't bother with text kernel generation.
I won't go into implementation details, but if anyone is interested, or
working on something similar, feel free to get in touch.
Thanks,
Dave McFarland