Skip to content

Instantly share code, notes, and snippets.

View Random-Stack-Random-Day's full-sized avatar

Coding in GA Random-Stack-Random-Day

  • Cartersville, GA
View GitHub Profile
dnorthrup@bloccit:~/workspace (master) $ rails c
Loading development environment (Rails 4.2.4)
[1] pry(main)> cd Post.first
Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT 1
[2] pry(#<Post>):1> self.post = "My new post!"
NoMethodError: undefined method `post=' for #<Post:0x00000004599468>
from /usr/local/rvm/gems/ruby-2.2.1/gems/activemodel-4.2.4/lib/active_model/attribute_methods.rb:433:in `method_missing'
[3] pry(#<Post>):1> self.title = "My new title!"
=> "My new title!"
[4] pry(#<Post>):1> self.body = "My new body!"
@Random-Stack-Random-Day
Random-Stack-Random-Day / Nearly Finalized Twitter.markdown
Last active September 24, 2015 02:52
Nearly Finalized Twitter

Nearly Finalized Twitter

Bootstrap Based Tab Browser: Array based Twitter Query, and Forismatic API. Side-by-side comparison.

A Pen by Donavin Northrup on CodePen.

License.

Donavin's Portfolio

Making a BootStrap based portfolio to encourage my bootstrap foundation. Throwing in some jQ/JS to 'spruce' it up a bit.

A Pen by Donavin Northrup on CodePen.

License.