https://avo.cool logo
Join Discord
Powered by
# avo-2
  • m

    microscopic-ocean-99165

    06/30/2022, 3:23 PM
    is there any command to make it working perfect ?
  • g

    green-london-56146

    06/30/2022, 3:23 PM
    one options is to make the attribute optional, the other is to show the fields
  • m

    microscopic-ocean-99165

    06/30/2022, 3:24 PM
    Can you please share guidance for that how to do it ?
  • m

    microscopic-ocean-99165

    06/30/2022, 3:24 PM
    I'm new with the boilerplate so that would be great help. ?
  • g

    green-london-56146

    06/30/2022, 3:29 PM
    if you do not need the first and last name for now you can open
    app/models/user.rb
    and remove the lines related to validation on field
    first_name
    and
    last_name
  • g

    green-london-56146

    06/30/2022, 3:31 PM
    if you want to keep the fields and the validation for them you can add
    Copy code
    <div class="field">
        <%= f.label :first_name %><br />
        <%= f.text_field :first_name, autofocus: true %>
      </div>
      <div class="field">
        <%= f.label :last_name %><br />
        <%= f.text_field :last_name, autofocus: true %>
      </div>
  • g

    green-london-56146

    06/30/2022, 3:32 PM
    maybe it is not exactly like that because I don't know your exact setup
  • l

    lemon-wall-20836

    06/30/2022, 5:33 PM
    Thank you Jakob for the help!
  • l

    lemon-wall-20836

    06/30/2022, 5:38 PM
    Hello Is there a way to hide specific
  • b

    bright-tomato-27372

    07/01/2022, 5:38 PM
    Is it possible to hide pagination for associations on a Resources#show page? I have a
    has_many
    association on a model, but it is usually only 1-2 associations. I don't need it to show the "8 per page" or "Displaying 2 items".
    l
    • 2
    • 7
  • s

    strong-restaurant-36788

    07/01/2022, 7:36 PM
    Is anyone using the KeyValue field in Avo 2.8 or 2.9? In 2.7 it had a "plus" button to add more Key/Value pairs, but it appears to be missing with my upgrade to 2.9. I also noticed the
    disable_*
    options seem new, so maybe it's related to that?
    l
    • 2
    • 43
  • s

    strong-restaurant-36788

    07/01/2022, 7:36 PM
    And now...
  • s

    strong-restaurant-36788

    07/01/2022, 7:36 PM
    @here anyone tried this?
  • l

    lemon-wall-20836

    07/01/2022, 7:43 PM
    Is it possible to hide pagination for
  • g

    great-optician-87198

    07/05/2022, 12:44 PM
    Hello running latest Avo 2.9 I have an app with default locale set to :fr and in avo.rb default locale to :en (admin can be in English for everyone). When running the app with this configuration I get this error message. Let me know if I am doing something wrong here or if I should open an issue with more context. If I duplicate the yml locale file and rename the keys from en: to fr: then it works.
    l
    • 2
    • 4
  • w

    worried-machine-9922

    07/06/2022, 6:28 PM
    Yowhattup. So. I've got a class a bit like:
    Copy code
    class Item
      belongs_to :option_group
      has_many :options, through: :option_group
    With a resource a bit like
    Copy code
    class ItemResource
      field :options, as: :has_many
    In a situation where I create a new option from Item#show I would expect the Option#new page to have pre-selected the OptionGroup that the Item will be related to the Option through, but it is not. Y'all got thoughts?
    l
    • 2
    • 6
  • w

    worried-machine-9922

    07/06/2022, 6:38 PM
    aaay this is great. The comment I am replying to handles my case. I'd love if this were more... not a weird hack, tho.
  • l

    lemon-wall-20836

    07/06/2022, 9:53 PM
    has_many through belong_to pre-filled field
  • a

    acoustic-jackal-82257

    07/07/2022, 3:04 PM
    Hi, i need help @lemon-wall-20836 a problem with the SSL on https://avohq.io/ i thnik make that avo trigger a error when try to start or restart of the application because the ssl is not valid.
    l
    • 2
    • 3
  • d

    dry-evening-71367

    07/07/2022, 3:05 PM
    Came here to post this @lemon-wall-20836 - looks like SSL cert has expired on avohq.io so our admin is currently down 😦
    l
    • 2
    • 3
  • g

    green-london-56146

    07/07/2022, 3:08 PM
    thanks for reporting this, I confirm seeing the same, trying to reach Adrian
  • l

    lemon-wall-20836

    07/07/2022, 3:21 PM
    Hey guys. On my way to my laptop to fix it
  • l

    lemon-wall-20836

    07/07/2022, 3:21 PM
    ETA 10 minutes
  • l

    lemon-wall-20836

    07/07/2022, 3:28 PM
    SSL renewed
  • l

    lemon-wall-20836

    07/07/2022, 3:28 PM
    I apologize about the downtime. not sure why letsencrypt didn't auto-renew itself but I will investigate and respond
  • l

    lemon-wall-20836

    07/07/2022, 3:29 PM
    please restart your apps server to force the license renewal
  • b

    best-microphone-15927

    07/07/2022, 3:30 PM
    Thanks for such a quick remedy, @lemon-wall-20836 .
  • l

    lemon-wall-20836

    07/07/2022, 3:31 PM
    nothing to thank me for. it was really my oversight. I'm going to set up proper monitorization for this and maybe even hand over the server keys to a few more people (cc @green-london-56146) in case something else happens
  • l

    lemon-wall-20836

    07/07/2022, 3:33 PM
    Came here to post this adrianthedev4617
  • l

    lemon-wall-20836

    07/07/2022, 3:33 PM
    Hi i need help adrianthedev4617 a
1...424344...64Latest