Du verstehst was eine Custom Resource ist und warum das nützlich sein kann. Du weißt, was ein Operator ist...

By default, Devise redirects to a sign-in form when accessing a route that requires authentication. If for some reason...

Within Capybara you most certainly use the #check- and #uncheck-method to (un)check checkboxes. But there's one problem...

RubyMine offers you to exclude directories from search, meaning faster search results and less "noise" in the list of result...

This note describes how to kick a user out of a Rails application after she hasn't requested an action...

tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...

Sometimes, the rails dev server doesn't terminate properly. This can for example happen when the dev server runs in...

...should see the following ([\w]+) table:?$/ do |name, expected_table| name = name.underscore table_element = begin element_at("table\##{name}") rescue Webrat::NotFoundError begin element_at("table.#{name}") rescue element_at...

collectd5 in version 5.9.0 is broken and you upgraded it everywhere. But because it's FreeBSD it does not...

The cards editor has a feature "Cite other card" to create links to other cards in the same deck as...

...a "add new user" forms. Chrome developers say this is by design as they believe it encourages users to store more complex passwords. Recommended fix for Chrome and Firefox

Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...

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...

Capybara gives you two different methods for executing Javascript: page.evaluate_script("$('input').focus()") page.execute_script("$('input').focus()")

makandra dev
litmus.com

...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...

To delete a specific redis-DB you need to use the FLUSHDB-command in combination with the SELECT-command. For...

On your local system that only hosts non-critical development data and only you have access to, you can store...

We forked trusty memoizer to make two changes: Memoized methods now preserve their arity. Previously all memoized methods had an...

ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...

...iterated until the final design is ready – shiny, accepted and ready for implementation. I believe this works well when you get to work with the final decider in person.

When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...

...new value (be aware that you should use a secure and salted hash) or better call the the_user_to_log_out.reset_remember_token! method that does the things for you.

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

makandra dev

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11