Displaying 20 results from an estimated 21 matches for "codeslush".
2006 Aug 12
2
Anyone up for this? Maps...Bounty...
...connected with lines because they belong together.
Can you do this? If so, email me, tell me the amount and, at some
realistic point, show me some functionality. We can do the entire
transaction via rent-a-coder and, in fact, I am going to post this
project there for bid. You can email me at codeslush at yahoo dot com
if you think you can do this. I''m looking for something well written
and extendable (i.e. I want to use it in multiple places for multiple
purposes). You need not know my exact model layout - just give me
something that works when given a set of results from an Activ...
2006 Aug 03
6
create or update -
Hi everyone,
I''m looking for a shortcut to finding and updating or creating record
depending on the results of the find.
So, is there a shorter way to do it than this?
@stuff = Stuff.find_by_foo_and_bar("yay","hooray")
if @stuff: Stuff.update(@stuff.id, {:foo => "boo", :bar => "hoo"})
else Stuff.create({:foo => "boo",
2005 Nov 14
6
ActionMailer - Sent but no mail?
Hi,
I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox.
I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers.
:authentication - should this be set to true, or
2006 Jul 31
3
date_select for valid days only. No Feb 30
I am looking for some advice on how to make a date select display only
valid days of the year. The standard date helper allows for you to
choose 31 days for every month of the year. Since not all months have
31 days this can lead to invalid date entries for scheduling.
I am thinking that an approach where I have a drop down for month and
then use AJAX or normal client side javascript to
2006 Jul 31
20
RADRAILS installation guide
hi all
is there eany installation guide that explais how to set up RadRails
and how to create a RoR project with eclipse?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jul 15
1
ActionMailer and PDF Attachment and corrupt file?
Community,
I''m struggling with an issue and I''m sure it is trivial but I cannot find the solution. I''m trying to attach a PDF file to an email. For simplicity, I have explicitely named a given file but when I get the email, the attachment is only a partial of the document which causes it to be corrupt. Sample below:
@recipients =
2006 Jul 20
4
setting site up on dreamhost
Hi,
was wondering if anyone has had any experience setting a site up on
dreamhost.com
Ive uploaded teh site, turned fastCGI on
However having a few problems gettign the site to show, when i go to
/public/ it shows the rails welcome page, should I be redirecting the
sit url to this?
thanks
scott
--
Posted via http://www.ruby-forum.com/.
2006 Aug 03
5
DRYing up the view
Hello everyone!
I have generic views for CRUD operations
For example I render(''shared/list'') from controller
shared/list.rhtml
...
<% for item in @list %>
<tr class="<%= cycle ''list-line-odd'', ''list-line-even'' %>">
<%= render :partial => ''item'', :locals => { :item => item } %>
2005 Nov 17
8
Components and layouts
Is there anyway for a component to use the layouts availble to rest of
the app, but still use the templates under its own directory? Setting
the layout with a "layouts/admin" say, just produces "can not find
admin.rhtml...". Is there anyway around this?
If not I guess I could just put the views under app/views, but really
wanted to keep things seperate.
Thanks!
-Nick
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=
2006 May 05
5
Attach a PDF File to an Email
Hello ~
I have an email that I need to attach a PDF to. The email is being
sent, and a file is attached but it is not the original file. I am
following the example:
attachment :content_type => "image/jpeg", :body => File.read("an-image.jpg")
changing it to:
attachment :content_type => "application/pdf", :body => File.read("pdf/my.pdf")
2006 Aug 09
21
DHH''s Post on Ruby Talk -- Rails 1.1.5: Mandatory security patch (and other tidbits)
We''re still hard at work on Rails 1.2, which features all the new
dandy REST stuff and more, but a serious security concern has come to
our attention that needed to be addressed sooner than the release of
1.2 would allow. So here''s Rails 1.1.5!
This is a MANDATORY upgrade for anyone not running on a very recent
edge (which isn''t affected by this). If you have a public
2006 Jul 20
13
GoDaddy Woes
Has anyone had any luck setting up a Rails App using GoDaddy? I''m at my wits
end, I uploaded the site using the "instructions" in the Help Center but I
keep getting the
Application error
Rails application failed to start properly"
Error. I''ve lucked all over for help, and I''ve tried a bunch of things
(adjusting the chmod values of my dispatch files
2006 Jul 22
0
form_remote_tag and send_file
All,
I have an existing form that calls an action which in turn creates a PDF
and sends it to the browser using send_file.
I want to change this form to use form_remote_tag so that I can set a
progress bar and once the PDF is finished, the progress bar hides and
the PDF opens.
The send_file data is being sent to the browser, but not displayed
anywhere. When I use a regular form post, it
2006 Aug 24
1
Regarding New QueueWorker class
Hi Ezra/Community,
I posted a few comments last night on the rails forum and followed Ezra''s advice to come here! Lot''s of good stuff in the archives that probably saved me much headache (specifically, ActionMailer related items).
I saw this post - and am wondering if anyone else has had a chance yet to download the two source files and try it out. Queuing of work
2006 Aug 05
0
Anyone using reliable-msg?
Community,
reliable-msg came up in another thread regarding a ruby deamon process.
Thread here: http://www.ruby-forum.com/topic/75552#new
I had not previously heard of this and could definitely use the
functionality. I''m curious if anyone else has used it and what their
experience with it has been.
Specifically, I am looking for the following functionality (in order of
2006 Aug 05
0
Action being called multiple times from weak connection?
Community,
I have an action in a controller that sends a quote to a customer. The
quote is sent after we determine the price for the service.
Until recently, we did this internally and everything was fine except
one time. When it happened, I thought it was a fluke and ignored it.
Recently, I added a remote employee that is performing this task. He
has an internet connection that goes up
2005 Dec 04
1
PDF Shipping Order Document Creation - Help, willing to pay...
ROR Community,
I have to create a PDF document. I have looked at the various tools and I think PDF::Writer is the way I want to go.
However, in looking through the demo''s, etc... I don''t see how to easily create the type of documents that I need without specifying every single coordinate along the way!!! I''ll do my best to describe:
It is a pretty
2006 Jul 21
1
Partial, Table Layout, Multiple Controllers/Models... DRY?
Hi,
I am almost embarrased to ask this and I am sure it has been answered
previously but the search feature is down on ruby-forum so I am not
finding the answer.
I have several controllers (leads, orders, activities, etc...). I have
a ton of repeated html in each of the views for these controllers. For
example, my list view has the same table/tr/td and for..in type of code
and it just
2006 Jul 16
7
RJS and Action Renders but page doesn''t update
All,
I am trying to perform a simple ajax task and am having some difficulties with the page showing the response. The action performs, but no response on the page.
I have found examples on the web and I believe I have copied and pasted exactly what works from the demo site. However, on my system it isn''t finishing. For a simple test, I have limited it down to an alert.