similar to: Pre-populating volumes

Displaying 20 results from an estimated 9000 matches similar to: "Pre-populating volumes"

2012 Jan 04
0
how to avoid pre-compile on deployment ..
I commented the following code in my deploy.rb , to avoid pre- compiling upon deployment .. # namespace :assets do # desc "Compile assets" # task :precompile, :roles => :app do # run "cd #{release_path} && rake RAILS_ENV=#{rails_env} assets:precompile" # end # end but it seems to have no effect .... cap deploy log show precompiling again... .....
2004 Aug 23
0
Pre-populating winbind idmap doesn't work.
Greetings, (re-phrased posting) In order to get CIFS and NFS interoperability in an EMC Celerra environment I'm trying to pre-populate a Samba winbindd idmap database (/var/lib/samba/winbindd_idmap.tdb) with some fixed entries. My thought was that a "net idmap restore" from a manually generated file should match the output from a subsequent "net idmap dump". But it does
2007 Jul 24
0
Pre-populating a has_many relationship?
I am disappointed with myself that I can''t find the answer to this, but I''ve spent the morning trying various things and am obviously missing something. I have a simple setup where a Plan has_many Years. What I want to do, upon creation of a new Plan, is to also set up a certain number of Year objects. Each Year will be initialized according to variables dependent on context,
2011 Jul 11
2
Pre-populating association
Hello, I think this is an easy one for the average Rails developer but I''m a bit stuck. I''m creating a simple voting app: any user can create a survey, with any number of questions, and other users can then vote by creating a ballot for that survey. Here''s the modeling: class Survey < ActiveRecord::Base has_many :questions has_many :eligibilities has_many
2020 Jun 27
0
[centos/centos.org] branch master updated: Updated/Removed/Added sponsors to reflect actual list
This is an automated email from the git hooks/post-receive script. arrfab pushed a commit to branch master in repository centos/centos.org. The following commit(s) were added to refs/heads/master by this push: new cd66094 Updated/Removed/Added sponsors to reflect actual list cd66094 is described below commit cd660941183914fe0e97c622fb0ec03828d4a0db Author: Fabian Arrotin <arrfab at
2011 Mar 08
1
form_tag for search bar with Rails 3.0.5
I have a controller and view that should be providing a search bar that brings up that brings up a selected record on submission. I have tried several variations, including just specifying the assets_path, but usually end up with either an error or a submission to the index action, rather than the show action. Currently, I have the following in my index.html.haml: = form_tag({:controller =>
2012 Nov 23
0
problem font-face routes css
Hi I have a problem with font-face routes on the server,when I open the site in windows, when I do with linux, works . both use chrome latest version. -the fonts are in /assets/fonts/ -in /assets/stylesheets/fonts.css.scss @font-face { font-family: ''OswaldLight''; src: url (''/assets/Oswald-Light-webfont.eot''); src:
2014 Jun 11
0
my webpage does not send emails confimation/notification
Hello everybody I have a problem with my inquireis, when I want to contact and I send the message, I must receive two emails one of confirmation (client) and other of notification (admin of the web page) but it does not send. The webpage work in production environment. When I watch the log (production.log) I seed this: > > There was an error delivering an inquiry confirmation: > 503
2012 Aug 04
6
Automatic asset paths prevent logical asset organization
In 2fe70c1 (last year), rails changed from a static list of assets.paths to automatically register any path under assets/*. (This was not reflected in Rails Guides so I pushed an update to docrails.) However, in my opinion, these automatic asset paths create confusion. The result is that the first-level directories under `(app|lib|vendor)/assets` get swallowed and if I put assets into a
2013 Jul 10
0
ActionView::Template::Error Not a directory vendor/assets/javascripts/ production
Hello, In production environment, I have this error ActionView::Template::Error Not a directory vendor/assets/javascripts/holder.js when in my template I have this line <%= image_tag "holder.js/150x200" %> My production.rb is : Libapp::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded
2014 Apr 26
0
jquery_ujs.js 404
I am getting this annoying error which relates to jquery_ujs.js not being served. Any clues? This is the site link: http://test.kopy.com.br/home/index GET http://test.kopy.com.br/assets/jquery_ujs.js?body=1 404 (Not Found) index:11 GET http://ads.panoramtech.net/loader.js?client=tac net::ERR_BLOCKED_BY_CLIENT rev.js:4 Error in event handler for (unknown): Cannot read property 'state' of
2006 Apr 24
2
Checkboxes - Saving a Checked record to another table
I am displaying a bunch of records from a table called "assets". Next to each record i have a checkbox. When this box is checked i want to be able to save the id of the record into another table called "flagged_assets". All I need is the ID, nothing else. Im struggling with the logic to save to another table. I know how to do it if the asset_id is already in the
2008 Mar 12
2
nested routes with a 2-way has_many using join table?
I have two classes, InstructionalObject and Assets. They both have_many of the other, implemented through a join table (so it''s like a habtm without the habtm). For the next version of our app, we''re refactoring to RESTful, and i''m having trouble with my nested resources/routes. I tried this, in routes.rb: map.resources :assets do |assets| assets.resources
2012 Jan 24
0
PCA for assets based household income analysis (" hetcor" and "princomp")
I am doing Principal Component Analysis (PCA) on assets data for household income prediction. The problem is that the assets data are rank ordered (usually binary ... possess car/don't possess car), so the normal correlation is inappropriate for the calculation of the PCA. Instead one has to use the polychoric correlation coefficient. It uses the "random.polychor.pa" package.
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi, I''m trying to properly reference a .css file. Unfortunately the asset pipeline is doubling my css references which disables my code. What gets rendered is: <link href="/assets/sincoraish-screen.css" media="screen" rel="stylesheet" type="text/css" /> <link href="/assets/sincoraish-print.css" media="print"
2006 Apr 24
4
Joined search returns NIL ids
I have two models: assets and makes. Make has many assets and an asset belongs to one make. I am calling this part of my asset controller from a search form with the parameters "search" (search term) and "field" (database field heading) which then renders a partial with the search results on it. ######################################################## if
2012 Feb 26
0
Served asset /application.css - 304 Not Modified
Hi I am thinking to hide warning that is ”Served asset /application.css - 304 Not Modified”. How can I fix something if I change the settings? I''ve run that is less than server: rails new myapp cd myapp rake db:migrate rails s client: http://localhost:3000/books warning: Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2012-02-26 14:48:35 +0900 Served asset /books.css
2012 Feb 12
0
Rails reading from wrong assets folder
Hi, I''m having some trouble with the rails on my webhost. Something went wrong when switching from 3.0 to 3.1 and configuring the assets pipeline. Been following the guide: http://guides.rubyonrails.org/asset_pipeline.html#upgrading-from-old-versions-of-rails But it didn''t do the trick. The weird thing is that I now have 2 assets folders (I guess one got generates from rails or
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
2023 Jul 11
0
[centos/centos.org] 02/02: Removing estruxture from active sponsors
This is an automated email from the git hooks/post-receive script. arrfab pushed a commit to branch main in repository centos/centos.org. commit 411cbb1912b8a61c406f2a705a2c3d77a21933e9 Author: Fabian Arrotin <arrfab at centos.org> AuthorDate: Tue Jul 11 08:49:21 2023 +0200 Removing estruxture from active sponsors Signed-off-by: Fabian Arrotin <arrfab at centos.org> ---