similar to: Rails asset tag helpers outputting invalid xhtml

Displaying 20 results from an estimated 30000 matches similar to: "Rails asset tag helpers outputting invalid xhtml"

2007 May 24
0
asset tag helpers
Is it possible to add another asset tag helper (ActionView::Helpers::AssetTagHelper ) ?? coz i''m using the ActionController::Base.asset_host = "http:// assets.example.com" for my static files.. and I want my app to get video files from that host too.. but the thing is only images, javascripts and stylesheets have the asset tag helpers with them.. what if i wanted videos? any
2006 Jul 19
0
Form helpers produce invalid XHTML code!
Hi all The following scaffold creation form code... <%= start_form_tag :action => ''create'' %> <%= render :partial => ''form'' %> <%= submit_tag "Create" %> <%= end_form_tag %> ...creates this HTML colde: <form action="/en/bookings/create" method="post"> <!--[form:artist]-->
2005 Mar 31
5
Outputting XHTML strict
I''m trying to get a page to validate as XHTML Strict, and I''ve gotten everything fixed except for one <textarea> that Rails is generating. <textarea cols="40" id="estcomment_comment" name="estcomment[comment]" rows="10" wrap="virtual"></textarea> This tag is being called in my view with <%=
2007 May 24
0
asset tag helper
Is it possible to add another asset tag helper (ActionView::Helpers::AssetTagHelper ) ?? coz i''m using the ActionController::Base.asset_host = "http:// assets.example.com" for my static files.. and I want my app to get video/flash files from that host too.. but the thing is only images, javascripts and stylesheets have the asset tag helpers with them..what if i wanted videos?
2010 May 15
1
Asset tag helper and (Google) cache recommendations
Doesn''t he have a point? Shouldn''t Rails'' asset tag helper(s) be changed accordingly? http://github.com/eliotsykes/asset_fingerprint Quote (http://code.google.com/speed/page-speed/docs/caching.html): Recommendations Don''t include a query string in the URL for static resources. Most proxies, most notably Squid up through version 3.0, do not cache
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 =>
2004 Feb 04
2
Syslinux using Asset Tag (from Dell or Compay) instead of MAC Adress
I am using PXELINUX to unattened install our machines with XP. It is a not very easy to handle with mac adresses because mac adresses can change when a motherboard is changed, but the asset tag from dell (or also from compaq) will be also updated when the motherboard is changed to the original value, so our unique key here is the asset tag. So my idea is to change the behaviour so that it will
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 Mar 05
1
Twitter like route
Hi, I have this route that let me build custom url for users like /thisismyname, and it works fine. But when I look at the log there is something I don''t like... When I hit /gregory this is what is happenning: 1. Going to public_profile#public # Good 2. hitting /assets and trying to find a user with asset token # Not good I thought my constraints would avoid this but it
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
2006 Apr 25
8
Does Rails suppports XHTML for views for inline SVG''s?
I have following piece of code(which when saved in a file with .xhtml extension and opened in Mozilla 1.5.0.2 works fine); <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"> <head> <title>SVG within XHTML Demo</title> </head> <body> <p> You can embed SVG into XHTML, provided that your
2013 Nov 05
3
rails 4 logging during development, surpress asset messages?
Is it possible to surpress all those asset related messages? I have a terminal open where I run ''rails s'' and it gets hard to read. -- 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
2006 Sep 20
1
possible bug in PHP Markdown implementation of footnotes, as well as request for standardized XHTML output
I am glad to see support for footnotes working its way into other implementations of Markdown! However, I have a couple of issues. Issue # 1. There appears to be a bug in the footnote parser that causes material following the footnote to be included as part of the footnote. For example: < Example Section > ## Metadata ## First, take a look at the overall structure of the document.
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
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
2013 May 08
1
Rails asset precompilation doesn't remove comments. How to enable?
I want to to test precompilation on development mode. I set: config.assets.digest = true config.assets.debug = false Then I run: rake assets:precompile:all RAILS_ENV=development All works, assets are precompiled but comments are not removed. What options should I provide to make it to remove comments from assets on precompile? -- Posted via http://www.ruby-forum.com/. -- You received this
2011 Sep 23
1
Rails 3.1.0 how to pass the full url of an image asset ?
I need to reference the full url of an image stored in the assets, this url is passed to fancy box to open it I build the image path in helper and it get the path "ceramics/big/c0d0.jpg" "ceramics/big/c0d2.jpg", ... but I need to get the full url to these image asset_path("ceramiques/big/c0d0.jpg") => "/assets/ceramiques/big/ c0d0.jpg" but there
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
2005 Dec 01
2
View helpers and nested attributes
Hello all, I have a model with two entities (document and asset) and a 1:1 relationship defined between them (every model has an asset). I want to generate a rthml view that generates a hash for document attributes and a nested hash for asset attributes (for example {:document =>{:name=>XXX :asset => {date =>XXX}}) According to the Pragmatic Programmers book (page 355), the input
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