Pinned Repositories
active_record_playground
This is a simple template to help you play with Active Record, when you don't need or don't want to create a full Rails app.
active_record_playground_runner
A tool for to run active record examples
Commentator
A widget to include comments in your app
dynamic_data_grid_hotwire_ransack
dynamic_filters_hotwire
Dynamic filters with rails and hotwire example app
hotwire-react
Example on how to render a react component from an stimulus controller
inline_crud_hotwire
Example of a "inline" CRUD with rails and hotwire
remote_modal_hotwire_bootstrap
Example of working with remote modals and forms using Hotwire and bootstrap
styler
styler_tachyons_examples
A list of examples of using the styler gem with the tachyons css framework
bhserna's Repositories
bhserna/active_record_playground_runner
A tool for to run active record examples
bhserna/styler
bhserna/active_record_playground
This is a simple template to help you play with Active Record, when you don't need or don't want to create a full Rails app.
bhserna/remote_modal_hotwire_bootstrap
Example of working with remote modals and forms using Hotwire and bootstrap
bhserna/dynamic_filters_hotwire
Dynamic filters with rails and hotwire example app
bhserna/hotwire-react
Example on how to render a react component from an stimulus controller
bhserna/inline_crud_hotwire
Example of a "inline" CRUD with rails and hotwire
bhserna/dynamic_data_grid_hotwire_ransack
bhserna/last_n_per_user_lateral_join
bhserna/last_n_per_user_window_functions
bhserna/first_or_last_per_user
Here is an example of a simple way to do it when you can use the `id` column to sort the records.
bhserna/preloading_quiz
Quiz to practice the difference between preload, includes or eager_load
bhserna/when_the_query_is_executed
10 Examples to learn when you ActiveRecord query will be executed
bhserna/styler_tachyons_examples
A list of examples of using the styler gem with the tachyons css framework
bhserna/avoid_n1_queries_on_rails_examples_sample
Sample of the examples for the book "Avoid n+1 queries on rails"
bhserna/broadcast_render_example
bhserna/cleave.js
Format input text content when you are typing...
bhserna/count_length_size_examples
A combination of examples to compare `count`, `size`, `length` and different methods of counts preloading.
bhserna/custom_computed_values_and_race_conditions
Examples to explore possible race conditions when caching custom computed values
bhserna/decoupled_blog_pstore
The decoupled blog example now using PStore
bhserna/decoupled_blog_sequel_datasets
The Decoupled blog example using sequel datasets
bhserna/discourse
A platform for community discussion. Free, open, simple.
bhserna/dynamic_table_helpers
Extracting helpers to build dynamic tables with hotwire
bhserna/form_object_example
An expenses registration app as an example of using a form object
bhserna/nested-fields-form-object-example
An example to build a form with nested fields using a form object (ActiveModel::Model)
bhserna/preloading_examples
Examples to learn the difference between preload, includes or eager_load
bhserna/specific_preloading_with_scoped_associations
This is an example of using scoped associations with Active Record, from Ruby on Rails, to preload already filtered associations.
bhserna/todolist-hotwire
A little example of a todo list app using Hotwire
bhserna/tools_to_detect_n1_queries_examples
App to help you test/experiment with the tools to help you detect n+1 queries.
bhserna/why_n_plus_one_fix_hurts_performance