Displaying 20 results from an estimated 4000 matches similar to: "Action Mailer E-Mail"
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve
looked every where. I''ve also done the tuts. but, they don''t work for
me. Thanks...
--
Posted via http://www.ruby-forum.com/.
2006 Apr 26
7
Not updating
I copied the scaffolding edit and update and made it like this,
Note: awnser is edit.
Admin_contoller.rb
def awnser
@question = Question.find(params[:id])
end
def update
@question = Question.find(params[:id])
if @question.update_attributes(params[:question])
flash[:notice] = ''Question was successfully updated.''
redirect_to :action => ''list''
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my
SQL:
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`user_name` varchar(80) default NULL,
`login` varchar(120) NOT NULL default '''',
`last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'',
`last_attack` timestamp NOT NULL default ''0000-00-00
2006 Apr 27
11
Action Mailer Error!!!
What does this mean?
Bad file descriptor - connect(2)
--
Posted via http://www.ruby-forum.com/.
2006 Apr 16
3
AJAX multi actions?
How can I do something like this:
<a id=a7 style="cursor: pointer;"
onClick = "new Effect.Fade (''li'');
Element.show(''a1'',''a2'',''a3'',''a5'',''a6'');
onClick = "new Effect.Fade (''rp'');
2006 Apr 27
12
Stealing users IP address
Is there a functiaon to take the IP address of person who submits to a
form
example:
<input id="user_ip" name="user[ip]" type="hidden" value="<%=
some_ip_call %>" />
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
2
ResponseLogger Plugin
http://www.agilewebdevelopment.com/plugins/responselogger
From the README:
Ever wondered what exactly Rails returned in an RJS response ? Here''s
your chance to see it:
===> text/javascript (49 bytes)
Element.replace(''target'', ''<em>It works!</em>'');
<===
== ResponseLogger
Logging the response value is easy. Simply install
2007 May 17
4
How to mock helpers in view specs ?
Hi all,
I am mocking the following Rails view (inside a partial):
<%= render :partial => "forums/forum",
:collection => forum_category.forums.readable_by(current_user? ?
current_user : nil) %>
My spec fails with the following message:
1)
ActionView::TemplateError in ''forum_categories/index (anonymous user)
should only render forums accessible to anonymous
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all !
InPlaceEditor refreshes only the element that was updated. Is there
any way to make it update tons of other stuff ?
I have a table where changing a value in it causes changes in most
other cells (weight to percentage to money).
Thanks for any help !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-spinoffs mailing list
2006 Aug 25
10
SVN security hole explained
Hi all,
If you are using Pound / Pen or another load balancer, I believe you
should read this:
http://blog.teksol.info/articles/2006/08/25/subversion-metadata-exposure-on-mongrel
My article refers to Dan Benjamin''s
http://hivelogic.com/articles/2006/04/30/preventing_svn_exposure
My point is that even though we are preventing Apache from serving
anything except a select few file
2006 Dec 08
2
Windows Tempfile Fix Plugin
Hi all,
Yesterday, I had some problems reading JPG files in my tests. Turns
out the problem was that Windows Ruby doesn't set it's Tempfile to
work in binary mode. Since I deploy on Linux, that has never been a
big problem, but now I'm working on some software that works with
binary files exclusively.
Anyway, I am making this fix available as a Rails plugin.
The details can be
2006 Dec 08
2
Windows Tempfile Fix Plugin
Hi all,
Yesterday, I had some problems reading JPG files in my tests. Turns
out the problem was that Windows Ruby doesn't set it's Tempfile to
work in binary mode. Since I deploy on Linux, that has never been a
big problem, but now I'm working on some software that works with
binary files exclusively.
Anyway, I am making this fix available as a Rails plugin.
The details can be
2006 May 10
7
AJAX effects
I was at http://rails.techno-weenie.net/ and I like what ajax does when
you click on "login" how can I do this on my own website? Is this with
the defualt JS libary?
--
Posted via http://www.ruby-forum.com/.
2007 Dec 19
2
Nested partials losing the view context ?
Hi all !
I can''t seem to make a simple thing work... The code is here:
http://pastie.caboo.se/130660
Essentially, that''s a form with a couple of partials. The backtrace is
included in the pastie. It looks like the context for the current view
is lost when a partial is rendered. In _series.html.erb:2, I use
"series" to get the name. This is the parameter I
2006 Jul 20
5
Apache 2.2, Mongrel and #caches_page
Hi !
I''m no expect when it comes time to configure Apache. I just enabled
page caching in my Rails app, and am now looking at making Apache
serve the cached files instead of calling into Rails.
I know Mongrel is able to serve cached files if it finds them, but I''d
like Apache to do it.
Looking at .htaccess, there is this section:
RewriteEngine On
RewriteRule ^$ index.html
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users
password and send it to them. In the DB its saved via SHA1 (login
generator)
--
Posted via http://www.ruby-forum.com/.
2006 Mar 24
8
[OT] Does Net::HTTP support secure connections ?
Hi !
I''m trying to connect to an https URL, but it seems it doesn''t work.
Has anyone successfully connected from Ruby to an HTTPS server ?
Thanks !
--
Fran?ois Beausoleil
http://blog.teksol.info/
2006 Feb 24
6
when i save, rails doesnt update the model instance with the id of the new record
Hi everybody,
Im using sqlserver (sqlserver adapter).
I think that is some bug.
any idea?
--
_________
Noel R. Morais
2006 Mar 14
7
Single form w/ relationships: how do I integrate it?
OK - I know this has been asked before, but I cannot find it in the
archives. Forgive me if I''m creating more noise than I should.
I want to know the easiest way to deal with this scenario:
I have articles. I have categories for the articles.
On the form where you write an article, there needs to be a free-form
field to entire the category.
The create() method will build the
2006 Mar 07
5
subversion help!
I created a subversion repository on my new vps and i''m trying to setup my
rails app there. However i keep getting this error:
subversion/libsvn_subr/io.c:2516: (apr_err=13)
svn: Can''t create directory ''/home/svnadmin/rapleaf/db/transactions/0-1.txn'':
Permission denied
How do i fix this? I know others have had this before, so i would
appreciate some help.