Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 19 2018 23:23
    kiddrew commented #14160
  • Nov 19 2018 23:23
    gmcgibbon synchronize #34468
  • Nov 19 2018 23:23
    kiddrew commented #14160
  • Nov 19 2018 23:12
    kamipo commented #34316
  • Nov 19 2018 23:10
    oniofchaos commented #34218
  • Nov 19 2018 23:09
    rafaelfranca synchronize #30320
  • Nov 19 2018 23:08
    oniofchaos commented #34236
  • Nov 19 2018 23:07
    rafaelfranca closed #34487
  • Nov 19 2018 23:07

    rafaelfranca on master

    Prevent TextHelper#word_wrap fr… Merge pull request #34488 from … (compare)

  • Nov 19 2018 23:07
    rafaelfranca closed #34488
  • Nov 19 2018 23:06
    rafaelfranca review_requested #34308
  • Nov 19 2018 23:05
    oniofchaos commented #34280
  • Nov 19 2018 23:01
    oniofchaos commented #34308
  • Nov 19 2018 22:52
    rafaelfranca synchronize #30320
  • Nov 19 2018 22:51

    rafaelfranca on master

    Indent guides as rails help com… Homogenize rails help output I… Merge pull request #34085 from … (compare)

  • Nov 19 2018 22:51
    rafaelfranca closed #34085
  • Nov 19 2018 22:51
    rafaelfranca commented #33643
  • Nov 19 2018 22:51
    rafaelfranca closed #33643
  • Nov 19 2018 22:50

    rafaelfranca on 5-2-stable

    Merge pull request #34106 from … (compare)

  • Nov 19 2018 22:49
    rafaelfranca synchronize #30320
Rodrigue Watonsi
@rwatonsi_twitter
@simmerz thanks looking tin to it
into it
vivek2007
@vivek2007
Sr Ruby on Rails developer and Frontend developer here
Looking for remote work
nguyenhongphuc2019
@nguyenhongphuc2019
hi all, i am a ruby developer
nice to meet all
Sithembewena L. Dube
@dubesoftware

Hi everyone. I have over a decade of dev experience (a little COBOL, lots of C# and Python, some Java etc). I recently rediscovered my joy when writing Ruby. I want to get into Rails work and hone my expertise and be a Rails Specialist.

Anyone here hiring? I prefer remote work (I’m in Cape Town, South Africa).

Tom Simnett
@simmerz
How do I stop RailsUJS from scrolling to the top of the page on a form submit?
never mind, it’s FontAwesome getting in the way
DanL12186
@DanL12186
@yashthakur1 did you figure it out?
gerome0123
@gerome0123
anyone tried saving dialog box?
DanL12186
@DanL12186
What do you mean by "saving dialogue box"?
gerome0123
@gerome0123
yes
@DanL12186 yes
for example im the user im in the documents/new then there is a combo box for folders beside combo box there is an plus icon then dialog box will appear for folders form so i can add new folder then after i create the folder the dialog will close then i will continue to add the documents and select my new folder i created in diolog box
DanL12186
@DanL12186
(Alternatively, either using a Bootstrap modal or creating your own, and writing the confirm/save functionality with JavaScript)?
gerome0123
@gerome0123
@DanL12186 let me check this thanks
gerome0123
@gerome0123
anyone had a simple dynamic select
Tom Simnett
@simmerz

Rails 6, I’m getting

Mime::Type::InvalidMimeType:
       "json" is not a valid MIME type

from

    respond_to do |format|
      format.html { render :show }
      format.json { render json: @valuation_firm }
    end

Any clues? This is upgrading the app from 5.2 -> 6 and it works fine in 5.2

Tom Simnett
@simmerz
never mind. found the issue!
contentType: ‘json’ in a $.ajax call :|
DanL12186
@DanL12186
Wait what's wrong with JSON in an ajax call lol
Tom Simnett
@simmerz
It should have been “application/json” instead of “json"
Kadu Diógenes
@kdiogenes
Hi
I'm upgrading a Rails application from 4.2 to 5.0
I'm seeing a very nasty behavior with some STI related models
I have a model called Product and another called ProductBook that inherits from the first
When I do Product.new a ProductBook is instantiated
Did anyone saw this?
Know what the problem is?
The only "solution" I found so far was to specify the type, like: Product.new(type: 'product')
DanL12186
@DanL12186
Could maybe be related to Rails 5+ specifying the rails version that created a migration? e.g.
class ChangeProductsPrice < ActiveRecord::Migration[5.0]
  def change
    reversible do |dir|
      change_table :products do |t|
        dir.up   { t.change :price, :string }
        dir.down { t.change :price, :integer }
      end
    end
  end
end
Might also have to do with how you're declaring inheritance.. maybe look up changes from 4.2 -> 5 on that
Rob
@rm-rf-etc
Why are there 9 ways to install RVM on "any other system"? For someone who doesn't actually know ruby, why am I expected to make this decision? I just want the sensible normal install method. Also, some of these descriptions are ambiguous:
Install RVM stable with ruby:
\curl -sSL https://get.rvm.io | bash -s stable --ruby
DanL12186
@DanL12186
You don't have to know ruby to install rvm; the installation's pretty simple. Just follow the instructions and you'll be fine, even as a first-timer.
Actually, you don't even need rvm to use Ruby, unless you need a newer version than comes with your mac.
Rob
@rm-rf-etc
I use nvm and know how it saves me headaches later, so I just want to get started on the right foot in my ruby journey. Also, isn't the default ruby version on macos horribly old?
DanL12186
@DanL12186
might still be, for some reason I though they'd updated it to like 2.4 with 10.14, before that it was 2.0 at least as of 10.12 IIRC
Kadu Diógenes
@kdiogenes
Thanks for the feedback @DanL12186
I find that the default value of the type column is defined to ProductBook
Rails5 is having a more consistent behaviour while looking for db/schema.rb
Jason Stokes
@jpstokes
Hey just created a new platform to help developers find jobs. Sign up for an account @ www.quirkycoders.com so that employers can find you.
Kadu Diógenes
@kdiogenes
@rm-rf-etc use asdf, a single version manager to every language you can imagine!
Jason Stokes
@jpstokes
I have remote ruby position currently available with a client. Please signup on site and I will find you. It's my site: www.quirkycoders.com . Be sure to create a profile so I could find you.
Cassiano Surdi Franco
@CassianoSF
@kdiogenes asdf is awesome! Thanks!
Rob
@rm-rf-etc
@kdiogenes will check it out. Thanks
Rob
@rm-rf-etc
This message was deleted
DanL12186
@DanL12186
@jpstokes What sort of position? Jr, mid, sr?
Josh Smith
@jesmith17
Anyone got examples of using JWT and Omniauth in Devise? I can’t seem to get the syntax correct for the entries in the model