- screenshots of scores will be posted in comments
- screenshots of completed sections will be posted in comments
https://gist.github.com/edilenedacruz/874845f78d5bf3f90fb847c34e5271c4
https://gist.github.com/edilenedacruz/874845f78d5bf3f90fb847c34e5271c4
#Introduction#
So, what led me to discover canine raw food?
##Canine diet before World War II
##Corporate greed
The article pointed to the most important factor when cheating is involved: that the student didn't learn from it. The current educational system is so focused on grades and proceeding to the next step that the student has very little options but to try "everything" to get to the next level/class. This system robbed all of us from the chance of truly learning from the mistakes we make and have an enduring learning.
Other methods to evaluate knowledge are available out there and should be explored. It was to see that the author ensured to reconnect honor to the learning process and that is something that it seems to have been forgotten through the years.
This exercise will help you better understand Arrays and Hashes
Use the data provided in state_capitals.rb to write a program that does the following.
Prints out the names of all states that have a population greater than 5 million.
Returns the name of the capital when given the name of the state.
Class.where(method: value) Class.where(method: [value1, value2]) user = User.find(41) orders = Order.group('amount') orders = Order.order(:amount).reverse User.where.not(id: id) items = Item.where.not(id: items_not_included) names = Item.pluck('name') Author.joins(:books).merge(Book.available) .unscope
What does it mean to concatenate files? Find an image of an example concatenated file. Why would we want to concatenate files? It means to bring files together, in one place.
What does it mean to precompile files? What does this have to do with coffeescript and sass files? Precompile files is to use/convert a higher languange into a web browser deliverable language.
What does it mean to minify files? Find an image of an example minified file. Why would we want to minify files? It means to strip out the trailing whitespaces.
Start up the server for Catch ‘em All (rails s) and navigate to http://localhost:3000/assets/application.js. Then open up the code for application.js in your text editor. Why are these not the same?
new_user_path
UsersController
with new actionnew.html.erb
password_digest
string fieldgem 'bcrypt'
in Gemfile and add has_secure_password
in User modelcreate
action in UsersControllersession[:user_id]
in create action