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
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:
If I do the following line in haml %input#project_images{:name => \"project[project_images]\", :type=>\'text\', :value => @project_images.join(\',\') }/
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:
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
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.
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
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:
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
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