RailsCasts Pro episodes are now free!

Learn more or hide this

Eric Berry's Profile

GitHub User: cavneb

Site: http://www.solidcoresolutions.com

Comments by Eric Berry


Is repeat a ZSH command? Is that available for bash? I can't figure out where you got it.

Can someone point me in the right direction?


I've been using this gem for a while and it's awesome!


Bharat, I found out it was working (sortof) but Bootstrap v2.0 seems to not work well with changing column and gutter widths without also modifying additional fields of which I'm unsure of. I worked my design around the bootstrap constraints, so I'm good.


I am having a hell of a time trying to change out the gutter width and column width using the sass overrides. Here is my code:

@import "twitter/bootstrap/bootstrap";
@import "twitter/bootstrap/responsive";

// Set the correct sprite paths
@iconSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings.png');
@iconWhiteSpritePath: asset-path('twitter/bootstrap/glyphicons-halflings-white.png');

@fluidGridColumnWidth: 4.78723404225%;
@fluidGridGutterWidth: 2.6595744675%;

Has anyone else had success with this?


Awesome job, Ryan!

I found as I started integrating this into existing applications that if I have a large number of datasets, it tries to load all of the data at the initial load. This is because each router is loaded in the base window.App class. Is this how it is supposed to work? I don't expect you to answer this, but if someone can respond, I would appreciate it.

Also, I would love to see a screencast that covers pagination with Backbone.js.. It seems that there is very little documentation on this and it is very complicated to understand. If you could dumb that down for us, I would really appreciate it!


You really have stepped up your game by branching into these new technologies. I for one find this screencast invaluable. I have watched numerous screencasts, paid and free, and this was the easiest to grok. Keep up the great work and I'll keep paying you monthly :D

Looking forward to the Spine, KnockoutJS and Ember screencasts.

I would also like to know what you would personally invest time into learning for the future? It seems that it's a toss up between Backbone and Ember


You mentioned the config.log_tags .. Are these only params passed in via the 'params' hash? I wanted to include in there the method that is being used to output the data to the logger.

For example, if I had a model called 'Foo', I would want the logger to print out "[Foo] blah blah blah".

Is this possible, and if so, do you know where the docs are or how I can do this?

Thanks for the awesome screencast (as always).


Thanks for doing this Ryan. Again, you have read my mind by creating this. Also, thanks to Intridea for kicking ass!


I am sure I am just not getting it, but it seems that decorators are just sweeping dirt under the rug. Every time I see changes like this that alter the way apps are written by making them more complex in the name of cleanliness, I feel that it is just one more thing that stands between me and delivering a product to my clients that can be handed off to other developers easily.

I think Jeff is a great guy.. We hung out in Salt Lake City way back and I realized the guy knows his stuff.. This is why I don't want to discount the idea in my head, but are we trying to solve a problem that might not need to be solved? And in turn, are we making it more complex?


Great screencast. I have a couple of questions though after watching it. I noticed that you are using a couple of 'old school' methods in your code which I thought were not considered the 'Rails 3' way of doing things. I'm referring to:

user = User.find_by_email(params[:email])


validates_presence_of :password, :on => :create

Is this still considered good practice in Rails 3 when we have the alternatives?

user = User.where(:email => params[:email]).first


validates :password, :on => :create

Thanks for your help!


Hey Ryan,

It always amazes me on how every screen cast that you create always has a bit more info and expertise than expected. I love how you shared the way to do controller specific styles and also the text mate color picker.

Rails wouldn't be the same without you!