similar to: Precompile with compression in development

Displaying 20 results from an estimated 100 matches similar to: "Precompile with compression in development"

2006 Mar 16
6
Newbie question - Rails without database
Hello to all, I am entirely new to Ruby and also to Ruby on Rails. As far as I understand, Rails builds its model according to the a specified table structuree in in the database. However, most of my applications, are for the most part (except some backend CRUD stuff) not database centric. They do a lot of calculation for the user. So, how can I create a model, when no database is needed,
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello, I''m a total newbie, so please forgive my ignorance. I am trying to port an application from java to ruby. In order to do that, I need to put the object containing all the business logic into something like application scope. The nicest solution would be just to have an application wide hash, where I can put all kinds in of objects. Where and how would I instantiate such an
2006 Jul 09
4
concurrent ajax requests
Hello, maybe someone on this list can help me. I am trying to implement a sort of long database search. In order inform the user about what''s happening, status messages should be displayed to the user while the request is working. e.g. - starting search process - currently searching through database A - found 10 results - currently searching through database B - found 25 results -
2006 Mar 30
6
Stable Production Environment on Unix/Linux
Hello, I wonder what would be the most stable production runtime environment for a rails application on Unix/Linux. I am not very fond of FastCGI indeed, since it''s not seen any further developement lately. What are your experiences e.g. with the mongrel server? Has anybody used it for production? What are the alternatives? May be some fine lad could just point me to web site
2006 Jul 18
6
backgroundrb - Connection closed
Hello, maybe someone can help with backgroundrb. I''ve written an application, which makes use of backgroundrb. Everything works fine on my development machine, but it crashes on my production server. Something seems to be wrong with backgroundrb, but I don''t know the cause. All I get is the error message attached below, which is extracted from the production.log. I
2006 Mar 20
1
Location to startup DRb Server
Hello, where (in which file/object) would I invoke the startup of the DRb server to support a rails application? It wouldn''t be config/boot.rb ? How would I shut it down cleanly? Greetings Michael Kastner
2006 Mar 22
1
Please: Desperately Seeking Session expiration (DRbStore)
Hello, this is killing me: i can''t find a way to let idle sessions expire after a certain period of time. If they don''t expire, they will pile up until there''s no more memory available. Please, can anybody give me a hint? Basically, all I need is a hash or list with all the sessions in DRbStore. Greetings Michael Kastner
2009 Aug 06
18
Best Practices Question
Should models call action mailers, or should those calls always originate from controllers? For example, should user.forgot_password send the email, or should the user_controller.forgot_password? Just looking for some opinions... Thanks, Tom
2013 May 17
1
Heroku - Event_Calendar - preventing assets precompile
My App is hosted currently on Heroku, and I attempted to use elevation/event_calendar <https://github.com/elevation/event_calendar> to display events because it supported multiday events. I had it working locally and looking great, but when I tried to push it to the server, it caused error during the assest precompile. This in turn brought the whole site down. I had to roll back a few
2011 Aug 18
1
Rails 3.1rc6 assets / precompile change
I''m currently using Rails 3.1rc5, and deploy with capistrano. During deploy, I precompile the assets on the server using assets:precompile after deploy:symlink. I noticed that "group :assets" gems in my gemfile were being included in my production application processes (and adding a lot of memory usage), even though they are only used during the deploy. It looks like this
2007 Feb 04
0
samba precompile for DGUX motorola
Might any one have a pre-compile of samba for the old DGUX Motorola platform left anywhere? Thanks Tom
2013 May 23
1
rake assets:precompile issue with JS and stylesheets files with similar name
Hi, I''ve got following two files with same names under javascripts and stylesheets directories as: - app/assets/javascripts/test_vendor.js - app/assets/stylesheets/test_vendor.scss Essentially a JS and an stylesheet files with same name. -------------------------------------------------------------- I want these files to be precompiled and served from public directory. Thus I
2014 Jan 22
1
Linking to native routines in other packages
Dear all, in my package 'stochvol' I have unsuccessfully been trying to make a C routine called 'sampler' available to be called from other packages' C code. Following http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages I have included #include <R_ext/Rdynload.h> R_init_stochvol(DllInfo *dll) {
2013 May 14
4
rake precompile:assets throwing error
While running rake precompile:assets i''m getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection'' for ActiveRecord::Base:Class Please help -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2006 Apr 04
0
Session-Problem: singleton can''t be dumped
Hello, after having changed the session store from CGI::Session::DRbStore to CGI::Session::ActiveRecordStore, I keep getting an error which says: singleton can''t be dumped However, my session object is not a singleton. Does anybody know what causes this error? I can also post the full stack trace, if required. Greetings Michael Kastner
2006 Mar 21
0
mod_scgi build problems on FreeBSD
Hello, is anybody using mod_scgi on FreeBSD? I can''t build it from the port. Anybody else having build problems? Greetings Michael Kastner
2005 May 07
0
Asterisk@Home on OnComputers Show Sunday morning
>From somewhere in Cyberspace to all points on the compass its the On Computers Radio Show. Sunday's show will be all tech talk with the team. Peter Kastner will start off the show by talking about this week's hot news stories then the gang will continue on with tech talk. During the second hour, we will be joined by Kerry Garrison of the <http://geekgazette.com/> Geek Gazette
2009 Jul 16
9
Please help me understand how arrays are translated in rails
I''ve spent hours researching the subject and have tried many test sequences in IRB, and rails console but I''m just having trouble making headway into what is probably a very easy subject. I understand arrays with at least 4 other languages but with Ruby I haven''t found a mental connection with how I can assign variables to arrays.. Take for example: def
2011 Sep 13
0
Building R package with precompiled shared library
Dear R users, we are trying to build a R package that includes a precompiled shared library, let's say mylib.so. We created the skeleton of the package and we moved the mylib.so file into the libs folder that we created at the same level of the folders man and R. Moreover we created the file NAMESPACE and we added the line useDynLib(mylib, .registration=TRUE). The building step seems to work
2011 Sep 13
1
"Isn't precompiled" message while compiling
I have one JS library that references image assets in /app/assets/images/subdir/. When I execute "bundle exec rake assets:precompile RAILS_ENV=production", I receive an error that the image file in /subdir/ isn''t precompiled ... while I''m telling it to compile all assets. I''ve tried clearing out /public/assets/. Any ideas? Thanks, Christopher Thielen --