RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Remarkable 3.0 is out and it’s… well… remarkable!

Remarkable 3.0 is released and Carlos Brando put up a post with all the new features which goes from I18n to new macros for Rails, including a DSL for your controller specs.

Comments

That was an interesting remark

Well I read the whole exciting thing and I still don’t know what it does. I don’t know how people keep up with everything. With Rails 1.x I felt comfortable that I knew enough to get my work done. Now I feel like every day I am falling further behind.

Lento Bill,

It adds macros to test your models and controllers. So you can test a model just doing this:

describe User do should_validate_presence_of :name should_validate_uniqueness_of :email end

You have macros to test all different kind of things. Be sure to check the documentation, it’s quite complete. If you have any doubts, you can also go to the mailing list.

Regards!

Thanks José!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in