Displaying 20 results from an estimated 400 matches similar to: "Ruby on Rails Asset pipeline - Pro and Cons"
2009 Nov 24
4
Method
Hello, i would like to ask you another question. Is exist anymethod to
vectors that tells me the last element?That is to say,I have a vector, I
want to return the position of last element. I hope having explained.
A greeting,
Ignacio.
--
View this message in context: http://old.nabble.com/Method-tp26493442p26493442.html
Sent from the R help mailing list archive at Nabble.com.
2011 Jul 22
0
Asset Pipeline and Sprockets
Ok I would love to work out how to use the new Raisl 3.1 Asset
Pipeline with SCSS variables, mixins etc and being able to use the
asset_path tag.
What I have so far is this. Im my application.css.scss I have the
following.
*= require_self
*= require layout
*= require home
This works fine with using the asset_path helper and variable within
layout ie,
// layout.css.scss.erb
2013 Apr 22
0
Using rack-offline with the asset pipeline (images not cached)
Hi,
I''ve been trying to incorporate https://github.com/wycats/rack-offline into
my app. I followed the example in the readme that shows how to cache
application.css and application.js files and that works.
When I go to my browser in production mode, though, and turn off my network
connection, then reload the app, the app is reloaded successfully, except
for the images.
I think I
2011 Sep 04
1
Linking failure in stylesheet_link_tag in production mode with asset pipeline enabled
Hey,
in my `application.html.erb`, I have this line:
<%= stylesheet_link_tag ''application'' %>
which should compile through the asset pipeline and link to the
application.css (which does a `require_tree .`). In development mode,
I''d expect a
<link ... href="/assets/application.css" />
This file is actually delivered by, for example, the
2011 Nov 26
0
Asset Pipeline negated css auto width margins
If I use the asset pipeline my auto width margins don''t work. The
content box is shoved far left.
If I disable asset pipeline it works as expected.
Any ideas?
Thanks,
Steve
--
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
2012 Mar 15
0
Make Asset Pipeline compatible with Chrome DevTools Autosave
https://github.com/NV/chrome-devtools-autosave doesn’t play nice with Asset
Pipeline. https://github.com/NV/chrome-devtools-autosave/issues/27
The culprit of the problem is in the asset’s URLs. I cannot decipher a file
path by its URL. For instance, /assets/main.css?body=1 could be either
app/assets/stylesheets/main.css, lib/assets/stylesheets/main.css
or vendor/stylesheets/main.css.
To fix
2012 Jul 27
0
How to get asset pipeline host url in Grape Api
Hi All
how can i get the asset pipeline host url in grape api to append to the
image url
in config/environments/development.rb
ActionController::Base.asset_host = "assets.example.com"
i have configured the asset url. How can i generate this image with asset host url in grape api
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Mar 27
0
Offline apps and Asset pipeline Problem in rails3.2
I have a question about using rack-offline with asset pipeline in
rails3.2.2. rack-offline creates application.manifest for local caching.
This gem watches file modification then re-generate hash-key in manifest.
I confuse offline apps with asset pipeline. asset pipeline provides
variable paths file to assets/foo.js (actually
app/assets/javascript/foo.js). I use `config.assets.debug = false`
2011 Aug 20
1
Asset Pipeline (Rails 3.1.0.rc4)
Hey all,
I''ve got an issue trying to figure out this asset pipeline stuff... So
in my application layout, I have:
<%= stylesheet_link_tag "application" %>
which translates the URL to /assets/application.css in the HTML output.
The problem is that it can never find it -- I can see the file under
app/assets/stylesheets/application.css . I''ve tried moving it
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"
2011 Nov 26
3
Asset pipeline giving me hard time. Please help !!! - (rails 3.1.3)
I am using rails 3.1.3.
Inside config/ application -> config.assets.enabled = true
Inside development.rb -> config.assets.compress = false
Inside production.rb -> config.serve_static_assets = false;
config.assets.compile = false
I have images placed in assets/images. If i do localhost:3000/assets/
image I get the image in the browser, but
unfortunately, on the browser i am
2009 Sep 15
2
wilcox.test p-value = 0
hi, folks,
how have you gone about reporting a p-value from a test when the
returned value from a test (in this case a rank-sum test) is
numerically equal to 0 according to the machine?
the next lowest value greater than zero that is distinct from zero on
the machine is likely algorithm-dependent (the algorithm of the test
itself), but without knowing the explicit steps of the algorithm
2011 Aug 31
4
Issue with asset pipeline helper with Rails 3.1 final release.
Hi, I''ve just updated my app to the final 3.1 release and deployed it to the
staging server after running tests but there is a problem with the
precompiled assets. The precompiled assets are all in the public directory,
like they were before, Capistrano doesn''t throw any error and running `rake
assets:precompile` in the current directory work as expected. But the asset
2010 Jun 28
1
(New) Popularity of R, SAS, SPSS, Stata...
Greeting Listserv Readers,
At http://r4stats.com/popularity I have added plots, data, and/or
discussion of:
1. Scholarly impact of each package across the years
2. The number of subscribers to some of the listservs
3. How popular each package is among Google searches across the years
4. Survey results from a Rexer Analytics poll
5. Survey results from a KDnuggests poll
6. A rudimentary analysis
2009 Aug 12
1
psi not functioning in nlrob?
Hi all,
I'm trying to fit a nonlinear regression by "nlrob":
model3=nlrob(y~a1*x^a2,data=transient,psi=psi.bisquare,
start=list(a1=0.02,a2=0.7),maxit=1000)
However an error message keeps popping up saying that the function
psi.bisquare doesn't exist.
I also tried psi.huber, which is supposed to be the default for nlrob:
model3=nlrob(y~a1*x^a2,data=transient,psi=psi.huber,
2011 Sep 18
12
3.1 asset pipeline + Capistrano troubles
Hello,
I''m having a bit of trouble with the asset pipeline and, I think,
Capistrano.
In my app layout I have:
<%= stylesheet_link_tag "application", "bootstrap" %>
And the relevant bits of the app dir structure are:
app/assets/stylesheets/application.css.scss # Contains ''require_self'' and
''require_tree .'' as usual
2010 Aug 23
3
DNA sequence Fst
Hi,
I want to analyse DNA sequence data (mtDNA) in R as in calculate Fst,
Heterozygosity and such summary statistics. Package Adagenet converts the
DNA sequence into retaining only retaining the polymorphic sites and then
calcuates Fst.. but is there any other way to do this? I mean analyse the
DNA sequence as it is.. and calculate the statistics?
Thanks!
[[alternative HTML version deleted]]
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": [{
2012 Feb 19
0
Session id unavailable if assets pipeline enabled in Rails 3.2.1
I have a Rails 2.3.2 application I am upgrading to Rails 3.2.1. I am
using ActiveRecord::SessionStore connected to an Oracle database using
the oracle_enhanced_adapter.
On my first attempt (creating a new, default Rails 3 application
copying in the application code, and fiddling with routes etc) I found
that most things could be made to work, but that:
request.session_options[:id] returns
2009 Sep 23
3
Reading data
Dear R-users,
I am a new user for R. I am eager to lean about it.
I wanted to read and summary of the a simple data file
I used the following,
rel <- read.table("C:/Documents and Settings/ashta/My
Documents/R_data/rel.dat", quote="",header=FALSE,sep="",col.names=
c("id","orel","nrel"))
summary(rel)
Below is the