An app i use to stop procrastinating
My personal blog
The first open source crowdfunding platform in the world
A programming test
My dotfiles
A rails3 unobtrusive in-place-editing plugin, using jQuery/jEditable.
A todo list mixed with pomodoro
bnjamin/auto-complete-element 0
Auto-complete input values from server search results.
A Crystal database wrapper for reading, writing, and migrating Postgres databases.
Blog
PR opened karuna/haml-vscode
Because the ":" character is not included in the regex some of the classes in tailwindcss is not properly colorized.
This is from before the fix:

This is after the fix:

pr created time in a month
create barnchbnjamin/haml-vscode
branch : support-tailwind-class-names
created branch time in a month
fork bnjamin/haml-vscode
Adds support for Ruby Haml colorization to Visual Studio Code
fork in a month
pull request commentluckyframework/avram
Clone instead of mutate when changing query criteria
Hi @paulcsmith, I added the missing specs using the instrumentation, it was very easy to use!
comment created time in 2 months
push eventbnjamin/avram
commit sha b79f25bb3c6dcf665749e8eecf49467d2a1ceaaa
Reverting the db.create task connection test (#419) * Removed attempt_to_connect from create task. This caused an issue when your postgres username was the same as your OS username. * Moving connection error mesage to actual error objects * trying to figure out this failing spec * not sure why this spec passes like this * refactor to remove some unnecessary code in the errors
commit sha d746b7b6ab79c75f3c18363d3bcd95b65684d572
Bump versions
commit sha a141b98cbb114ee26d45d2c9440a5cb251713a56
Adding default values for columns in models (#424) * Adding a model to test SaveOperation with defaults applied * working out a spec for the default values * Adding in default value support for columns in models. Fixes #390 * left over debugging * Testing the time doesn't mutate when saving * Added a spec to ensure that the SchemaEnforcer doesn't raise an exception unnecessarily * remove the ability to set :now on Time columns from the model
commit sha 1691380ce48eecea1b142696b61b40e1025d53cb
Add file_attribute for file uploads. (#428) * Add file_attribute macro, uploadable and uploadable_file. * Add test for upload operation.
commit sha d5299f07f4567c39d3cc67418ad576d9a79b8220
Delete strategy for DatabaseCleaner (#426) * Delete strategy for DatabaseCleaner * Missed the top level method to connect the DatabaseCleaner * Specs for the delete strategy on DatabaseCleaner. Co-authored-by: Jeremy Woertink <[email protected]>
commit sha cce8fee61768b3bc4cbc28fb4f038421a26e1df6
Removed trailing spaces in project files (#430)
commit sha 29c03d630a16577c24f21d8f2b0be818a877434c
Adding define functions (#427) * Adding helpers for creating pg functions * Make it only String to save on some guess work. The function name may or may not contain args * adding helpers for dropping pg functions * forgot to pass the function return type down from statement helpers
commit sha be37731f390a2ec8ab772892b221eca124ae2315
Fix ameba issues (#434) * Fixed Ameba issues * Added Crystal Ameba linter to Actions * Fixed code formating * Reduced number of lines where Ameba is disabled * Removed last three Ameba disables
commit sha 998ee826d7674f04ec683d5f9f63395e5b3afadf
Moving Database url to credentials (#433) * replacing the Database url setting with credentials for a bit more robust checking against improper values. Fixes #423 * ran formatter * updated per some suggestions. Added in void method for unused database. Added missing query param usage. * Fixing issue with connection to the migrator creating the wrong database name. * Rename PostgresURL to Credentials * Clean up more of the credentials code. * Ran ameba. * Moving the credential creation down to a simple initializer. This ensures that the url always returns the built string * Removed a parse method and made the other nilable. Also added a little bit of documentation to the credentials. * Adding in a parse and parse? method to differentiate what they return. Fixed some doc typos. * Forgot to remove reference to the old build method
commit sha 59c97954ba6e119ba34eada36b9fc32bf4bf40ce
Adding new triggers feature to generate postgres triggers. (#436) * Adding new triggers feature to generate postgres triggers. * Removing some of the magic in triggers
commit sha 4178573f6559219e1147f803466e80e8e240b99d
Added count method for associations (#392) * Added count method for associations only for has_many * test for through count * Update associations_spec.cr
commit sha 5dd2676f65657ccfdba0c917de9004f8ff04f1a1
Add instrumentation events with Pulsar (#441)
commit sha 5e94a193b2195932b9a27896f598cb447372bd19
Adding support for Array(Float64). Fixes #382 (#443)
commit sha 46cdd3ca978a3a0877b6c104a718148879f2ac04
Adding support for fill_existing_with on add_belongs_to (#444)
commit sha d18a01527d2d347a6b9ed69db8f7583ec86d7899
Add build_attributes to box model (#449) * Adds params builder and overwrite for attributes * Rename params to build_attributes * Reset secuenque to avoid tagbox failures on later changes
commit sha 45fb3197962fd54ddc84536a6104c2e9f71b7268
Fixed passing an empty string to a nilable type through params (#448) * Fixed passing an empty string to a nilable type through params causing failures. Fixes #447 * rework spec for clarity * Always assign nil on nil and blank strings. This does have a side affect for those that want blank strings, but for now you have to work around that
commit sha fedd1bef805ca3c18d1b8042bec68f800be0dcf3
Release 0.17 (#450)
commit sha b1ac5abff0806b9653f7789a1958f9cf33fd7927
Refactored the cloning of Avram::QueryBuilder and Avram::Queryable objects. Use the def_clone macro instead of manually implementing the clone methods. Use `def clone` that returns self on objects that are immutable.
commit sha 10446b9f7ea52c4f260cc858190d8d4771ae7a7e
Clone when calling distinct
commit sha d7b7b3b9134887752f86c38fb64c558e9548c820
Clone when calling reset_order
push time in 2 months
pull request commentluckyframework/avram
Clone instead of mutate when changing query criteria
I had trouble with these 2 assertions in the specs https://github.com/luckyframework/avram/blob/master/spec/query_spec.cr#L124 https://github.com/luckyframework/avram/blob/master/spec/query_spec.cr#L193
Because we don't mutate the query anymore, I have no way to get the query that is used to generate the SQL used when calling first? or last? on Queryable. I just accepted that this was not possible anymore and deleted the assertions.
If this is OK I think this is good to go.
comment created time in 2 months
fork bnjamin/vscode-rails
vscode rails extension,Ruby On Rails "Asset Tag Helpers" and "Form Helpers snippets,.erb syntax highlights,related files Navigation,Go to Definition.
https://marketplace.visualstudio.com/items?itemName=bung87.rails
fork in 3 months