Hi guys
Im new to rails i would like to create app with swf file upload with
multiple file upload,
is that any sample app is available with multiple file uploads plz
give me some reference for me
Ur's
Mahesh
--~--~-~--~~~---~--~~
You received this message because
Hi all.. i am working on rails version 1.2.3 (it is must to work on version
1.2.3) ruby 1.8.6. For my project i want to convert text in to images
files.. so that i use rmagick.. it is working fine for only english.. i need
to convert images for multiple languages. I have showed my code below
How to connect to Tandem SQL/MX database from ruby on rails?
Is there any driver available ?
Please reply asap
Regards,
Saravanan A
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To
rake aborted!
wrong number of arguments (2 for 1)
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:
344:in `recreate_database'
Thanks!
Thomas
do you have test database created ?
--
Posted via http://www.ruby-forum.com/.
Check this
http://nasir.wordpress.com/2007/12/03/stored-procedures-and-rails
On Aug 27, 3:09 pm, Chris Dekker rails-mailing-l...@andreas-s.net
wrote:
Adding the 65536 flag seems to allow me to gather a resultset from the
stored procedure, yet my commands go out of sync. Running any query
mahesh wrote:
Hi guys
Im new to rails i would like to create app with swf file upload with
multiple file upload,
is that any sample app is available with multiple file uploads plz
give me some reference for me
Ur's
Mahesh
Use Acts_As_Attachment plugin
2009/8/28 techtimer frmont...@hotmail.com:
Thank you. I removed type and created a new field. Everything is
working great thanks for your help.
For future reference a list of words to avoid can be found at
http://wiki.rubyonrails.org/rails/pages/ReservedWords
Colin
hi,
i have used a relaction has_and_belongs_to_many to implementing a
backoffice where the customer settings categories and products: the
products can have multiple categories, it selet them with a combobox.
Now the problem is the customer ask me needly to choice a category by
default: products
Hey Everyone,
So I have one form that submits information to create 2 models (A, B).
I need the ID of model A to be inserted into model B. But the ID isn't
created until it hits the database (auto_increment). But if for some
reason either item cannot be created or saved I want to abort the
whole
Jason Stewart jason.m.stew...@gmail.com writes:
You can do something like assert_select a[onclick=?], /regexp
here/
Yes, for now I have made like this:
assert_select a#{PUT}[href=?], order_path(order, :update_timestamp = true)
and I have declared PUT in test_helper like this:
PUT =
nas wrote:
Check this
http://nasir.wordpress.com/2007/12/03/stored-procedures-and-rails
On Aug 27, 3:09�pm, Chris Dekker rails-mailing-l...@andreas-s.net
Thanks, but that link did not help me.
For MYSQL it doesn't even work. Stored procedures are called through
'CALL', not 'EXECUTE'.
I have the following three items in the db:
:year_made
# a value between 1980 and Time.now.year
:year_imported
# Local or a value between :year_made and Time.now.year
:year_registered
#If :year_imported == Local
# a value between :year_made and Time.now.year
#else
# a value between
Thanks david.
David Angga carsmetic...@gmail.com writes:
1. (*) text/plain ( ) text/html
you can do it like this:
@headers ||= {}
@headers[HTTP_REFERER] = previous_link_url
get/put/post some_link_url, nil, @headers
hope this would help you.
Well I got that far my
http://github.com/JimNeath/swfupload---paperclip-example-app/
git://github.com/cameronyule/yui-uploader-rails-authentication.git
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
Hi all
I have a form.On filling the details and clicking submit,i would like to
pop up an alert box if the form was saved successfully before
redirecting to the entry's show page.
Kindly Help.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You
Hi all,
Please help me out for authorize.net CIM(customer information manager)
implementation.
thanks
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Hi
i face this problem when i submit the information while evaluating the a
new page in a already done scaffold...the new page is
showans..i write the link_to tag like this %= link_to 'Submit',
:controller = questions, :action = showans, :id = @question.id
%
--
Posted via
Salman Lada wrote:
Hi
i face this problem when i submit the information while evaluating the a
new page in a already done scaffold...the new page is
showans..i write the link_to tag like this %= link_to 'Submit',
:controller = questions, :action = showans, :id = @question.id
%
On 28 Aug 2009, at 08:25, mahesh wrote:
Im new to rails i would like to create app with swf file upload with
multiple file upload,
is that any sample app is available with multiple file uploads plz
give me some reference for me
You can use this plugin
http://github.com/Shopify/active_merchant/tree/master
--~--~-~--~~~---~--~~
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
Ghanshyam Rathod wrote:
Hi all,
Please help me out for authorize.net CIM(customer information manager)
implementation.
thanks
go to this site
http://www.rubyplus.org/episodes/68-Rails-with-Active-Merchant-Authorize-Net-CIM-Gateway.html
--
Posted via http://www.ruby-forum.com/.
Many thanks for the suggestion, but the problem is still here...
My runtime configuration now is:
t...@tex-laptop:~xxx$ jruby -S glassfish
Parsing config file: /home/tex/xxx/config/glassfish.yml
Arguments:
runtimes=1
runtimes_min=1
runtimes_max=1
contextroot=/
Any ideas?
Kind regards
Axinte
validates_date_time plug in may help...
--
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
On 28 Aug 2009, at 09:34, Nik Cool wrote:
Im new to rails i would like to create app with swf file upload with
multiple file upload,
is that any sample app is available with multiple file uploads plz
give me some reference for me
Ur's
Mahesh
Use Acts_As_Attachment plugin
2009/8/28 Salman Lada rails-mailing-l...@andreas-s.net:
Hi
i face this problem when i submit the information while evaluating the a
new page in a already done scaffold...the new page is
showans..i write the link_to tag like this %= link_to 'Submit',
:controller = questions,
Hi,
I tried 'rake thinking_sphinx:index RAILS_ENV=test'
but it throws following error
F:\test_sarasaves\sarasavesrake thinking_sphinx:index RAILS_ENV=test
(in F:/test_sarasaves/sarasaves)
Generating Configuration to F:/test_sarasaves/sarasaves/config/
test.sphinx.conf
Sphinx 0.9.8-release
Thank you guys
i got the solution with help of ur reference, now im trying to view the
file when im clicking the appropriate link i got the result when im try to
show the image but i have a problem when im try in to some other file like
pdf or doc .etc
in my controller i use the following code
Hi guys
What does the below line says
ActionController::InvalidAuthenticityToken
(ActionController::InvalidAuthenticityToken):
-e:2:in `load'
-e:2
Please guide me
--
Karthik.k
Mobile - +91-9894991640
--~--~-~--~~~---~--~~
You received this message
pyou cant post to it through google groups. You have to go in an
physically join their list. The postings APPEAR in google groups, but
posting to and replying to posts must be done through their list via
emailing u...@jruby.codehaus.org . You can subscribe to their list at:
Hi.
I can't be the only one in the world having the wonderful idea to have
a resource named image.
I have a controller named images_controller
I have a route named image, and therefore a helper called
image_path(id).
But using image_path in an action view erb file gives problems, there
hi all,
consider that I'm having 3 models
1)user
2)doc
3)udoc
user model=(id,name)
has_many:udocs
has_many:docs ,through:udocs
doc Model=(id,name)
has_many:udocs
has_many:users ,through:udocs
udoc Model=(id,user_id,doc_id,start_date,end_date)
belongs_to:user
belongs_to;doc
Can
Hello,
I am following the RailsSpace tutorial and am at the point where I am
creating a new user through (user/register)
I have added the details into the form: screen_name, email and
password.
When I click register, I would expect this to be saved (commited) to
the database.
However – when I
Hello all,
I'm trying to create the following:
There is a index page that lists some items, and 'new item' button. I
want the user to be able to click the button, and with ajax the page
will be refreshed to show the new item form.
For that, I added a format.js on my controller, and created a
2009/8/28 Kart akramwasim1...@gmail.com:
hi all,
consider that I'm having 3 models
1)user
2)doc
3)udoc
user model=(id,name)
has_many:udocs
has_many:docs ,through:udocs
doc Model=(id,name)
has_many:udocs
has_many:users ,through:udocs
udoc
Bashar Abdullah wrote:
I think the problem is with the name of the column, :type. It's a
reserved.
Just to clarify, ActiveRecord assumes a column named type is used for
Single Table Inheritance. You can configure the model to tell
ActiveRecord to use a different column name for that purpose,
2009/8/28 RubyonRails_newbie craigwest...@googlemail.com:
Hello,
I am following the RailsSpace tutorial and am at the point where I am
creating a new user through (user/register)
I have added the details into the form: screen_name, email and
password.
When I click register, I would
cheers Colin - i'll try this out.
On 28 Aug, 14:26, Colin Law clan...@googlemail.com wrote:
2009/8/28 RubyonRails_newbie craigwest...@googlemail.com:
Hello,
I am following the RailsSpace tutorial and am at the point where I am
creating a new user through (user/register)
I have
The error message you're getting indicates that ruby is having a
problem loading a dynamic library. From the long error report you
posted on Aug 21 it looks like the problem is related to loading the
sqlite3 library:
/!\ FAILSAFE /!\ Fri Aug 21 12:56:58 -0400 2009
Status: 500 Internal Server
I have a select in a partial (_partialInPartial) , which itself is in
a partial (_partial).
_partialInPartial contains a select. WIthin the select, I
have :selected = nil so that there is nothing selected. When I
redraw it, I therefore expect that nothing will be selected in it.
However, when
seja wrote:
Now open flash is working very fine, but in firefox i want to take
print where i getting only blank page only.
Any Idea... Same way is possible to save this flash report as an
image.
Well, as far as I know Flash won't print. I would guess that Open Flash
Chart has a way to ask
On Aug 28, 3:11 pm, Saty Nos rails-mailing-l...@andreas-s.net wrote:
%= title %
it is showing as '' and after some debugging, looks like @title is not
being set.
Why are the instance variables added in the helpers not available in the
views (templates)?
because you didn;t create an
Hi,
I have pasted a simplified version of the problem you are trying to
understand. You cannot do a 'sum' on a collection that has a 'nil' as
one of its elements. If 'nil' happens to be the first element, you
will get the 'NoMethodError' , as the method '+' is called on it (as
shown in the error
map.resources :images, :as = 'your_custom_name'
You've already read the API about the ActionView helpers so you know
it's not something you can use.
You can post suggestions in Dev but the likelihood of this being changed
is nil.
--
Posted via http://www.ruby-forum.com/.
On Aug 28, 3:23 am, Nik Cool rails-mailing-l...@andreas-s.net wrote:
rake aborted!
wrong number of arguments (2 for 1)
/usr/local/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/tasks/databases.rake:
344:in `recreate_database'
Thanks!
Thomas
do you have test database created ?
--
Posted
I am trying to add some instance variables in helpers like the
following:
module ApplicationHelper
def title=(title)
@title = title
end
def title
@title
end
end
and when I assign title in views/pages/index.html.erb like the
following:
% title = 'Listing Pages' %
and try to show it
SQL provides a LIKE function for simple pattern matching. Also, both
mySql and PostgreSql provide REGEX functions though they may not be
identical in use.
On Aug 28, 10:30 am, Aldric Giacomoni rails-mailing-l...@andreas-
s.net wrote:
Say I have a string : 012345678.
I have a column in a table
... the strange thing is, the code I have written is axactly the same
as that in the railsspace website
(http://railsspace.com/4_register/listing-4-20.txt)
On 28 Aug, 14:33, RubyonRails_newbie craigwest...@googlemail.com
wrote:
cheers Colin - i'll try this out.
On 28 Aug, 14:26, Colin
Say I have a string : 012345678.
I have a column in a table which also stores strings. I want to find all
rows which match that string of numbers in that order.
That is, 012345678 will match, but 012-34-5678 will, and
012sneeze345bless67you8thanks also will.
Do I have to do something like:
2009/8/28 RVince rvinc...@hotmail.com:
I have a select in a partial (_partialInPartial) , which itself is in
a partial (_partial).
_partialInPartial contains a select. WIthin the select, I
have :selected = nil so that there is nothing selected. When I
redraw it, I therefore expect that
Alright, so.. Let's try this:
1) I have a view which one way or another calls a controller action and
wants to update a div.
2) This controller action finds a collection of records and does a
render :partial with said collection
(e.g. : @patients with Patient.last and Patient.first)
3) ...
On Fri, Aug 28, 2009 at 5:20 AM,
RubyonRails_newbiecraigwest...@googlemail.com wrote:
I have added the details into the form: screen_name, email and
password.
When I click register, I would expect this to be saved (commited) to
the database.
And there's no specific error in the log? That's
He is running on Windows.
I had to put sqlite3.dll and tclsqlite3.dll in my c:\ruby\bin directory.
See if that fixes it.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
Hello all,
Here's a newbie question (4 weeks and counting).
My routes.rb is as below.
map.resources :projects, :departments, :users, :admins, :imports, :notes
#Below is route in question
map.resources :projects, :collection = { :view_all = :get }
map.home '', :controller = 'projects', :action
Hi,
i am using ruby 1.8.7 and rails 2.3.3
i can send emails using gmail smtp
my config is:
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.default_charset = 'utf-8'
On Aug 28, 2009, at 11:34 AM, John Mcleod wrote:
Hello all,
Here's a newbie question (4 weeks and counting).
My routes.rb is as below.
map
.resources :projects, :departments, :users, :admins, :imports, :notes
#Below is route in question
map.resources :projects, :collection = { :view_all
I am running rails 2.2.2 and cannot upgrade to 2.3 at this time.
However, I would like to use a default_scope and so I have installed
the default_scope plugin.
This works great for standard AR classes but does not carry through
Single Table Inheritance without adding the default_scope
Since I've been learning rails, I thought that routes are the linking of
the Controller Object to their Action method.
When you set up RESTful routing, you need to add custom or named routes
after the default 7.
To set up custom or named routes, you use map.connect path/to/view,
:controller =
What does the below line says
ActionController::InvalidAuthenticityToken
(ActionController::InvalidAuthenticityToken):
-e:2:in `load'
-e:2
Rails tries to protect against invalid form submission by setting an
authenticity token. It does this automatically if you use the form
helpers,
Hi John,
try this approach:
in the Product class add this function-
require 'uri'
def self.find_custom arg
object = self.new
object.id = URI.escape(arg)
object
end
and in the controller try calling as:
Product.find_custom(params[:id]).view_all
just try it, and let me know.
On
google rails 1 form 2 models
--
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
ROR will attempt to find routes from the top of the file first and then move
on to the rest of the file. It would seem that you have listed projects
twice:
map.resources :*projects*, :departments, :users, :admins, :imports, :notes
#Below is route in question
map.resources :*projects*,
It appears that this is coming from my installed lib/mysql_adapter.rb
which has an incorrect signature for recreate_database (and probably
for other methods as well), so I think I have what I need to solve the
problem now.
Thomas
On Aug 28, 9:50 am, Thomas Allen thomasmal...@gmail.com wrote:
Not quite, in PostgreSql you could use
SELECT * FROM tablename WHERE fieldname SIMILAR TO '[-a-z]*0[-a-z]*1[-
a-z]*2[-a-z]*3[-a-z]*4[-a-z]*5[-a-z]*6[-a-z]*7[-a-z]*8[-a-z]*'
to push all the filtering into the query.
On Aug 28, 11:57 am, Aldric Giacomoni rails-mailing-l...@andreas-
s.net wrote:
John Mcleod wrote:
Hello all,
Here's a newbie question (4 weeks and counting).
My routes.rb is as below.
map.resources :projects, :departments, :users, :admins, :imports, :notes
#Below is route in question
map.resources :projects, :collection = { :view_all = :get }
map.home '',
Colin,
I think what I am asking is, should a redraw of a partial be the
equivalent of a refresh of that partial only? (and if so, would that
hold for a partial in a partial, or is that considered bad form in the
rails world?) -RVince
On Aug 28, 10:56 am, Colin Law clan...@googlemail.com wrote:
I have searched around a fair amount and I have yet to find any info
on getting Paralles to work with Passenger.
My dev box is running Leopard, then I have Parallels set up to run
Vista just for IE really. With Mongrel I could access it thru
Parallels at 192.168.1.100:3000 in IE.
For instance
Frederick Cheung wrote:
On Aug 28, 3:11�pm, Saty Nos rails-mailing-l...@andreas-s.net wrote:
%= title %
it is showing as '' and after some debugging, looks like @title is not
being set.
Why are the instance variables added in the helpers not available in the
views (templates)?
Have you run all the necessary database migrations? Does the books
table have the title and price columns?
I started all over. When I run the rake db:migrate I get this error:
$rake db:migrate
(in /home/deostroll/Desktop/sites/library)
== 20090828225043 Books: migrating
Hello friends
Action i am making a ajax request from a javascript function and i want to
have a spinner ::complete = Element.hide('spinner');, But not able to
insert it,
Is there any one who have an idea?
Thanks
Abhis
--~--~-~--~~~---~--~~
You received this
A client of mine located in Atlanta is looking for a strong Business
Analyst with knowledge of Ruby on Rails and Cucumber. This would be a
Full Time position and they would pay relocation.
I am not proficient in Cucumber so I cannot do this job but I figured
someone here might.
If anyone is
Another tip is to run rake routes to see all the available routes.
On Aug 28, 9:26 am, James Englert englert.ja...@gmail.com wrote:
ROR will attempt to find routes from the top of the file first and then move
on to the rest of the file. It would seem that you have listed projects
twice:
2009/8/28 RubyonRails_newbie craigwest...@googlemail.com:
... the strange thing is, the code I have written is axactly the same
as that in the railsspace website
(http://railsspace.com/4_register/listing-4-20.txt)
Could you bottom post rather than top? That is the convention on this
I have activerecord-sybase-adapter installed -- and Sybase itself, so I
have the drivers.
In irb or in the rails console, this works:
ActiveRecord::Base.establish_connection(
:adapter = “sybase”,
:database = “mydb”,
:host = “myhost”,
:myport = myport,
:username = “read_only”,
:password =
Of course it was the one thing I didn't check and was not in the
error: a leading space in the partial's filename. A twitchy typo, and
a proportional font didn't help either.
On Aug 27, 12:46 pm, Eric ericgh...@gmail.com wrote:
I'm thinking that for some reason Rails isn't seeing a content_type
Rick Lloyd wrote:
SQL provides a LIKE function for simple pattern matching. Also, both
mySql and PostgreSql provide REGEX functions though they may not be
identical in use.
So are you suggesting that I do something like this:
string = params[:social]
# magic on string until string =
On Aug 28, 5:56 pm, elliottg x...@simplecircle.net wrote:
I have searched around a fair amount and I have yet to find any info
on getting Paralles to work with Passenger.
My dev box is running Leopard, then I have Parallels set up to run
Vista just for IE really. With Mongrel I could
Hi,
Time.today fails on my server and works on my dev machine, both run
Rails 2.3.3. What's going on?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
Okay don't worry I got that...and its fixed.
On Aug 28, 9:55 pm, deostroll deostr...@gmail.com wrote:
Have you run all the necessary database migrations? Does the books
table have the title and price columns?
I started all over. When I run the rake db:migrate I get this error:
$rake
2009/8/28 Fernando Perez rails-mailing-l...@andreas-s.net:
Hi,
Time.today fails on my server and works on my dev machine, both run
Rails 2.3.3. What's going on?
Are you sure you are not confusing it with Date.today? I was not
aware that there is a Time.today. There is a Time.now.
Colin
Are you sure you are not confusing it with Date.today? I was not
aware that there is a Time.today. There is a Time.now.
Colin
On my dev Machine:
$ ./script/console
Loading development environment (Rails 2.3.3)
Time.now
= Fri Aug 28 22:51:16 0200 2009
Time.today
= Fri Aug 28 00:00:00
Try extending mysql_adapter.rb and add this method:
def select_sp(sql, name = nil)
rows = select(sql, name = nil)
while (@connection.more_results?())
@connection.next_result()
end
return rows
end
Then call the SP using this method from your
Hi! I am a computer science student and I have a problem I just can't
seem to find an answer to. I would like to embed a read-eval-print-
loop in a website. Essentially, I'd like a window that mimics a
console: the user types in some random text, it is processed, a value
is returned and
Thank you so much, I had the same problem and it worked.
On Jul 31, 2:26 pm, Chris Schumann rails-mailing-l...@andreas-s.net
wrote:
Santosh Turamari wrote:
@from = #{sender}a...@bbb.com
If I submit an email id, It is giving error as
(Net::SMTPFatalError) 555 5.5.2 Syntax error.
On Fri, Aug 28, 2009 at 9:56 AM, elliottgx...@simplecircle.net wrote:
I have searched around a fair amount and I have yet to find any info
on getting Paralles to work with Passenger.
My dev box is running Leopard, then I have Parallels set up to run
Vista just for IE really. With Mongrel I
To fix this, specify ARCHFLAGS when you install the 'mysql' gem:
sudo env ARCHFLAGS=-arch x86_64 gem install mysql -- --with-mysql-
config=/usr/local/mysql/bin/mysql_config
On Aug 27, 12:07 pm, Caleb Cullen rails-mailing-l...@andreas-s.net
wrote:
Martin J. wrote:
Hi,
I installed the
Parallels just blew up on me. Once I get it back online, I'll try what
you have recommended.
Thanks Frederick!
On Aug 28, 1:13 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
On Aug 28, 5:56 pm, elliottg x...@simplecircle.net wrote:
I have searched around a fair amount and I have
I'm having a real problem with nil objects in a view I'm playing with.
if I type ...
%= debug lesson.lesson_register.attendees %
I get the following displayed in the browser
- !ruby/object:Attendee
attributes:
enrollee_id: 25
created_at: 2009-08-27 15:10:41
updated_at:
I can handle building two models from 1 form. It's getting the id from
the first saved model and inserting it in the second and rolling back
the whole transaction if anything goes wrong that is the problem.
On Aug 28, 9:43 am, Ar Chron rails-mailing-l...@andreas-s.net wrote:
google rails 1 form
Hi everyone,
I have recently experienced a strange behavior (strange from my knowledge)
in rails.
In my controllers 'new' action, I am creating a few instance variables in
the following manner :
@controllerModel = ControllerModel.new
@model1 = Model1.all
@model2 = Model2.all
in my 'new' view,
In my application a user working at a dropzone can manipulate
transactions against customer accounts. Here's my models:
class Transaction ActiveRecord::Base
belongs_to :account
end
class Account ActiveRecord::Base
belongs_to :dropzone
has_many :transactions
end
class Dropzone
On Aug 28, 7:38 pm, Jeff Pritchard rails-mailing-l...@andreas-s.net
wrote:
I've been looking for a new gig lately, and have noticed that an
alarming (to me, since I don't yet speak HAML) number of the openings
mention HAML as a required or desired skill.
I noticed HAML out of the corner of
Take a look at the Rufus Scheduler http://rufus.rubyforge.org/rufus-scheduler/
I hope this help you, regards.
Franco Catena.
On Aug 27, 4:59 pm, Rukku Bala rails-mailing-l...@andreas-s.net
wrote:
Hi,
I am trying to achieve the following.. wondering if there is any way to
achieve this..
On Aug 28, 4:44 pm, chris_the_frog cgdjm...@gmail.com wrote:
Hi! I am a computer science student and I have a problem I just can't
seem to find an answer to. I would like to embed a read-eval-print-
loop in a website. Essentially, I'd like a window that mimics a
console: the user types in
On Aug 28, 4:56 pm, Fernando Perez rails-mailing-l...@andreas-s.net
wrote:
Hi,
Time.today fails on my server and works on my dev machine, both run
Rails 2.3.3. What's going on?
--
Posted viahttp://www.ruby-forum.com/.
Whats are the respective Ruby versions? Time.today exists on 1.8.7,
but
Hi --
On Fri, 28 Aug 2009, Bryan Ash wrote:
In my application a user working at a dropzone can manipulate
transactions against customer accounts. Here's my models:
class Transaction ActiveRecord::Base
belongs_to :account
end
class Account ActiveRecord::Base
belongs_to :dropzone
how do you send the email? Is there a controller action that sends the
email?
On Aug 28, 10:19 am, Ritvvij ritvi...@gmail.com wrote:
Hi,
i am using ruby 1.8.7 and rails 2.3.3
i can send emails using gmail smtp
my config is:
ActionMailer::Base.raise_delivery_errors = true
David,
thank you so much, that was the correct answer.
My complete association extension is now:
class Dropzone ActiveRecord::Base
has_many :transactions, :through = :accounts do
def limited_to(transaction)
scope = Transaction.scoped({ :conditions =
['accounts.dropzone_id = ?',
It sounds like your routes are set up alright, but yeah, you'll still
need to add code so your action knows how to handle it.
In your ProductsController#index action, you probably have something
like this?
@products = Product.all
Since you have category_id in the params, something like this
I am using acts_as_tagged_on_steriods for tagging which works well for
single word tags.
When clicking on tags with multiple words (tags with spaces in them -
ex: ruby rails), spaces are also displayed in URL.
How do I eliminate those spaces in URL?. I tried using permalink, by
creating a Tag
99 matches
Mail list logo