Displaying 20 results from an estimated 50000 matches similar to: "in production environment Rails 2.3 always ask for helpers"
2010 Apr 21
0
Is it possible to generate a breadcrumb from Rails controller?
Dear all,
Is it possible to generate a breadcrumb from Rails controller without
using any additional plugin? What methods should I look into to be
able to generate breadcrumb in Rails?
Thank you very much in advance for your assistance.
Kind regards,
Joshua
--
http://twitter.com/scrum8
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone,
I need some help related to the below requirements:
-> I need to setup production environment without installing Ruby or
Rails or other related gems into it.
I did accomplish the same using JRuby, bundler and warbler plugin. And
deployed the WAR file into Apache Tomcat server. But now I have to do
this without JRuby & Apache Tomcat.
-> I have to setup Apache with
2010 Oct 15
2
include ActionView::Helpers in Rails 3?
How do you do the equivalent of:
module MyLibrary
include ActionView::Helpers::AssetTagHelper
end
...in Rails 3?
I''m trying to upgrade my app from 2.3.9 to 3.0.1 and I have some stuff
in /lib that needs to include these helpers from ActionView. It works
fine in 2.3.x, but in 3.x it''s giving me the error:
undefined local variable or method `config''
One of the
2010 Mar 08
0
Instantiating Controller Object on Rails3 for unit testing
Dear all,
I am experiencing this error when doing unit testing:
Authlogic::Session::Activation::NotActivatedError: You must activate
the Authlogic::Session::Base.controller with a controller object
before creating objects
I know this is not an error from Rails but I encounter this when doing
unit testing in Rails. This error happenned because my model has
dependencies to 3rd Party library named
2010 Apr 01
1
How to improve rails helpers
Hey boys, just wanted to let you know I published a post about
ActiveHelper [1] , a framework I released earlier this week to clean-
up helpers and put them back to classes using delegation and
inheritance.
The post [2] studies briefly how rails'' own helpers could be cleaned
up with ActiveHelper. Consider it as an RFC, i''m waiting for comments,
critics, proposals etc as I really
2010 Nov 19
0
how to include view helpers in both action_controller and action_mailer templates (rails 3)
There''s some terse documentation that helpers can be shared between
action_controller and action_mailer, but I have yet to find an example
of how this is done. Right now, I''m trying to use a "markdown" method
in the view templates for both. I have put the method in the
application helper (app/helpers/application_helper.rb). It works in
the view templates called from
2010 Sep 24
0
Rails 3, using helpers in controller
Hi everyone,
is there any way how to use Helpers in Controllers in Rails 3? I was
trying to google about it, but no luck.
In old Rails times (2.x) we were using something like this.
my_active_record_object.variable = "This is the message body:<br /><br
/> #{@template.simple_format(params["message"])}"
point is that when we wanted to attach text from Text Area to
2010 May 13
2
A second production environment
Hi,
I''m attempting to create a second production environment, because I have
multiple databases to maintain, and production is much faster. So now I
have 2 ''production style'' environments, called ''production'' and
''apiloc_production''
To create the apiloc_production environment, I added a new entry in
database.yml:
apiloc_production:
2011 May 25
0
(solution) .js and .css error when using production environment
When changing to a production deployment with a single rails instance,
NOT proxied, errors showed up on the console, and of course .js and .css
files were not served as a result:
ActionController::RoutingError (No route matches
"/javascripts/application.js"):
ActionController::RoutingError (No route matches "/favicon.ico"):
Solution:
in config/environments/production.rb:
2010 Aug 22
0
Ask for best practices on rails-bestpractices.com
Hi
http://rails-bestpractices.com added a new feature, asking for best
practices, it allows users to ask for a best practice about
any rails related work, such as "How to detect N+1 queries?" and "How to
upload a large file with progress bar?". Then everyone can post your answer
with your own best practice solution to the questions. Check it
2012 Jan 03
1
Rails 3.1 assets pipeline issue in production
I am running a jwplayer with an open ads server plugin .. it''s running
fine in development, ads are served , but not in production on the
remote server... I guess it''s related to the plugin file access ...
in development , I wrote in the script :
''plugins'': {
"/assets/jwplayer/ova-jw.swf": {
"overlays": {"regions": [{
2010 Nov 26
1
rails 3.0.3 in production css js do not load HELP
in rails 3.0.3, when up app in production mode... the css and js
cannot be loades... anyone know how to handler it to make it works?
in rails 3.0.3 qdo rodo a app em mdo producao... os css e js se tornam
inacessiveis, alguem sabe como consigo ajustar isso?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2014 May 19
0
Missing production secret_key_base in rails
Hi,
I have asked this question on github<https://github.com/rails/rails/issues/15175>
.
Senny answered me to set
export SECRET_KEY_BASE =d1f4810e662acf46a33960e3aa5bd0
************************
in your peoduction server. but I do not know how to set that. I am
deploying in openshift. I also have access to SSH via putty. I have tried
this command in SSH but it gives an error "Invalid
2013 Nov 28
0
rails generate session_migration -e production
hi,
whenever i run that command it says that the user specified in the
development section cant access the db. why is it pulling from the
development section?
thx
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
2013 Sep 26
0
Production quality Rails 4 chat demo?
Hi Everyone,
I''m trying to use Rails 4''s ActionController::Live functionality to do a
chat-like interface in my app. I''ve found a number of blog posts, all of
which seem to be based on Aaron Patterson''s original one here:
http://tenderlovemaking.com/2012/07/30/is-it-live.html
Has anyone here successfully gotten this to work well enough for
production? I assume
2012 Apr 07
0
RAILS HIGHCHART HEROKU PRODUCTION illegal character
HI am using Highchart on rails on heroku.
View Source of : http://localhost:3000/highchart RAILS_ENV=production
series: [{name: "Restaurants",pointInterval: 86400000,pointStart:
1207526400000,data: [[1325462400000, 4], [1325462400000, 5],
[1325462400000, 3], [1328140800000, 5], [1328140800000, 3], [1328140800000,
4], [1330646400000, 3],
View Source of :
2010 Oct 27
2
passenger for both rails 2.3 and 3.0
Hi,
I installed ruby 1.8.7 and passenger 3.0 for apache2 on Ubuntu 10.10.
Rails 2.3 works fine.
But Rails 3.0 gives an error saying that rack version is not 1.2.1.
If I upgrade the rack to 1.2.1, then rails 2.3 app complains that the
rack version is not ~>1.1.0.
How do I satisfy both rails 2.3 and 3.0?
Passenger standalone seems to be an option but I want to know if there''s
a better
2010 Apr 25
1
Has anybody succeed in getting Rails 3 to work in production?
Has anybody succeed in getting Rails 3 to work in production? I am
trying with Apache 2.2 and Passenger 2.2.12 but no luck. If you have
got Rails three to work in production on any server with any set up
could you please post the details (howto?) or a link to where such
information can be found.
All input gratefully received.
Paul Thompson
--
You received this message because you are
2010 Nov 26
0
db connection pool in Rails 2.3.x
Any idea how to set db connection "idle timeout" and "min. number of
connections" when configuring connection pool in Rails 2.3.x? These
settings are required since we want the db connection pool to warm up at
application/server startup. Required for a heavy usage website.
We are using JRuby and found one option in JRuby on Rails (uses J2EE
server''s connection pooling
2009 Dec 31
0
Savage Beast For Rails 2.3
Hello rails..
I have some difficulties when integrate savage beast forum with my
rails app 2.3.
I found error :
uninitialized constant SavageBeast::UserInit::Monitorship
and then about routes..., how to set routes in order to when access
http://mysite/forums the savage beast forum can be run.
Anyone has a real implementation savage-beast in a rails app.., I
thinks that will very help