search for: brentbeardsley

Displaying 6 results from an estimated 6 matches for "brentbeardsley".

2005 Oct 09
6
Problem With url_for_file_column/file_column
I am using the very helpful file_column extension in my app. The uploading portion works great - no problems. Where I am having an issue is displaying the images in my view. My code looks like this: <% for @record in @main_box_releases -%> <%= image_tag(url_for_file_column("record", "record_cover")) %> <% end -% @record is an instance of a class called
2006 Jul 26
0
legacy mysql db column c$car_type
Hi all, Is there anyway to work around having a $ in the column name (c$car_type)? I can''t change the legacy table and I haven''t found a way to alias a column name. Am I just SOL and can''t use rails in this case or am I missing something? Brent __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection
2006 Jun 05
0
route help using accounts but not with subdomain
Hi all, I''ve just started trying to figure out rails routes and am having some difficulty. I want to have the directory structure start with the /:account_name/ instead of using the subdomain with the exception of account/create and account/list I tried: map.connect ''account/create'', :controller => ''account'', :action =>
2006 Jun 14
0
named routes in mailer templates
Hi all, Is it possible to use named routes in mailer templates? If so how do I accomplish it? I''ve got a named route my_route that I can use with a controller template via my_route_url but I try the same thing in a mailer template and it''s a no go. Thanks, Brent __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam
2006 Jun 26
0
partitioned_id plugin
After reading Jamis'' post on id partitioning, I decided to learn how to write a rails plugin so here''s my first attempt... Brent = partitioned_id rails plugin This library adds a partitioned_id to ease the storage partitioning of lots of files in the file system. For an id of 1, a string "0000/0001" will be returned and for an id of 12345678, a string
2005 Oct 04
3
[Q] file_column help needed
Hi all, I''m trying to use file_column to upload a picture but I''m getting the following error: "cannot convert nil into String" caused by the last line in FileColumnHelper::url_for_file_column(object_name, method) url << object.send("#{method}_relative_path") I don''t have any images uploaded for existing entries so does this not