Paul Smith

Results 95 issues of Paul Smith

https://github.com/luckyframework/lucky/issues/530 If someone has `needs current_user : Something` twice, it should raise a nice error

improve error experience

This sets up some enums so you can have type safe params ```crystal class Tasks::Index # `allow` will create an enum param filter, default: All, allow: [All, Completed, Incomplete] action...

What ENV vars are necessary, how to get Google setup, Mandrill, what mix tasks to run etc.

documentation

More info here: https://github.com/thoughtbot/ex_machina/issues/211#issuecomment-291157746 Illustrate why we are going with maps and structs, how to test changesets, and how to use changesets in regular functions when you need them in...

Depends on #331 ```crystal class ArticleBox < Box def initialize post { PostBox.create } end # This is auto-generated by the box. Putting it here just to show rough implementation...

You can find record with Avram's built-in query methods. ```crystal ArticleQuery.new.slug("avram-is-a-great-orm").first ``` Or if you want to add a shortcut you can do something like this: ```crystal class ArticleQuery <...

`new edit index session login logout users admin stylesheets assets javascripts images` And allow customizing it with Habitat

https://pganalyze.com/blog/full-text-search-ruby-rails-postgres See an example implementation here: https://github.com/wezm/read-rust/blob/f8b50f2c59d9e0454362be43bb0f4d3f66a8860b/crystal/src/queries/post_query.cr https://www.postgresql.org/docs/11/textsearch-controls.html see "websearch_to_query"

feature request

Right now you can clean the database with truncation: https://github.com/luckyframework/lucky_record/pull/137 The problem is it is super slow. Transactions are much faster, so transaction cleaning should be added. It may be...