similar to: Session id unavailable if assets pipeline enabled in Rails 3.2.1

Displaying 20 results from an estimated 10000 matches similar to: "Session id unavailable if assets pipeline enabled in Rails 3.2.1"

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
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 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 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 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`
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 Jan 29
1
AssetNotPrecompiledError for missing assets - really?
I migrated one of my projects to from Rails 3.0 to 3.2.1 which means I''m using the asset pipeline for the first time. As much as I like the ease of compressing and minifying my assets the more I''m annoyed about its behavior to raise an AssetNotPrecompiledError as soon as, well, there''s an asset that''s not precompiled. Can somebody explain me the reason why this
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
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:
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
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
2010 Jun 08
1
session_options[:secure] resets session_id on every request
I''m working on an ecommerce site (in Rails 2.3) and I added: ActionController::Base.session_options[:secure] = true to ~/config/environments/production.rb Now, every time I add something to my shopping cart and navigate away I get a new session_id (which essentially empties my shopping cart). How can I get the continuity of my sessions back, while still having the session_id get set
2012 Dec 03
2
Rails 3.2 session id nil until next request
Posted this on stack overflow earlier today here<http://stackoverflow.com/questions/13673969/rails-3-2-session-id-nil-until-next-request>, I really either don''t know what I''m doing, or I don''t understand how sessions are supposed to work! I''m connecting to rails from an Air app and communicating with JSON only. When the client sends a login request,
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 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
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 27
1
Rails 3.1 assets path for video player Flash script 'player.swf'
I was using a Flash video player within a previous Rails version app Moving to Rails 3.1.0 , I dob''t know where I should put the script ... I tried to move it into an app asset sub-directory assets - jwplayer - - player.swf but this raises an error "NetworkError: 406 Not Acceptable - http://localhost:3000/assets/jwplayer/player.swf" player.swf the flash script is given as a
2013 May 26
2
Ruby on Rails Asset pipeline - Pro and Cons
I was in chapter 5 of the Ruby on Rails, and I come across "Asset pipeline" when R-o-R detect and jam all css and js files into one. It''s true that Browser will have to make less requests, but at the same time, the browser will potentially have to process more code than it should? For example, I use a slider jquery plugin in gallery page, since R-o-R fuse the plugin with
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 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.