faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
<FromGitter> <kevinelliott> Hey, I’m struggling with a scoped route… it’s seemingly requiring login for it to work, but I don’t have anything in the corresponding controller calling my login required routines. ⏎ ⏎ ``` routes :web, "/til" do ⏎ get "/", HomeController, :index ⏎ end``` [https://gitter.im/amberframework/amber?at=5c51340f41775971a0a78d0a]
<FromGitter> <kevinelliott> Any thoughts?
<FromGitter> <kevinelliott> Nevermind… I need to update `PUBLIC_PATHS` in `Authenticate` to contain `/til`
<FromGitter> <anamba> the whole public paths thing is not visible enough for me. i split my routes into `routes :web` and `routes :web_anon` with different pipelines (the anon one not having the Authenticate pipe of course)
<FromGitter> <kevinelliott> Agreed!
<FromGitter> <kevinelliott> Expander for `has_many` is throwing an error.
<FromGitter> <kevinelliott> ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c5157f09221b9382de5819d]
<FromGitter> <kevinelliott> I do indeed have the `Learning` model defined (and it has a working `belongs_to :user` defined.
<FromGitter> <kevinelliott> I ended up just defining the method manually
feepbot has quit [Ping timeout: 268 seconds]
<FromGitter> <valenciaj> Hi there!
<FromGitter> <valenciaj> Can I use form helper method in ECR with HTML inside them?
<FromGitter> <valenciaj> I'm get error compiling
<FromGitter> <valenciaj> <%= form :post, action: "/authentication/login" do ⏎ ⏎ ```text_field name: "foo" ⏎ end %>``` [https://gitter.im/amberframework/amber?at=5c51e30f975714406b6920e7]
<FromGitter> <valenciaj> This form it's compiled
<FromGitter> <valenciaj> <%= form :post, action: "/authentication/login" do %> ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5c51e353ceb5a2264f681b92]
<FromGitter> <valenciaj> But this not
feepbot has joined #amber
<FromGitter> <drujensen> @kevinelliott you need to specify the type since you want it pluralized. ` has_many :learnings : Learning`
<FromGitter> <drujensen> @valenciaj I believe there is an open issue related to supporting blocks in ECR. I would have to find it.
<FromGitter> <kevinelliott> @drujensen I finally figured that out (but used `class_name` key instead) when I found the updated documentation. There’s some old documentation out there still published for the granite shard.
<FromGitter> <drujensen> Sorry, I must have missed it somewhere. Can you update the docs?
<FromGitter> <kevinelliott> I’ll edit.
<FromGitter> <kevinelliott> @drujensen Done. https://github.com/amberframework/docs/pull/136
<FromGitter> <drujensen> @kevinelliott thanks!
<FromGitter> <kevinelliott> @drujensen Of course, yw. Hoping to continue to contribute to the project.
<FromGitter> <valenciaj> @drujensen thx