Displaying 20 results from an estimated 30000 matches similar to: "HOW TO Track How Many Recipients Open Your Mail IN RAILS?"
2010 Feb 25
9
uninitialized constant UsersController::User
i just created an application to list the primary details of
userbut it is showing an error lik this
"uninitialized constant UsersController::User"
this is my controlller
class UsersController < ApplicationController
puts"hiiiiiiiii"
def index
puts"hiiiiiiiii"
@users = User.find(:all)
puts @users
respond_to do |format|
format.html # index.html.erb
2010 Apr 24
3
help me pls:Tracking mails in rails
hai friends can anone help me to provide a way to implement the
following using rails.
i created a mail campaign application.if a user successfuly
created a campaign he will be getting a mail.
1. how i can track that someone opens the mail?
what i did is just pass some parameters like used id , campaign id
along with this.then i created one table to store the resulting
2010 Apr 23
4
New to rails - apparently need patch to use PostgreSQL
Help please. My first attempt at Rails, I''m trying to use PostgreSQL
and I''m seeing this error. I''m also new to PostgreSQL, but the
default encoding in PostgreSQL appears to be SQL_ASCII. I''m not sure
if I should try and get the patch or try and change the PostgreSQL
template. Sorry I''m so confused. FWIW, I''ve been a .NET MSSQL
developer
2010 Mar 29
4
error in uploading file(help me urgnt)
when i tried to crate an upload file application in rails i am getting
error like this
Template is missing
Missing template app\views\upload\uploadfile.html.erb in view path
app/views
this is ma model
class DataFile < ActiveRecord::Base
def self.save(upload)
name = upload[''datafile''].original_filename
directory = "public/data"
# create the
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
i tried a method to implementa file uploader by using amethod below
this is ma controlller method to upload
def save_imports
Contactslist.save(params[:list])
render :text => "File uploaded successfully"
this is ma view file
.remote
- form_for(@list, :url=> save_imports_list_path(@list, :format =>
"js"), :html => { :multipart => true,
2010 Apr 24
5
About your application's environment URL not found
Hi
I am a newbie (which you probably guessed from the subject) and have
just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10.
I have created a rails app and edited my apache config as shown below.
The Rails "Welcome aboard" page displays, but when I click on "About
your application''s environment" I get
"Not Found
The requested URL
2010 May 21
8
Designing An Application (UML, Class Diagrams)
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I''m picking up an app
another developer left in a mess and I''m trying to sort it out.
Diagrams would be a great help.
Suggestions?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 May 17
6
validates_timeliness plugin installation
I''m trying to install the validates_timeliness plugin:
on Ubuntu lucid in my rails project directory:
sudo ./script/plugin install git://github.com/adzap/validates_timeliness.git
./script/plugin: command not found
on windows (as admin) in my rails project directory:
ruby script/plugin install git://github.com/adzap/validates_timeliness.git
creates the "validates_timeliness"
2010 May 05
6
form remote tag :before=> function problem
Hi I have a strange problem, I am using the below code
form_remote_tag :url => ''/abc/test'',:before => "return hello();",
:update=>''test_categories'' ,:complete => "Element.hide(''spinner'')",
:loading => "Element.show(''spinner'')" do
I am using :before=> function to validate the
2010 Aug 23
11
Rails 2.3.8 or Rails 3 ?
Hi,
If I''m going to start developing a new rails based web application,
should I go for Rails 3 or Rails 2.3.8 ? why this and not the other ?
Thank you.
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL.
2010 Apr 29
10
How to install rails gems 2.3.5 on windows
Hi,
When I try to add generator to controller, I got error as "Missing the
Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your
RAILS_GEM_VERSION setting in config/environment.rb for the Rails version
you do have installed, or comment out RAILS_GEM_VERSION to use the
latest version installed."
Can somebody please let me know how to install rails gem 2.3.5
successfully on a
2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
I''ve loaded (and updated) thousands of these MeteredUsage records. In
the middle of a run, I suddenly get:
ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''id'' in
''where clause'': UPDATE `metered_usages` SET `cost` = 12603.46 WHERE `id`
= NULL
I can''t see anything that''s different about this particular record
compared to
2010 Apr 20
5
Spring Cleaning
Right now in my view, I have a whole HUGE clump of
<% if current_user %> and then <% if current_admin %> and then <% if
current_teacher %> and then all that other stuff in my view.
I have a ginourmous chunk of if and else statements in my views... is
there a way to make it prettier? The if and else''s almost all have the
same functions, expect for some minor changes.
2011 May 20
5
views w locale default template
[RAILS3]
I hesitate on how handling the locale view templates to default to
one language only ..
sending admin emails will go only to one locale ''en_GB''
should I set it up into the template name and set I18n.locale to
''en_GB''
membership_renew.en_GB.html.erb
OR
whatever locale is used , if I have :
membership_renew.html
it will be the default ?
--
2010 May 13
20
HTML and CSS to PDF
I would like to take a rails page and convert it to a pdf. I don''t want
to have to generate the code myself for making the pdf, so it should
obey css. What is the best tool for doing this? Does the tool use the
standard css, or can I provide it alternative print-css?
Thanks in advance,
Jonathan Steel
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
2010 May 19
4
Postgres + Rail 3.0
Hi guys,
I am really new to these things like ROR and Postgres.
When I was installing ROR 3.0 it says
Successfully installed rails 3.0.0 beta
1 gem installed
Installing ri document for rails 3.0.0 beta
File not Found: lib
This is the one which I really dont understand and dont know what to do?
Help me out guys plz...
And I want to configure the database with postgresql and I want to know
how
2010 May 18
4
When I do a migration, the changes are make in the test db
When I do a migration, the changes are make in the test database. Does
anyone know the reason?
In the config/environment.rb file, I have this: ENV[''RAILS_ENV''] ||=
''production''
And in the db/ folder, it creates a file named test.sqlite3
When I did the migrations, RoR used the test database, but when I want
to make something in the application, the migrations
2010 Apr 21
12
Using AR.connection.execute(sql) -- messing with my string?
Does ActiveRecord.connection.execute(string) perform any modifications
on the given string? If so, what quoting do I need to add?
Here''s why: I''m trying to use execute(string) to load a stored
procedure. I can hand-load the procedure without error (i.e. via
dbconsole), but when I call the function below, it throws the error:
====
ActiveRecord::StatementInvalid: Mysql::Error:
2010 Oct 15
18
Newbie - Rails 3 lightbox?
Hello!
I''m trying to create a simple image "popup" effect using Lightbox2,
http://www.huddletogether.com/projects/lightbox2/. But I don''t get it
to work. My code looks lite this:
<span class="ad_image">
<a href="<%= ad.image.url(:thumb) %>" rel="lightbox"><img src="<%=
ad.image.url(:thumb) %>"