Paul Smith

Results 95 issues of Paul Smith

Make it so that you can easily encrypt/decrypt secrets. Nice for sharing dev secrets within a team w/o committing to the repo

Do this after #1020 ```crystal # The name of the param that Lucky will use for the current page. Defaults to `:page`. # # You can override this method to...

feature request
usability

Then display it when halted. Help people track down where a pipe was added

improve error experience

They would work mostly like Rails except it would not have a block version as it is more confusing than helpful (IMO) ```crystal link_to_if user.admin?, "Admin", to: Admin::Users::Index link_to_unless user.admin?,...

feature request

https://gitter.im/luckyframework/Lobby?at=5dd31ca84adf071a8453ee00 ## Just an example ```crystal # src/pages/helpers/active_link.cr module Helpers::ActiveLink def active_link_if(active? : Bool, text, to : Lucky::RouteHelper | Lucky::Action.class, **html_options) link(text, to, **add_active_class_if(active?, html_options)) end def active_link_if(active? : Bool,...

https://gitter.im/luckyframework/Lobby?at=5d408aa5c356af25e0580790 It is unclear what the best option is here. Maybe we print a warning if using `lucky watch` without a specific flag? Maybe an ENV var is set? The...

improve error experience
clarify api

In pages this is nice because you might have a global `expose` but not all pages need the value. So the page will just ignore it. But for components we...

improve error experience

https://gitter.im/luckyframework/Lobby?at=5c7d7df053efa91203b20816

See #329 for links The current CSRF implementation works well, but this will keep apps even safer

security

https://github.com/ruby-grape/grape#describing-methods This might be better as a separate shard. But documenting here for now.