This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Carolyn Golden, HireNetworks | |
[email protected] | |
-http://https//www.linkedin.com/in/carolyngoldin | |
-IT recruiter in Raleigh and Charlotte | |
LI is your resume amped up | |
-pro photo | |
-Don't look miserable/angry or naked |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Detailed Development Questions | |
Would you rather use RubyMine, vim, or Sublime Text? Why? | |
While we used an editor in code school, so I'm not super familiar with IDEs in general, but I've heard a lot of good things about both vim and Sublime. My understanding is that vim has a fairly steep learning curve, but once you get it it becomes intuitive and very fast, so that is probably the one I would choose. | |
What is the difference between an INNER JOIN and a LEFT JOIN? | |
There is none? | |
Which of these behaviors in a Rails app would require JavaScript? (you can pick more than one) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Intellectual property | |
4 types of protection | |
1. patent -compositions of matter, devices | |
2. copyright - original expression (including software) | |
3. trademark - source id/consumer goodwill | |
4. trade secret - valuable, secret business | |
What is copyrightable? | |
-original works, including software | |
-default rule is authorship = ownership (unless it's a work made for hire for your employer) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Detailed Supporting Technology Questions | |
Why would you use SCSS instead of CSS? | |
SCSS is cleaner, you can specify elements very specifically and whether they're contained in other elements | |
Easier to make a more uniform styling for an app | |
Nesting | |
SCSS is a bonus, css still works | |
You can assign variables and use those throughout your style | |
You can import files and make a mixin to make groups of CSS declarations that you want to reuse throughout your site |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Detailed Rails Questions | |
What is the difference between form_for and form_tag? | |
Form_for is required for nested attributes, and is for a specific object. Form_tag can be used generally on the page and doesn't have to target a specific object. form_for @user do | |
When you submit a form_tag it posts and goes to the same page by default | |
Form_for goes to create/update by default | |
-create if the object it's targeting have never been saved, update if it has | |
What is the difference between render and redirect_to? | |
Render will render the form or whatever on your web page so you can see it. Redirect will send the user to another page on your site. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Detailed Ruby Questions | |
What is the difference between a hash and an array? | |
A hash is an unordered collection of key/value pairs. | |
Arrays are ordered, integer-indexed collections of any object | |
Both are enumerables | |
No .first on a hash | |
No .keys on an array | |
What is the difference between a string and a symbol? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/pride' | |
# Write two classes which inherit from the Vehicle class below. You will also | |
# need to add a method to the Vehicle class during this challenge. | |
class Vehicle | |
def initialize(make, model) | |
@make = make | |
@model = model |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/pride' | |
# Write a class which wraps around an array, but only allows odd numbers | |
# to be stored in the array. | |
class OddArray | |
def initialize(array) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/pride' | |
# Write a class which has an initialize method, a reader method, a private | |
# method, and a class method. | |
# WRITE YOUR CODE HERE. | |
class Goat | |
def initialize(name) | |
@goat = Goat.new |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'minitest/autorun' | |
require 'minitest/pride' | |
# Write a series of methods which use the .any, .all, .map, .select, .reject, and | |
# .reduce methods in Enumerable. Each of your methods should be one line. | |
# WRITE YOUR CODE HERE. In this challenge, names longer than 5 characters are | |
# considered long. | |
def has_even?(array) | |
array.any? {|i| i.even?} |
NewerOlder