Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6714351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:29:09+00:00 2026-05-26T08:29:09+00:00

Compared to the code completion I am familiar with from C# development, I find

  • 0

Compared to the code completion I am familiar with from C# development, I find the code completion offered by RubyMine surprisingly incomplete.

  1. When I write a class with some methods and I want to call them from another class,
    why am I getting a code-completion list that is like “a mile” long, but with no relevant method-suggestions in it?
    ( Or is this a bug/feature in my RubyMine?! )

  2. Some classes like ActionMailer magically generate methods like the “deliver_*” methods ( see this example )… As I don’t see them in code completion how am I supposed to know they even exist?
    ( Unfortunately I also get an error at the moment, that deliver_contact method does not exist… As I completely copied from the example am asking myself now wheter this feature still exists 8[ )

Are they any ways to fix these issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:29:10+00:00Added an answer on May 26, 2026 at 8:29 am

    It’s not that Ruby wasn’t “designed” to be used with code completion, it’s that behavior can be added in a variety of ways, including during program execution. This makes code completion hard. RubyMine does a good job, but only for obvious or known functionality, when an object’s type is known.

    http://apidock.com provides reference material for Ruby, Rails, and RSpec. Playing around in irb/pry can help a lot. You can always get methods on a class/instance by eval-ing foo.methods in a REPL (although I almost always foo.methods.sort).

    That list can be filtered if you “sort of” know what you’re looking for with find/grep, e.g.

    > "foo".class.instance_methods(false).sort.grep /each/
    => [:each_byte, :each_char, :each_codepoint, :each_line]
    

    In the Rails environment, running rails console (I prefer using pry for the console, YMMV) gives you access to your environment, including exposing a lot of the dynamic methods. Note that some methods do not exist until they are called for the first time (notably those of the find_by_foo_and_bar variety) so some functionality may still be hidden.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does Project Lombok offer any benefit compared to code templates / code generation in
With regards this example from Code Complete: Comparison Compare(int value1, int value2) { if
With code like the following public class Task { string Name; public static bool
I just found this web page comparing some code written in Scala, C# and
JNA seems a fair bit easier to use to call native code compared to
I am building a WebDAV server class library for .NET and I'm having some
My code copies files from ftp (using text transfer mode) to local disk and
I refactored some code, and now I get this error when calling a function.
Can anyone tell what is wrong with this piece of code? template<class X> class
Can ?: lead to less efficient code compared to if/else when returning an object?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.