Spreewald's patiently repeats the given block again and again until it either passes or times out.
Du verstehst was eine Custom Resource ist und warum das nützlich sein kann. Du weißt, was ein Operator ist...
RubyMine offers you to exclude directories from search, meaning faster search results and less "noise" in the list of result...
Within Capybara you most certainly use the #check- and #uncheck-method to (un)check checkboxes. But there's one problem...
...a lot more, you can think of it as a "Browserstack for mail clients". Best practices Use tables for layouting. Use these HTML attributes: align="center", width="100%", valign="top...
...In a second tab, open a preview of your designed HTML mail. It's best to take it from Staging, so that assets (images!) will be available to litmus during...
accepts_nested_attributes_for :children validates_associated :children end class Child < ApplicationRecord belongs_to :parent, inverse_of: :children end class Child::AsForm < ActiveType::Record[Child] change_association :parent...
...AsForm record with nested Child::AsForm records, the children will not be saved. This behavior also applies to the case where you override the association with has_many :children,...
...and...
Sometimes, the rails dev server doesn't terminate properly. This can for example happen when the dev server runs in...
If you need to run a program on a remote machine (e.g. to your office PC) with a graphical UI...
This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...
When flagging a spec that will be implemented later as pending, include a failing spec body or RSpec 3 will...
...what "memoize" in earlier rails versions did. There is a gem that reintroduces this behavior, but this is the essential implementation. Remember In the above example, some_expensive_calculation is...
...it will be fixed, I guess it will be for Rails 4 only. The best workaround right now is to lock your version of rack at version...
...remember to nilify it afterwards. Otherwise other examples will see your global changes. A better way is to use the .with_power method to change the current power for the...
ImageMagick can automatically crop surrounding transparent pixels from an image: convert input.png -trim +repage output.png
The cards editor has a feature "Cite other card" to create links to other cards in the same deck as...
...On the database level, you will see these queries (simplified; the number at the beginning of each line is the connection ID): 1 Connect 1 BEGIN 1 INSERT INTO foos...
...you might be doing stuff afterwards that could require to abort the transaction). A better approach As a general rule, never use ActiveRecord::Base.establish_connection and also don't use...
By default, Devise redirects to a sign-in form when accessing a route that requires authentication. If for some reason...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
Capybara gives you two different methods for executing Javascript: page.evaluate_script("$('input').focus()") page.execute_script("$('input').focus()")
After upgrading to Rails 6.1.7.2 one of our apps printed a wall of warnings while booting: /var/www/app/shared/bundle/ruby/2.6.0/gems/net-protocol-0.2.1/lib/net/protocol.rb:68: warning: already...
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...
collectd5 in version 5.9.0 is broken and you upgraded it everywhere. But because it's FreeBSD it does not...
We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...
To delete a specific redis-DB you need to use the FLUSHDB-command in combination with the SELECT-command. For...