Displaying 20 results from an estimated 100000 matches similar to: "Rails and PGP"
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
2006 Mar 28
6
Deploying rails...
Hi,
I thought I''d give lighttpd and FastCGI a go but the latest version I''ve
found for fastcgi is 2.4.0 which was released in January 2003. Is this
the right version?
Can anyone recommend the versions I should use for FastCGI et al and
where to find them? I''m not sure I''ve really found what I''m looking
for...
--
Posted via
2006 Mar 21
11
Stuck on ActiveRecord
Hi,
I''m having great fun developing with Rails but I''ve come to a problem
that I can''t quite figure out.
I have an Order object that "has_many" order_lines. This works perfectly
and I can see all the lines.
The OrderLine object has an order_id field as well as product_id and
amount.
Now ideally I would want to do :
order.orderline[0].product.name
for
2006 Mar 23
3
Returning CSV data to the client
Hi,
One of my apps has to export data for the backend system to process it.
What''s the best way to create a CSV file in Rails and then return it as
a file to the client? i.e when they go to the link /csv/get_data it
would return a csv file.
I''ve been messing with the CSV library and I can get it to write out to
a file, but not sure how to best use this in a web app.
Hope
2006 May 23
2
ActionMailer stopped working after upgrade to Rails 1.1
Hello,
I am using implicit e-mail templates to send HTML messages. I had no
problems till I have upgraded to Rails 1.1. Now the deliver_xxx method
just fails without *any* error message. No error or whatsoever (both
in development and production environments) exist in logs. Stranger
than that, a blank page is being displayed (according to logs, 0
length response, with 200 OK code). I googled for
2006 Apr 12
1
URL Paths
Hi,
I''m looking to rewrite an existing app in Ruby but it makes extensive
use of URL paths. For example a site would redirect to :
/Portal/foo/
and from this I could tell that ''foo'' was the site that did the
redirect. Of course when I try this with Ruby I get "method not found"
which is hardly surprising.
I''ve had a quick look round google but
2006 Jun 25
2
Working out sales tax...
Hi,
Having googled extensively about storing money in Rails, it seems to be
accepted that the best way is to store the prices etc in the smallest
part of the currency so that you can use an integer i.e ?20 would be
stored as 2000 pence.
This is fine and I''ve made a nice pretty wrapper that outputs the price
in the standard form for invoicing and what not - but here I''ve
2006 Apr 17
1
SOAP and exceptions
Hi,
I''ve been doing more searching, and I''m kinda stuck on how to send back
error messages to a SOAP / XML-RPC client if say for example the
username and password they supplied were incorrect.
Can anyone point me in the right direction?
Cheers,
Pete
--
Posted via http://www.ruby-forum.com/.
2002 Dec 10
4
most pointless mentioning/advertising of a format in a film i've ever seen
In the recent muppets christmas film, god (played by whoopi goldberg- or howevr u spell her name), mentioned converting her entire album collection (every album ever recorded. ever) to mp3 files.
Now that is the most pointless use of advertising the inferior mp3 format i've ever seen.
Now that we've started covering the use of vorbis in games, anyone spotted any reference (no matter how
2011 Mar 17
7
Beta Invitation in Rails 3, little problem
INVITATION BETA EMAIL
I have in the email that the app send to friend''s email address
------------------------
You are invited to ExampleApp.com click below to signup
http://localhost:3000/signup.efweiuvwnjernfwkefwebhsohj
------------------------
But I have a dot in the url beteween http://localhost:3000 and the token
I wish the following url
2007 Dec 08
6
Rails 2.0 ActionMailer breaks my redmine render_message
I am using ''redmine'' (v 0.6) as my major project manager, seems running
fine w Rails 2.0 (slight modifs for paginations..) but I am stuck with a
major error when sending a confirmation email :
mailer.rb
class Mailer < ActionMailer::Base
....
# Renders a message with the corresponding layout
def render_message(method_name, body)
layout =
2008 Sep 09
6
Prioritizing Mailer Queue / Action Mailer
Hi,
I have different kinds of mails going out. For eg:
1. signup
2. notification mails
etc
I am using mailer queue to avoid mongrels waiting on email to be sent.
However, it makes sense to have signup mails go instantaneously whereas
other mails can go to mailer queue.
Has anyone done such thing? Any suggestions please?
Regards,
SG
--
Posted via http://www.ruby-forum.com/.
2010 Nov 19
0
how to include view helpers in both action_controller and action_mailer templates (rails 3)
There''s some terse documentation that helpers can be shared between
action_controller and action_mailer, but I have yet to find an example
of how this is done. Right now, I''m trying to use a "markdown" method
in the view templates for both. I have put the method in the
application helper (app/helpers/application_helper.rb). It works in
the view templates called from
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there
I just started my first Merb app and I''m running into some weird
things in Specs. When I do:
describe "create action" do
it "should create a new project" do
project_params = {:name => ''bekkunin''}
Project.should_receive(:create).with(project_params)
controller, action = post(''/projects'', :project
2006 Mar 21
1
Form Validation
Hi,
I''ve got an interesting one here :)
I have a form with three fields :
serial_number
initial
surname
now, if serial_number is entered, it must be between 1 and 64000. If
it''s filled in, the other two fields must be blank. If serial_number is
left blank then the other two boxes must be filled.
Any suggestions?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
2
freezing to Rails 1.0 for a production site
Hi,
I have a shared web hosting account. Currently the hosting company has
Rails 1.0 but I''m sure they will upgrade to Rails 1.1 sometime soon. I
don''t want my site to break if anything with Rails 1.1 will cause a
break. How do I freeze my app to Rails 1.0? I imagine I download the
rails source into the vendor directory. But from where to download and
how to configure my app to
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
Hey All,
I just wrote a nifty gem and wanted to share(its one of my first).
Wondering if anyone would be so kind as to tell me what they think and/or
code review it.
MailJack - its like LoJack but for the links in your emails. The problem
this solves is the ability to track click throughs in emails.
https://github.com/synth/mail_jack
Basically, you specify what mailers you want to track
2018 Oct 07
0
To help, heart of our c "Hi" Ve; is... http://archive.is/Thro
as a side note, I see from my Facebook memories
<http://callingketti.ml/lists/lt.php?id=YUgFAg9UGAFUUh1QWlQKVF0F>
that I am repeating specific things ... anually ... something I once said I
would never do (intentionally) and specifically because "rituals of which
we have no understanding of their true meaning" are clearly horrible things
(ur wasting time) ... one of the primary
2011 Jul 27
3
Rspec with ActionMailer and .deliver
I''m in the process of migrating from Rails 2 with rspec 1 to Rails 3 with
rspec 2, the process has been going pretty well, however, today I came
across an issue that I wanted to share.
I have a controller that sends out an email through a mailer.
Rails 2
code: CurriculumCommentMailer.deliver_comment_update(@curriculum_comment,
"created")
Rails 3 code:
2015 Jan 26
0
sendmail not invoking dovecot-lda
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 18 Jan 2015, alvin wrote:
>
> - Configuration
> FreeBSD-9.3
> sendmail -d0.1 == sendmail-8.14.9 <<--
> dovecot --version == dovecot-2.2.15
>
> # ===================================================================
> # I'm trying to get sendmail to invoke dovecot.m4 ( dovecot-lda ) to
> # deliver