RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: dnagir
Another option of RSpec-ing across multiple time zones:
Tempting for me to point out the allowy gem.
The implementation is very similar to what has been shown in this screencast.
Very lightweight, inspired by CanCan.
Even though it doesn't have much activity it is being used in production heavily (so sometimes project can be "finished" :) )
Thanks Ryan for the episode.
If you will be covering KnockoutJS (which is currently my preference after evaluating most of the frameworks) then you may want to take a look at knockout-rails gem.
Simple screencast that demos validations part of it:
(it went into Ruby5, so seems like people liked it).
I also wonder how you would reuse the template with Rails 3.1 assets pipeline and JST?
Another thing is that I would probably use Spine.js or similar for infinite scrolling: http://vimeo.com/30796067
BTW, you can use jQuery waypoints to deal with scrolling.
Assets Pipeline has nothing to do with including the scripts.
you can use config.assets.precompile to configure which assets will be generated. But that's about it.
For me in the development it is not that slow.
Although during JS unit testing it is. But it is solved by guard-rails-assets.
1) You have to reference those files appropriately as someFil.js and subfolder/someFile.js. There is no collision.
2) Every file is only included once - the first time it is required implicitly or explicitly.
Found - I needed to add require 'sprockets/railtie' to dummy application.rb (when not reqruing the whole rails).
Then assets can be accessed via Rails.application.assets.
I wonder how can I access the assets data in a test?
I tried Dummy::Application.config.assets['application.js'] but it always returns nil for all the assets.
Probably I should initialise it somehow...
Just curious how would you test the search and/or fake it for other tests?
I was wondering how do you use very handy webrat view and controller marchers as those are conflicting with capybara?
I decided that webrat marchers are more important for my workflow and had to get rid of capybara.
What is your take on that?
BTW, I just created the CoffeeScript syntax highliter for highlight.js https://github.com/dnagir/highlightjs-coffeescript
A bit different tool, but might help others I guess.
Ryan, I agree with you.
I used to use Devise. But then I realised I spend way more time trying to customise it than just implementing it from scratch.
This is especially true when you need to do something that Devise doesn't support "out of the box".
I am wondering how Compass framework will stack up with the new SASS.
The most handy thing about compass I use now is:
which compiles all the SCSS files and places them under public/stylesheets