Displaying 20 results from an estimated 28 matches for "hawabpni61oz1jsuhaj1sqc".
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
2005 Dec 22
2
Pretty Log Output on OS X
Howdy,
I am using Apple''s Terminal and Rails 1.0 on Tiger.
I am tailing my log files and it seems with one of these updates things
changed a little. I see all these ''ESC'' codes all over.
How can I make the output prettier? I''d rather not move to iTerm, not one of
my faves.
Cheers.
2005 Nov 13
2
Link_to :protocol and :host?
Hello,
I am trying to set the protocol and host in link_to based on the
documentation.
I have the following:
<%= link_to "View Cart", {:controller => ''store'', :action => ''view_cart'',
:protocol => ''https://'', :host => ''secure.host.com''} %>
I would expect this to generate a https link to another
2006 Sep 01
2
Include ActiveResource
Hello,
I want to give ActiveResource a spin.
I have all the code checked out from SVN in vendor/rails (yes, including
ActiveResource).
I''m trying to make sure it gets loaded.
I did this in environment.rb:
config.load_paths += %W( #{RAILS_ROOT}/vendor/rails/activeresource/lib )
Unfortunately I still can''t use it. I have an ActiveResource derived model,
Address:
class
2005 Dec 22
8
Payflow Pro (was Re: FatWreck.com - New Rails Site)
...ed together before ;-) Please feel free to contact me
off-list, regardless.
Everyone else... if you have experience using Payflow Pro''s service and
would be interested in seeing a native Ruby library, I''d love to hear from
you, too.
On 12/21/05, Hunter''s Lists <lists-HAWAbpnI61OZ1JSuHaJ1sQC/G2K4zDHf@public.gmane.org> wrote:
>
> Well, it works totally different than the Payment gem code for
> Authorize.net (which I used in another project and also works well).
>
> I have no problem with it, only issue is that it is heavily based on code
> I got from someone else so...
2005 Dec 28
1
FCGI: warning: Object#id will be deprecated; use Object#object_id?
I am seeing some strange entries in my Apache error log from FCGI that I
don''t understand.
I have pasted one of the lines below.
Anyone seen this or know what might be going on?
[Wed Dec 28 08:35:50 2005] [error] [client 24.115.131.100] FastCGI: server
"/home/www/apps/appname/public/dispatch.fcgi" stderr:
/home/www/apps/appname/app/views/photo/fullsize.rhtml:26: warning:
2005 Dec 02
1
Rmagick/File Column Problems
I am having trouble getting Rmagick and File Column working on a new server.
I thought I got everything installed but File Column is giving me errors:
NameError (uninitialized constant Magick):
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dep
endencies.rb:195:in `const_missing''
/vendor/plugins/file-column-0.3/lib/magick_file_column.rb:8:in
2005 Dec 15
9
FatWreck.com - New Rails Site
After months of design and development, we''ve launched our second Rails
site, http://www.fatwreck.com (assuming your DNS is updated - the pink site
is the old one).
The site is for legendary punk rock record label, Fat Wreck Chords and it
includes a store.
The old site was highly trafficked, with millions of page views per month
and we expect this one to be also. So far, the server
2005 Oct 13
1
Typo Error: wrong number of arguments (1 for 2)
Howdy,
I am trying to run the latest version of Typo and when I hit the admin
login, I get the error below.
Anyone else seen this?
H
ArgumentError (wrong number of arguments (1 for 2)):
/lib/renderfix.rb:20:in `read_template_file''
/lib/renderfix.rb:20:in `render_file''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1.2471/lib/action_controlle
r/base.rb:637:in
2006 Sep 01
2
Uninitialized constant w/ ActiveResource
Howdy,
I had an application perfect for ActiveResource, which I do realize is not
finished.
Anyway, I froze my app to edge and then defined a class:
class Address < ActiveResource::Base
self.site = "http://ws.geonames.org/findNearestAddress?lat=:lat&lng=:long"
End
I tried to use it from the console but I get the trace below.
It appears it can''t
2006 Mar 03
5
Rails Site: VegasLists.com
Just wanted to drop a note about a new Rails site that we''re testing in the
wild, http://www.vegaslists.com.
The site allows users to create lists about anything Las Vegas related and
then lets other users comment on those lists.
It was a project that went from concept to completed in about 2 weeks,
working on it after the ''real job'' for fun. It''s very simple
2005 Jun 14
7
OT: US city proximity search
Does anyone know where I might be able to download/purchase a database of US
cities and their longitude/latitude coordinates? I''d like to provide a
search option on a website that allows users to search by city but include
cities in the surrounding area.
Thanks,
Carl Youngblood
_______________________________________________
Rails mailing list
2006 Sep 24
8
form_for and Multiple Models Being Saved
Howdy Folks,
I want to use form_for to allow a user to submit a form that contains two
instances of the same model. They are entering calendar dates and I want
them to be able to submit 2 from the same form.
Ok, so, using form_for, what is the best way to do this? form_for seems to
be setup to handle a single instance in that it wants a name for the
variable, etc...
Has someone else done this?
2005 Dec 16
1
500 Error Page
I have an error page defined in my .htaccess file and I''m in production
mode.
Sometimes I still get the Application Error (Rails) white page though. In
this case there was a nil object that I tried to access in a controller
without first checking if it was nil.
How does Rails decide what error page to display and how can I get the
pretty error page to display more often?
Thanks.
2005 Dec 16
1
Exception Locations?
I am trying to locate the following in the current 1.0 source tree:
ActiveRecord::RecordNotFound
ActionController::UnknownAction
Looking at the API docs, I''ve been unable to track these down.
Can someone help?
2005 Dec 23
0
RoutingErrors Showing Up in Production Log
I am seeing errors of this type:
ActionController::RoutingError (Recognition failed for "/blah/50112.mp3"):
Showing up in production.log. I''d like to suppress as they are ''known'' and
not real errors.
I have my logging set to:
config.log_level = :error
In environmnent.rb.
What can I do to remove these errors from my log?
Cheers
2005 Dec 29
1
Best Practice: file_column+Switchtower
Finally getting my app up and running with Switchtower. I am also using
file_column in my project.
By default, it creates a directory for each model under ''public'' and goes
from there.
I have users adding files in my production application and those files they
added aren''t managed under SVN as they aren''t part of the app, they are
added content. Plus, since
2005 Jul 22
1
A Bit Baffled By text_field
Hello.
I am converting my Java app to Rails and I''ve hit something that has me a
bit baffled. I''ve been fiddling with this for over an hour and trying many
different combinations so at this point I''ve lost perspective.
It''s probably something simple but I can''t see it anymore.
I have a component that looks like this:
<% for advertiser_category in
2005 Sep 22
0
Timeout::Error?? Can I Change Timeout?
Hey Guys,
I am trying to deal with a long running task in my Rails app.
The task is running and updating the DB but it appears that Rails thinks it
is dead.
So, I get this error:
Timeout::Error in Photo#update_from_flickr
execution expired
Anyway, can I set the timeout to be something longer? How would I do this?
I browsed through ActionController and didn''t see anything useful.
2005 Dec 10
0
Paginate - Count(*) Broken or Am I Cheating?
I have the following paginator setup:
@merch_pages, @merch = paginate :merch_item, :per_page => 15, :select =>
''DISTINCT mi.id, mi.merch_image, mi.created_at, mi.artist_id,
mi.item_description, art.sort_name'', :join => ''as mi JOIN merch_formats mf
ON mi.id = mf.merch_item_id JOIN artists art ON mi.artist_id = art.id'',
:order =>