Ruby on Rails Thursday, May 1, 2014

Software Engineer - Ruby on Rails
Location: Brooklyn, NYC
Permanent - Direct Hire
Salary: Competitive

We are looking for a talented and motivated software engineer with
excellent problem solving skills and proficient product development
experience. Experience working in the financial world is a plus. We are
building a team of developers in a fast-paced and dynamic environment.
The ideal candidate will provide implementation and deployment of new
products and features. This role includes coding, troubleshooting,
software support and documentation. Our technology stack includes Ruby,
Rails, Javascript, MySQL, and .Net.

RESPONSIBILITIES:

Design, develop, modify, test, implement and manage web applications
as assigned by management
Design, develop and improve automation procedures
Write well designed, testable and efficient code by using best
software development practices
Write and maintain detailed documentation
Troubleshoot in-house software application in a production
environment
Maintain Legacy systems
Provide software support to other internal business unit

REQUIREMENT:

3+ years' experience doing web development using Ruby on Rails
3+ years database experience (MySQL preferred)
Version control knowledge and experience (GitHub preferred)
Experience working in a Linux and Windows environment.
Ability to follow best known coding standards
Solid organizational and communication skills.
Ability to handle heavy workloads and to multi-task with limited
supervision.
Bachelor's degree in Computer Science or equivalent

Additional Valued Skills:

.Net & C# experience
Database design and architecture (MySQL preferred)

EDUCATION:

Bachelor's Degree required in Computer Science or Engineering

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/579704c8f80e4caab3e3b5abeb090183%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

Hi,

Let's take a look at the following example:

Visitor.preload(
  {allowed_meals: [:meal]}
  {meal_availabilities: [:meal]}
)


What happens is that Rails (I'm using version 4.1) is issuing several queries to meals:

    Meals Load ... SELECT * from meals where id in (1, 2, 3, 4, 5) # using list of ids relevant for "allowed_meals"
    Meals Load ... SELECT * from meals where id in (3, 4, 5, 6) # using list of ids relevant for "meal_availabilities"


For performance reasons - it would be nice to issue just a single query instead of above two, e.g.:
    Meals Load ... SELECT * from meals where id in (1, 2, 3, 4, 5, 6)

Is that possible?

Regards,
Yavor

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/127a7594-4179-4e38-aaa5-47983496e3e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails



On Thursday, May 1, 2014 7:50:36 AM UTC+1, John Merlino wrote:
I have the production and staging site on two different server ips. But the database, another server ip, is the same database used by both production and staging. When i set up the capistrano deploy task for both the production and staging, should I keep the db role in deploy.rb like this:


You could either. It might be easier to understand though if all the hosts for a given stage are in the same file.

However, the :db role doesn't actually mean the database server itself - it means where should migrations be run from.

Fred

 
deploy.rb
role :db,  "database_ip", :primary => true 

production.rb
role :web, "production_ip"
role :app, "production_ip"

staging.rb
role :web, "staging_ip"
role :app, "staging_ip"

Or should I do it this way:

production.rb
role :web, "production_ip"
role :app, "production_ip"
role :db,  "database_ip", :primary => true 

staging.rb
role :web, "production_ip"
role :app, "production_ip"
role :db,  "database_ip", :primary => true 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f3dc8e3e-05f9-42d0-b551-3de04098052d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.