Rubymine 2024.3 bundles Grazie Lite by default. You need to enabled "German" under Settings/Preferences | Editor | Natural Languages.

Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...

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

These two addons will change your life: Search as list This will always open search results in the list views...

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

github.com

When using Sidekiq in your application, you must write thread-safe code. This wiki page also lists gems that are...

...switches to the clicked link. In a Jasmine spec I wanted to test this behaviour. Unpoly's up.hello emits an up:fragment:inserted event, in whose callback function I can...

As a developer you may have many tools watching your project for changes: Your IDE, Webpack, Guard, etc. This is...

Today's cameras create huge images, some beyond 50MB. Unless you need to offer this large files, you should always shrink uploaded files to a reasonable resolution. class ImageUploader < CarrierWave...

You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API

Rack::SteadyETag was a Rack middleware that generates the same default ETag for responses that only differ in XOR-masked...

shoelace is a library of web components. Here is a proof of concept how a integration (slightly different as the...

When paginating records, we usually need to know the number of total records in order to render pagination links. Popular...

...found in the official docs, this works just fine. describe Facebook::Post do it_behaves_like :time_series end shared_examples_for :time_series do # shared example code

...means you can use all CSS features that are listed as "This idea is becoming part of the web". Do not use standards in any stage before (like...

makandra dev

Option 1: JSON dump In config/webpack/environment.js you can get inspect environment which includes all webpack config options set for the...

...equal $my-great-blue instead of blue. The reason is that custom property values behave differently and allow any kind of value to be assigned (thus not being bound to...

makandra dev

...lib provides a built-in email regex URI::MailTo::EMAIL_REGEXP. That's the best solution to work with. /\A[a-zA-Z0-9.!\#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA...

You know each_with_index from arrays: ['hello', 'universe'].each_with_index do |value, index| puts "#{index}: #{value}" end

In case you have trouble with the zeitwerk autoloader, you can check out the documentation Autoloading and Reloading Constants and...

postgresql.org

...them as arrays when you are working with arrays. E.g. bad: WHERE topics @> 'value', better: WHERE topics @> '{value}' Check the PostgreSQL documentation on Array Functions and Operators for more information...

If you have any class which requires access to some path methods generated by your routes. Even though you could...

tl;dr You can use attribute? as shorthanded version of attribute.present?, except for numeric attributes and associations. Technical Details

github.com

There are a few tools to combat the dreaded n+1 queries. The bullet gem notifies you of missing eager...