Is there an easy way (i.e. a configuration) to force ActiveRecord to save empty strings as NULL in the DB (if the column allows)?
I\'d like to to something nested like that in my views: <%= helper_a do |ha| %> Content for a <%= ha.helper_b do |hb| %>
I can\'t get the asset 开发者_运维技巧pipeline working for some reason.I get a 404 on request to both application.css and application.js.I\'m using rails 3.1.0.rc6.Nothing special, just created a new
I\'m trying to get a brand new skeleton app running in rails 3.1.0.rc8. However, whenever any asset tag/helper is used in a view(such as image_tag, javascript_include_tag, etc.), I get a asset compile
I have a server that\'s taking video clips with a webcam and placing them in #{Rails.root}/app/assets/videos. The problem is I can\'t see newly created video clips until the server is restarted. Is th
Inspired by the RailsCast on HTTP Streaming, I\'ve decided to turn it on on my server. However, the listen 3000 :tcp_nopush => false line that Ryan suggests adding to my unicorn.rb doesn\'t play we
My tests look like this: <<< spec/models/user_shared.rb shared_examples_for \"a user\" do end <<< spec/models/worker_spec.rb
<%= javascript_include_tag \'javascripts/admin/manage_customer.js\' %> => <script src=\"/assets/javascripts/admin/manage_customer.js\" type=\"text/javascript\"></script开发者_StackOv
I have been working with Rail 3.1 and just noticed when I turn on the asset pipeline, the javascript_expansions and stylesheet_expansions seem to be 开发者_Python百科ignored. Is this the correct behav
Update #1: Solved! Somehow Pow did not restart it\'s processes, so after updates it was loading the old config files. And it was loading the wrong locale file.