Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:30
    solnic commented #1114
  • Jun 23 12:44
    skyizwhite starred hanami/hanami
  • Jun 23 09:31
    waiting-for-dev edited #1114
  • Jun 23 09:30
    waiting-for-dev commented #1114
  • Jun 23 09:29
    waiting-for-dev synchronize #1114
  • Jun 23 09:29

    waiting-for-dev on settings_as_class

    Use a class for the application… (compare)

  • Jun 23 09:20
    waiting-for-dev synchronize #1114
  • Jun 23 09:20

    waiting-for-dev on settings_as_class

    Update spec/unit/hanami/applica… (compare)

  • Jun 23 09:19
    waiting-for-dev synchronize #1114
  • Jun 23 09:19

    waiting-for-dev on settings_as_class

    Update spec/unit/hanami/applica… (compare)

  • Jun 23 09:19

    waiting-for-dev on settings_as_class

    Update spec/unit/hanami/applica… (compare)

  • Jun 23 09:19
    waiting-for-dev synchronize #1114
  • Jun 22 17:47
    alexnsouza6 starred hanami/hanami
  • Jun 22 14:28
    jodosha milestoned #1114
  • Jun 22 14:28
    jodosha labeled #1114
  • Jun 22 14:28
    jodosha assigned #1114
  • Jun 22 14:26
    jodosha review_requested #1114
  • Jun 22 10:17
    waiting-for-dev synchronize #1114
  • Jun 22 10:17

    waiting-for-dev on settings_as_class

    Inject hanami environment into … (compare)

  • Jun 21 23:12
    cllns commented #570
Sebastjan Hribar
@sebastjan-hribar
This is just of the top of my head, but have you tried doing it in the beforeblock? I'm assuming you are not referring to an ajax call.
Kori Roys
@koriroys
Is there a before block for controllers? that might be what I'm looking for, ty
oh I see, it's a callback
Kori Roys
@koriroys
my use case is that certain params come in blank as "", and I have to cast them to nil in order for postgres to not explode. Didn't find a good way to do that with validations, so doing it in a before block now
pontakornth
@pontakornth
Can anyone create a new hanami project now? I encounter the wrong number of argument issue. I don'
I don't know if it is hanami issue or some other libraries. I use Ruby 3.0.0 with Rbenv. I think it's other package bug so I haven't open the issue yet.
pontakornth
@pontakornth
I created a project using 2.5.8 is fine.
Igor
@ircarreira
Hi folks! I'm looking to work with Hanami experts (hire them to be more specific), but I suppose this is not the place to post a message relating to jobs, am I correct?
Martin Ferenec
@MartinFerenec
I get an error
image.png
Anyone knows how to fix this?
Martin Ferenec
@MartinFerenec
Ok I fixed it by installing older ruby
markpostura.com
@marcobeffa
When is anami updated for ruby 3.00?
Martin Ferenec
@MartinFerenec
any good video guides on how to make a simple website using hanami?
markpostura.com
@marcobeffa
It would be interesting I had experience with rails and I would like to try using hanamy as a framework to test the process from deployment to production! If there is any video it would interest me too!
Armin
@wuarmin
@jodosha great! thank you
Luca Guidi
@jodosha
And more importantly Hanami v2.0.0.alpha2 https://twitter.com/hanamirb/status/1389590521807446018 :cherry_blossom:
Luca Guidi
@jodosha
Edouard
@inouire_twitter
That's so cooool !
Thank you all
can't wait to try it
"Built-in application settings, providing first-class support for your "
is there a typo ?
Edouard
@inouire_twitter
After reading the article and having a look at the examples, I'm still find it hard to have the global "framework" view. What is standard? What is custom?
Am I the only one? Do you think it will get better after a more polished integration?
Sven Schwyn
@svoop
Big thanks for all the work, can't wait to start my journey on Hanami 2!
Sebastjan Hribar
@sebastjan-hribar
@jodosha awesome work, like always :fireworks:
Are there any news regarding database sharding?
Luca Guidi
@jodosha
@sebastjan-hribar not yet :)
Feedback for application template to be implemented in v2.0.0.alpha3 https://twitter.com/hanamirb/status/1390298114829914112
Sebastjan Hribar
@sebastjan-hribar
@jodosha thank you for the feedback. I'd be interested to know how people are tackling multitenancy when using Hanami out of the box. We're nearing a launch for two apps (read projects :) and I have a few questions around deployment and scalability, but I'll post them on discourse later this week.
markpostura.com
@marcobeffa
@jodosha great! thank you
Lairan
@alex-lairan

Hello !

I am a user of Hanami router, but I never used 'resources' or thing like that, always to direct action routing.

I would like to try it but it doesn't find my action, how can I tell hanami router to find the class inside the correct namespace ?

    namespace 'admin' do
      resources 'applications', only: %i[index]
    end

    get '/admin/applications', to: Controllers::Admin::Applications::Index
                Name Method     Path                           Action                        

  admin_applications GET, HEAD  /admin/applications            Applications::Index           
                     GET, HEAD  /admin/applications            Application::Controllers::Admin::Applications::Index
Sven Schwyn
@svoop
:warning: A word from the unofficial shameless commerce division: Given the partial meltdown in Rails-world and Hanami 2 going alpha2, now may be a good time to promote and sponsor Hanami in some way e.g. Tim Riley, Piotr Solnica, Luca Guidi or Sebastian Wilgosz (hanamimastery).
Kori Roys
@koriroys
anyone have a link to docs on how to make a link or button to delete a resource?
would be much obliged
Kori Roys
@koriroys
figured it out using a form_for
guillermo haas-thompson
@memoht
Hello @jodosha and everyone. So, without backstory, I am about to give Hanami another try after a couple of years since the last effort. I have a single main app that I have developed in Ruby on Rails a few times and customized each time. I want to try to build this same functionality in Hanami. I was wondering if you recommend starting with 2.0 Alpha or staying with the current release. There is no rush on my part and this is a great opportunity for me to push myself (force myself really) to seriously look at alternatives to Rails while still embracing the underlying Ruby language that i <3 so much.
Sebastian Wilgosz
@swilgosz

@memoht I'd strongly suggest to go with > 2.0-alpha releases. The framework had been almost entirely rewritten, and some basic concepts had been changed.

It's much, much easier to use now, but as it's still alpha, there are some things not finished yet, such as view helpers not being accessible. I already work with Hanami 2.0 early releases to identify such troublesome parts, and I'm working on official guides, as with video tutorials to make it easier to start.

Definitely if you'll work with 1.3 Hanami release, then you'll need to re-do a lot of the work soon.

:warning: A word from the unofficial shameless commerce division: Given the partial meltdown in Rails-world and Hanami 2 going alpha2, now may be a good time to promote and sponsor Hanami in some way e.g. Tim Riley, Piotr Solnica, Luca Guidi or Sebastian Wilgosz (hanamimastery).

@svoop thanks, I especially appreciate that you decided to give a support to HanamiMatery now, in this early stage, where it's hardest to keep pushing with the content!

guillermo haas-thompson
@memoht
@swilgosz Thanks for the advice. Looking forward to the challenge(s).
Sebastjan Hribar
@sebastjan-hribar
Hi all, this is not a Hanami question, but it is something I currently struggle with. It's about API credentials and the way we should store them. I have the details here in case someone can help. Thank you.
Sebastian Wilgosz
@swilgosz
Hi, I wanted to share the summary of my work related to Hanami 2.0 tutorials :)
I would appreciate any feedback/comments/ ideas for improvements or suggestions for the next topics:)
Clément Morisset
@morissetcl
Hi guys, is Hanami mailing list still working ? I get a not found response when trying to subscribe.
Sebastian Wilgosz
@swilgosz
Yeah, can confirm that. Not working atm.
Sebastian Wilgosz
@swilgosz
@morissetcl I have reported it, will ping you when it's fixed:)
Matt Culpepper
@mculp
Noting that it took two years between alpha 1 and alpha 2, how long do we expect before the next major release? I'm wondering because I'm greenfielding a rebuild of a project that will be used in production. ~500k requests per day. I don't think I can sell using "an alpha" in prod
Sebastian Wilgosz
@swilgosz
I expect the official 2.0 release to be pulled together this year. This is why I started https://hanamimastery.com project already. @solnic already started working on ROM 6.0 tasks, there is not much for alpha3 version to be done, so I think its reasonable to expect first beta releases befor summer ends. I can be a bit too optimistic, but more people are joining to the team to help with pulling ng it all together, so even I can be pisitively surprised by the progress:).
Positively surprised*