Displaying 20 results from an estimated 900 matches similar to: "Setting Up Actionmailer"
2006 May 04
2
Is there a way to version the contents of a table as a set?
I am looking at using acts_as_versioned to manage revisions of data in
several tables in my application. However, the default behavior of
acts_as_versioned appears to apply to individual rows within a table. The
tables I want to version are complicated lookup tables and what I really
want is to version the entire contents of each table as a single set.
Adding a row, deleting a row, or updating
2006 Jun 28
2
Ajax - Upload File Upload
hello, i have a problem. I want to upload a file with ajax and the
following tag:
submit_to_remote ''button_save'',''Speichern'',{
:url => {:action => ''ajax_update'', :id => @product},
:update => ''formular''
}
it doesn''t work, my form_tag looks like:
form_remote_tag(:url => {:action =>
2006 May 12
2
Do you store the source of third-parties plugins you rely on in your own version control ?
Hi!
well the subject is telling everything - I''m just curious to know how other
railers handle this (for me the answer is yes, clearly!)
cheers
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060512/0b59b57b/attachment-0001.html
2006 Aug 01
4
I need a favour
I have a fully developed e-commerce site with ruby on rails. it is in
sandbox mode with paypal and I want to make it live. unfortunately my
developer''s time on the project is up. i have the instructions to make
it live, but im not familiar with rails (YET!). I intend to be, but I''d
really like to get this live.
Can a trusted rails developer on this site do this simple thing
2006 Apr 28
10
Sharing RJS Templates
Hello All,
I''m enjoying the simplicity and power of RJS templates in Rails 1.1, but am
perplexed about sharing them. I have several templates that I would like to
access in various controllers, but if I moved them to
views/shared/whatever.rjs, my app can''t seem to find them. I changed the
name to _whatever.rjs and referenced them as "shared/whatever", but no
luck.
2006 Jun 19
2
Autocompleter enhancement feature request
Hello,
I have created a ticket for an enhancement of the autocompleter to show the
options immediately when the field gets focus. Right now at least one
character must be typed for autocomplete to kick in.
http://dev.rubyonrails.org/ticket/5435
I have also made some code changes directly in the script
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
2006 Mar 13
1
adding custom cache field
Hello,
I needed to add custom cache field for one of my application. I thought I
will share the code showing how to do this.
This code below creates and maintain a custom cache field, for keeping track
of totals. Say, you have accounts, and for each account there are transactions
(either deposit/withdrawal), and one will like to keep track of the total
balance for an account.
So, let there be a
2006 May 12
5
how long before deleting sessions ?
What is the recommended amount of time to keep sessions around in the
database (i store them in a sessions table). IF you get 1 million requests
per day you are going to get 1 million new session entries in the DB. This
would need some serious cleaning so just wondering what a safe cleanup time
would be.
Also does anyone know how to prevent new sessions records from being created
if session
2006 Jun 27
4
Action Mailer - weird rendering issues
Hello,
While sending email notifications from ThoughtNotifier, I am getting weird
exceptions, which sometimes occur on the production machine, but I haven''t
been able to reproduce on my development machine.
There should be no error while rendering
`thought_notifier/share_notification.rhtml''
template, but if for some reason it is rendering
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello,
I want to build an application where i have client and server. I need to exacute
commands with XM-RPC. I can get all this working, following the howto''s in wiki and main
website.
But the problem is they are all unsecure. I can''t seem to find any web service examples
where they use authentication, or ssl.
Just wondering if anyone know how i go about doing this.
At the
2006 Aug 12
9
Finding the closest match?
I am trying to do a search for a crazy problem. Anyways, the search can
only contain one word and the database it''s searching contains one word
per row. Basically if someone tries to search for a word I want to find
the closest match.
Ex:
If someone types "cat" and "cat" is not in my database, but "bat" is,
how could I select bat?
Also, if someone
2006 Feb 28
1
Cache Magic field for totaling
Hello,
Rails provide counter cache field for associations, I want a similar cache
for totaling up values
(say account_balance = sum_of_deposits - sum_of_withdrawals).
I was wondering if rails, already has another surprise in store for me, or is
there any plug-in or how-to for doing these kind of things.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read the
2006 Nov 04
0
Rails talk to gmane
Hi,
Can one of the Rails talk moderator subscribe
http://groups.google.com/group/rubyonrails-talk
to gmane. Because it seems message posted via gmane are showing up, but not
the other way round.
Thanks.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| "O thou my friend! The prosperity of Crime is like
2007 Sep 04
2
specing helpers fails on restful routes
Hi,
I am trying to spec helper methods in a Rails project, but it seems
the specs fail with the error:
You might have expected an instance of Array.
The error occurred while evaluating nil.<<
if the restful routes helper are used either in spec files, or the helper file.
What can I be doing wrong? Or how can I fix this.
Thanks!
--
Surendra Singhi
http://ssinghi.kreeti.com,
2006 Feb 21
4
Models, Helpers, Modules, etc.
Hello,
I am learning rails and ruby and I have some questions about how should I go
about doing certain things.
[1]Many of my models have some functionality which is common, and instead of
duplicating it across models, I want to store it in a single file, and then
import the file into the models. Should I do this using modules, and then store
them in the `lib'' directory? What is the
2006 Mar 01
5
rails models, logging and testing
Hello,
I am using rails 1.0 and I have following questions. Please help me.
[1] How can I do logging in the rails models? I checked the wiki but didn''t find
anything which I explained how to do logging in models.
[2] Say I have a certain model, when I declare a function in the model, and
try to use that function from a view or a unit test, I get an error. For views
the error occurs
2006 Mar 13
3
"./blah/blah" vs. "/blah/blah"
Hello,
Earlier in my rails application, I was using the convention of writing the
following to refer to templates and/or views in the view folder.
"./blah/blah"
But in the Edge rail, it doesn''t work and the page doesn''t shows any output
there is no error in the development log as well. But changing the above to
"/blah/blah" seems to fix things.
Was I
2006 May 18
5
acts_as_classifiable plugin
Hello,
I am pleased to announce the availability of the plugin acts_as_classifier
which allows using the ''classifier'' gem in a Rails application.
This plugin can be downloaded from
http://opensvn.csie.org/sksinghi/acts_as_classifiable/
This plugin is useful in scenarios where you want to distinguish between spam
or non-spam comments, Or maybe you want to track the
2006 Apr 02
2
Problem with edge rails
Hello,
When I am trying to run rake migration tasks, I get the error as shown
below. I am using ruby 1.8.4 and edge rails.
What am I missing or doing wrong?
C:\rails\temp1>rake db:migrate
(in C:/rails/temp1)
rake aborted!
no such file to load -- rails_version
Thanks for your help.
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at:
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html