Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marwan Rabbâa
    @waghanza
    @jorgefuertes Ruby has a future ? What do yo mean by that
    Any future are decided by users, it seems that ruby have a great community
    Jorge Fuertes
    @jorgefuertes

    @waghanza Well... yeah, RPG and Modula2 has a future, out of the question. I mean as a main language for web development, with an strong community and an updated gemset covering all the new technologies. That's my wish, but I'm not sure.

    I'm watching how the new thins are created for nodejs and go, even they are replicated in python, but I don't see the same response in ruby.

    Understand me, please, just sharing my thoughts, I'm not sure and I'm not abandoning ruby or padrino.
    Marwan Rabbâa
    @waghanza
    @jorgefuertes questioning ... is a safe and sane way to go to the future, but not very about technologies or frameworks. I mean each language is more or less suitable for various needs, and every frameworks has feature for future, for example, https://rubyonrails.org/ has https://stimulusjs.org/ or https://github.com/rails/webpacker allowing that we can use some technologies for what they fit for. ruby fit more for backend and vue/react for frontend.
    I don't think we have to talk about end of road, but how we can adapt :heart:
    Jorge Fuertes
    @jorgefuertes
    Yeah, of course, I agree. But I'm my case is dangerous path. I have projects to keep up and running, I can't migrate them, they are "padrino" untill the end of the World. Its supposed to don't be worried? I'm worried.
    I'm paranoic? May I be, I want to hear that.
    Marwan Rabbâa
    @waghanza
    yeah, you are :stuck_out_tongue:
    at least more gems you use, more you are frightened
    I understand
    Jorge Fuertes
    @jorgefuertes
    @waghanza Loving stimulusjs, I don't know it, thanks.
    @waghanza Haha, thank you.
    Christoph Haas
    @Softener_gitlab
    I would be very disappointed in humanity (even more than now) if Ruby would go away. Developing both in Python and Ruby I must say that Ruby is the only language not getting in my way. I've tried NodeJS/JS and that's even worse than Python. Nah… Ruby needs to stay. Or I'll switch jobs to something with wood and flowers.
    Marwan Rabbâa
    @waghanza
    ruby has so many variants that I do not think it would perish, there is crystal and elixir with the same fun coding, but having a slightly different purpose
    Christoph Haas
    @Softener_gitlab
    It's crazy how many programming languages emerge. I even mix up Python and Ruby. Maybe I'm getting old but running after every hype makes me tired. Go might be interesting but I don't even feel an urge to learn that.
    Marwan Rabbâa
    @waghanza
    yeah, there is a lot of languages to emerge
    Christoph Haas
    @Softener_gitlab
    Besides in a job context it's pretty pointless to use anything "unusual". Some of our devs are slowly moving from PHP to JS… most stay in the old world. My sysadmin coworkers even frown upon my use of Ruby. They believe that Python is "crazy already".
    Marwan Rabbâa
    @waghanza
    most of it are hypes in deed, but their are some values (for example, crystal is compiled but have a ruby syntax)
    Christoph Haas
    @Softener_gitlab
    At least in "big data" stuff they use Python so that's okay. But if I have worked Ruby for a while I can't stand how unnecessarily complicated Python makes my life. :)
    Marwan Rabbâa
    @waghanza
    :-)
    Jorge Fuertes
    @jorgefuertes
    @Softener_gitlab I understand you, I love ruby.
    José Santos Martins Pereira
    @jsmpereira
    Hello :wave:
    José Santos Martins Pereira
    @jsmpereira
    I'm having an issue with params expansion in routes with mustermann. With the old router I have no issues. With mustermann a call like absolute_url(:posts, :index) resolves to a more specific route like /posts/:year/:monthand errors out with Mustermann::ExpandError: cannot expand with keys [], possible expansions: [:year, :month]. Apologies if there is some documentation/migration guide out there that I missed that addresses this. Thank you for your time.
    José Santos Martins Pereira
    @jsmpereira
    Do I maybe need to have distinct name routes for disambiguation?
    Because previously I could name all routes :index and the old router it seems would disambiguate based on request method and params?
    José Santos Martins Pereira
    @jsmpereira
    Because I could have , for example
    Demo::App.controllers :posts do
      get :index do; end # /posts
      get :index, with: :id do; end # /posts/:id
      get :index, with: [:year, :month] do; end # /posts/:year/:month
      post :index do; end # /posts
      patch :index, with :id do; end # /posts/:id
      delete :index, with: :id do; end # /posts/:id
    end
    And there was no issue for absolute_url(:posts, :index) to resolve to /posts
    Nagesh Vanam
    @ngshvanam
    Hi, Can anybody help me with when will be the padrino 0.11.4 will get to EOL ?
    Where Can I find that information?
    Ralph Brown
    @KidFischer_twitter
    I am new to ruby (like couple weeks new) and trying to implement omniauth-okta but getting the following error "OmniAuth::Strategies::OAuth2::CallbackError at /auth/okta/callback
    csrf_detected | CSRF detected" I have know clue as how to proceed
    Matthias Günther
    @wikimatze
    @KidFischer_twitter good be a relation between your vendor and padrino - you proably disable CSRF for the callback route to go on.
    I have created a trailer for my YouTube Channel about Padrino under https://youtu.be/9ZEykhzDjfA - would be great if you like the video to help me with the channel.
    Matthias Günther
    @wikimatze
    New blog post: "Story behind the Padrino logo" http://padrinorb.com/blog/story-behind-padrino-logo/
    Nolan Mayersky
    @nolyoi

    I am new to ruby (like couple weeks new) and trying to implement omniauth-okta but getting the following error "OmniAuth::Strategies::OAuth2::CallbackError at /auth/okta/callback
    csrf_detected | CSRF detected" I have know clue as how to proceed

    padrino/padrino-framework#1258

    Matthias Günther
    @wikimatze
    @nolyoi welcome on board. Haven' worked with omniauth-okta (prefer my own authentication system), but as you mentioned should https://github.com/padrino/padrino-framework/issues/1258#issuecomment-20269121 give you the solution.
    Josh Crank
    @jtcrank
    Is there a way to add a dynamic segment to the padrino log?
    I need each log line to have a trace_id prepended which will continually update with every request. I'm hoping I don't have to install a new logger and update throughout the entire application
    Matthias Günther
    @wikimatze
    @jtcrank I think you need to register an extension and load it directly to your project - so it's a new feature.
    Hey, there NoMethodError error for generated mailers with latest padrino 0.15.0, issue request created under padrino/padrino-framework#2232.
    Devan
    @CyberFerret
    Hey guys, I just upgraded an old project from 13.1 to 15.0, and when trying to boot up, I am getting the message "NoMethodError - undefined method 'mailer' for StudentPortal::App:Class:". I have checked and under "module StudentPortal
    class App < Padrino::Application" I do have "register Padrino::Mailer" as the next line. Any ideas?
    Devan
    @CyberFerret
    Ah, sorry, just saw the conversation above about #2322 - Looks like that is the problem. Is upgrading the Sinatra gem the best solution here?
    Devan
    @CyberFerret
    Cancel my earlier messages. Forcing my Gemfile to use Sinatra 2.0.8.1 instead of 2.1.0 did the trick.
    Ole Kleinschmidt
    @okleinschmidt
    Good morning. I really need some help. My Padrino App has a sub-app, I'd like to share the layout from the main-app with the sub-app, I got it working with render 'index', :layout => AppX::AppX.layout_path('application'), locals: { all: all } but when I start padrino with -e production that doesn't work anymore. :-(
    Devan
    @CyberFerret
    Hi @okleinschmidt, I found with my sub-apps, it was far easier to include the line set :public_folder, PADRINO_ROOT + '/public' in the app.rb file in each sub-app - then the sub-app looks at the same 'public' folder as the main app, and I don't have to specify a hard path to the :layout each time.
    Ole Kleinschmidt
    @okleinschmidt
    @CyberFerret Hi! Thanks, I haven’t tried that yet, but it sound like the sub-app will then have access to /public/stylesheets etc. which it already has?! I’m locking for a solution to use project/mainapp/views/layouts/application.rb for project/subapp/app.rb.
    @CyberFerret By now I’ve copied this file to project/subapp/views/layouts/application.rb - not pretty, but works.
    José Santos Martins Pereira
    @jsmpereira
    Hi. Is it still possible to use sinatra-like routes, without using an alias, like get "/hello-world" do; ...; end. I just end up with a 404
    Slava Nikulin
    @slava-nikulin
    hey. I wonder, how to use flash messages in padrino?
    Josh Crank
    @jtcrank
    I am looking at an app that has a before route_regex do ... end inside of a configure block in app.rb. It appears to set up stuff to do before going to routes that match the regex in any of the controllers, but I'm not clear on how this works. Can anyone point me to the documentation on that, or shed some light on it for me?