haml
HAML doesn't work on production (it work in development)
I\'m getting missing partial error using HAML on production. It works fine in development (even on production/staging environment on my computer) but I\'m getting \"Missing partial\" on my production[详细]
2023-03-26 06:27 分类:问答Rails production environment breaks with cycle
Have a rails app (3.0.9) using HAML, local development server runs fine.But when I run rails s -e production, my page gives this error:[详细]
2023-03-25 21:09 分类:问答In Rails 3 with haml-rails, why would =text_field :project... set params and not %input{:name => "project"...}?
If I do the following line in haml %input#project_images{:name => \"project[project_images]\", :type=>\'text\', :value => @project_images.join(\',\') }/[详细]
2023-03-25 01:10 分类:问答How to add dynamically generated inline javascript using Rails 3.1 and Haml
I am using Rails 3.1 and Haml. What is the best way to add inline javascript that is generated in something such as a form_for block. I tried the following:[详细]
2023-03-23 15:44 分类:问答issues finding public folder when requiring sinatra/base
I have found that in my Sinatra app, when I require \'sinatra\', I can access my public folder as expected, but when I require \'sinatra/base\' I can\'t.Here is my relevant code (which works until I c[详细]
2023-03-23 09:35 分类:问答Copying Twitters Style - Integrating Index and Create Form on Same Page
I\'d like to basically do what Twitter\'s stream does - have the create action and index action available on the same page, but I\'m now getting an error, NilClass from the form.[详细]
2023-03-23 05:45 分类:问答How to make Textmate detect code after the filter :coffeescript?
Using the Haml :javascript filter, the code following the filter is accurately detected as javascript.This isn\'t happening with the :coffeescript filter.How do I make Textmate recognize this code as[详细]
2023-03-23 02:58 分类:问答'rake routes' modifies vendor/plugins/haml/init.rb
I\'m getting a strange and annoying bug when I run rake routes on a rails project.Every time it for some reason modifies the file vendor/plugins/haml/init.rb.Here\'s the diff:[详细]
2023-03-22 08:03 分类:问答Javascript loads fine on index page, but not in other pages
I\'ve been knocking my head against a wall here for a few hours trying to solve this with no luck. I\'m using Ruby, Haml, Sinatra, and Highcharts. I\'ve created a Ruby HighCharts object that interpola[详细]
2023-03-22 06:53 分类:问答embedding a youtube video using haml/ruby on rails
I开发者_如何学编程 have a website with a textarea that prompts users to input a URL from a youtube video. Once the user saves the page (thereby saving the embed code) I would like to implement an ifra[详细]
2023-03-22 00:53 分类:问答