Displaying 20 results from an estimated 10000 matches similar to: "ActionMailer - help!"
2006 Mar 14
7
Application error (Rails)
After I attempted to add ActionMailer functionality, it gave the
"Application error (Rails)" and now, everything on my site works, except
for the part where the Actionmailer ''would have'' sent the email.
I took that out now, re-uploaded the file, and ran "killall -USR1
dispatch.fcgi" and still nothing. Everything else works, except that.
Any idea what
2006 Mar 07
2
How to sort execution of multiple ajax-calls
Hi,
currently I execute 2-3 AJAX-Calls (located at the end of html-body) on
loading the page. I run into problems now because they are executed
parallel of course :)
How can I garuantee that the Calls are executed when the page has loaded
completely ?
And, more interesing, how can I make one AJAX-Call start when the
previous has completely finished ?
I''ve read about Effect.Queues - is
2006 Mar 14
1
ActionMailer Error - Please Help!
I''m trying to send an email to myself when someone comments on my site.
Here''s my code, if you don''t mind, could you tell me if you see
something wrong?
#environment.rb
# Include your application configuration below
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.server_settings = {
:address => "mail.mydomain.com",
:domain =>
2006 Mar 21
8
AS/400?
Any success stories using rails against a DB2 database on an as400?
If so, how?
Thanks
Ed Schechter
--
Posted via http://www.ruby-forum.com/.
2006 Feb 23
2
find_by_sql aliasing issue when accessing attributes
I was recently having problems accessing attributes in an object. Can
somebody explain to me why this is, and if it is a bug?
I have the following code:
@archives = RapturePost.find_by_sql "select distinct
date_format(rapture_posts.date_created,''%Y-%m'') date_created from
rapture_posts where rapture_posts.site_id = 1 order by
rapture_posts.date_created desc"
I
2006 Mar 07
11
maintaining application state/urls
Hi All
Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.
Say for example I''ve a shop at www.shop.com, and its pure ajax to load
in products. Now customer A wants to show a friend a product on the site
- giving him the url www.shop.com and telling him to click on a series
of links
2006 Mar 14
2
[OT] Comments wanted on use of bitwise op
Here''s the scenario. I have a main tree-like table (actually it''s more
of a hierarchy), where the entries (or at least some of them) can be
categorised as one or more of a fixed number of types (prob about 6 poss
types). So an entry could be a Type A and a Type D; a Type C, D, E; just
a Type F; etc.
Having a join table would seem like it might get rather expensive since
2006 Feb 14
7
Action when database changes
Hello,
Is it possible to trigger an action in a controller when
a table from database changes?
I thought about using an utility like cron (railscron) to
check every, e.g. 2 s, if the table changed, but I am wondering
if there is a solution a bit more ''elegant'': to trigger an action
exactly when the change is made.
Best regards,
--
Kuba Nowak
2006 Mar 07
10
[PREVIEW] SmallCap
Somebody suggested SmallCap and that sounds great. This is by no stretch
of the imagination Capistrano, so it might better be named MicroCap but
it may be useful to some who have (as I do) modest needs in this regard,
especially for on-server versioning.
Here''s a preview of the usage:
Usage: ruby smallcap.rb [options]
-s, --server=SERVER Copies app to specified
2006 Jun 04
1
Image links in stylesheets?
Guys,
I understand the logic behind using image_tag in rhtml to maintain app
portability, but how do you link to images in a stylesheet maintaining
that same portability?
Thanks for your help!
B.A.
--
B.A. Baracus: I thought you weren''t crazy no more?
Murdock: Only on paper.
--
Posted with http://DevLists.com. Sign up and save your mailbox.
2006 Feb 21
5
No Log
I''m running an app under Apache/FastCGI and am trying to look at any log
output. However no output to any of the logs is being done by the app!
I have the app set to development mode.
I deleted all of the log files in the log directory and no new logs are
being created (I assume that the app will create the logs as required).
What''s going on here?
Is there some sort of
2006 Jun 02
1
Ajax: update multiple DIV''s
Hello.
Is it possible to update multiple DIVs during? For example I have DIV
for @flash[:notice], and one for content and I need to render both DIVs
after executing action.
2006 Mar 05
1
[patch] Effect.Move and a little experiment
i everybody! first at all, sorry about my poor english...
i''m working in a little experiment about boucing objects using
Effect.Move implementation and a couple Effect.Transitions''
but... i was stuck in the way how Effect.Move works. I need to move a
object in two dimensions: X and Y, but in different times....
Effect.Parallel not work for me, because meanwhile the object
2006 Feb 22
1
Cursor position
How can I get the cursor position relative to the page, and store it in
a variable? (Preferably without using javascript)
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Feb 15
3
Like Query Across Multiple Tables
Firstly, I''m still learning Ruby and rails, so there could be a very
simple solution to this.
I want to search across multiple tables with a "like" query eg: (SQL is
probably the easiest way to describe it):
select
products.*
from products
inner join brands on products.brand_id = brands.id
where
products.name like ''%canon%''
or brands.name like
2006 Mar 14
5
How to display different images using ajax?
Hi!
On my page i display one full size image and a list of thumbnails.
I''d like to change the full size image with a full size version of a
thumbnail, after clicking on one of them.
How to write controller action, so it would update the image without
reloading the whole page? It''s easy with text, but how to reload an
image?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 06
11
coolest startup?
OK, general question for the community -- what''s the coolest startup
using Rails? I don''t think "37 Signals" is a fair answer. I''m curious
as to what kind of other developments are happening. Are there a lot
of startups using Rails in the first place? Or do most of you who are
lucky enough to do Rails for a living (I''m coding Java, bleah) work in
large
2006 Apr 19
3
Determining screen size and/or resolution?
What''s the easiest or best way to determine the screen size from within a controller or view in Rails? My "divs" look great at 1280x800, but not so hot on 800x600. I want to dynamically alter the layout based on the resolution. Any hints regarding screen size or alternate ways of handling this issue would be appreciated.
Thanks!
-------------- next part --------------
An
2006 May 03
4
default values
Hello,
I''m working with a postgresql table
CREATE TABLE elements (
id serial primary key,
c1 text default f1(),
...
cN text default fN()
);
But if I use de lines
@element = Element.new
@element.save
the values that element take are the nextval in the id field and nules in
all the other fields.
How can I get the defaults?
(but without rewriting the
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
I am testing a ruby 1.9.2 script (it''ll be run in a cron task
later...) in which I am trying to use ActionMailer
All my files are in a single folder ''joinus_email
- joinus_email
joinus_email.rb
notifier.rb
- notifications
joinus_email.html.erb
joinus_email.text.erb
running the script joinus_email.rb, (in which I defined the