Displaying 20 results from an estimated 80000 matches similar to: "Problem with daemonizing rails3"
2011 Mar 02
2
Rails3 Uploading a File over AJAX
What is the Rails Way of uploading a file over AJAX with Rails 3? In
previous versions of Rails, I''ve posted to a targeted iframe and used
responds_to_parent to render the response. This doesn''t appear to be
working with Rails 3. Anyone know a better solution?
Thanks!
Tom
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Dec 02
1
How to implement ActionMailer callbacks for rails3?
Hi,
Is it possible to implement callbacks(like
before_deliver :some_methodes, after_deliver :other_methods) with
ActionMailer in Rails3?
Please somebody help me or give me an idea :)
Already I saw http://railscasts.com/episodes/206-action-mailer-in-rails-3
but it I like to do it as callbacks
--
Best Regards
Abdul Barek
Senior Software Engineer
--
You received this message because you are
2011 Apr 18
2
Rails3 integration with SourceForce
Hi,
I looking forward to integrate Rail3 application with
SourceForce. Any help in this regard is appreciated.
Thanks,
Balakrishna
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody,
I''m trying to use the prawn gem into a new rails3 application on debian.
What I did:
As root:
- install rubygems, from
http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz
- gem install rails
- gem install prawn
- gem install pdf-reader
- gem list | grep prawn =>
prawn (0.8.4)
prawn-core (0.8.4)
prawn-layout (0.8.4)
2011 Feb 07
1
[Rails3] How to define RAILS_ENV for rake?
With Rails3, it is no longer possible (well soon to be deprecated) to
do:
$ RAILS_ENV=test rake db:migrate
So what''s the new way of doing it?
--
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 Oct 19
4
Rails3 on bluehost??
I''m trying to deploy a rails 3 app to bluehost... Does anyone have
related experience??
I tried a few hours, still struggling....
Many thanks...
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2010 Aug 22
1
rails3: t.index in migrations not working anymore
Hello,
I''m playing around with Rails3 and trying to upgrade one of my
applications to Rails 3.0.0.rc and I get an error which should be still
working.
Migration:
t.index :name
When I execute rake:
rake aborted!
An error has occurred, all later migrations canceled:
undefined method `index'' for
#<ActiveRecord::ConnectionAdapters::TableDefinition:0x4b2b6b0>
Does some one
2011 Mar 18
1
using Geokit with rails3
HI all i am a newbie ,and starting a rails 3 application and my
application needs geokit plugin .so anybody knows how to install
geokit plugin in rails 3 and using it with the application?
I am using ruby 1.9.2 and rails 3.0.3 with mysql2. pls help..
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2011 Jul 22
1
rails3 tutorial: testing with factories
I''m having trouble understanding what the assigns() method does, as
described at the following link:
http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-two#sec:better_user_views
The User model has been ''rake db:test:prepare''ed, but I checked and no
records were
copied to the test db after doing that. Yet the description of
assigns() says that the
code:
2010 Jul 08
1
[Rails3] Issue in modifying locale and redisplaying page
In a test app, I have a drop-down selection to change the language of
the site.
I use an Ajax request to an action in which the locale is changed, and
the it''s redirected to the home page
unfortunately, the locale seems to be changed but the home page
doesn''t reflect the new language ..
application_controller.rb
.. before_filter :set_locale
def set_locale
I18n.locale =
2010 Jul 01
2
Rails3 rails console throws error
Hi,
I am trying Rails 3 and I am using RVM to manage the ruby versions.
Using RVM I had installed ruby versions 1.8.7, 1.9.1 and 1.9.2
When I do "rails console" I am getting the following error and console
isn''t starting: http://www.pastie.org/1026503
Since I dont require 1.9.1 any more to work with Rails 3, I un-installed
it using the following command:
rvm uninstall
2010 Sep 21
7
Ajax CSRF in Rails3
I''m using rails3. It does not seem to check the authenticity_token
when doing a POST using Ajax. I traced this to:
module ActionDispatch
class Request < Rack::Request
.....
def forgery_whitelisted?
get? || xhr? || content_mime_type.nil? || !
content_mime_type.verify_request?
end
end
so you don''t check if its a get? or a xhr? (ie ajax request). Is this
correct?
--
2011 Apr 03
1
Timezone ActiveRecord and Rails3
I want to store, retrieve and handle all times inside my app in just one
Timezone. => "New Delhi"
for that I''ve set in my application.rb file,
config.time_zone = "New Delhi"
When i create a record like
Event.create(:when => DateTime.new(2011, 5, 7, 16, 0, 0))
it creates an event record in my mysql db (local) with "when" field as
"2011-05-07
2011 Jul 07
0
Rails3 Mailer html / text versions order
I am sending the emails as per the documentation order : html /
text
but users are receiving the text version first and not the html ( need
to switch to an alternative version ..)
I guess I missed a point but which one ?
thanks for your help
RAILS DOC ========
class UserMailer < ActionMailer::Base
default :from => "notifications-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org"
2010 Sep 12
0
observe_field for jquery + rails3
I am porting one application to Rails3 and want to know what is the
right way to do "observe_field" with Rails3?
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2010 Oct 21
0
attachment in the database with thumbnail generation - rails3
What is the best solution for handling blob database storage with
rails3?
I used attachment_fu before, but it doesn''t seem to work well with
rails3. Anyone got it working?
paperclip seems nice, but i need database storage for backups and
security.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2011 Nov 09
0
beginner question: how do I figure out why an app won't start? (RubyMine)
I''m building a new Ruby app with RubyMine. I built a basic app (just a
homepage) and it is running fine. Next step is to get the app talking
to MongoDb. I''m using this tutorial:
http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started
also tried this one: https://github.com/RailsApps/rails3-mongoid-devise
The problem is, after running through the tutorial and starting my
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i
check after the execution, the development.log is empty...How to rectify
this problem...
*development.rb*
*
*
ApiMofobi::Application.configure do
# Settings specified here will take precedence over those in
config/application.rb
# In the development environment your application''s code is reloaded on
#
2010 Sep 09
0
Rails3: jquery-rails gem sets 'config.action_view.javascript_expansions' but cannot be overriden in 'config/application.rb'
Hello,
I''ve created a new Rails3 app and I''m using jQuery instead of prototype.
Gemfile:
gem ''jquery-rails''
in my config/application.rb I want do the following:
config/application.rb
if Rails.env.production?
config.action_view.javascript_expansions[:defaults] = %w(jquery.min
rails application)
else
2010 Sep 30
0
upgrade to Rails3 question
Hi!
After upgrading to Rails3 and the latest plugins, two of the plugins:
delayed_job and oauth_plugin don''t work.
They display a similar problem, I am not able to use methods they
provide. In delayed_job''s case I can''t use Model.delay.method
(undefined method) and with oauth_plugin adding oauthenticate in the
controller returns undefined method too.
Could I have