Archives
- January 2020
- October 2018
- September 2018
- August 2018
- June 2018
- April 2018
- February 2018
- January 2018
- July 2017
- June 2017
- March 2017
- October 2016
- July 2016
- September 2015
- August 2015
- February 2015
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
Meta
Categories
- add
- admob
- algorithm
- android
- app
- App Idea
- beagleboard xm
- BigQuery
- broken
- C++
- cakephp
- case-sensitive
- clone
- codeigniter
- coding
- composer
- coursera
- cross compile
- crosstool
- dbus
- default value
- dependency injection
- diff
- eclipse
- emulator
- error
- file
- forbidden
- fragment
- gdb
- git
- gitolite
- google maps
- inorder
- install
- interview
- java
- jQuery
- link
- linux
- marakana
- mongodb
- NFS
- not working
- php
- preferences
- preorder
- process
- pulseaudio
- push
- qnx
- qt
- rails
- refactored
- reference
- relink
- remote
- ruby
- ruby on rails
- ruby on rails tutorial
- server
- service
- singleton
- svn
- TDD
- topcoder
- tortoisesvn
- troubleshooting
- ubuntu
- UI properties
- undefined
- user
- v3
- virtualbox
- zend
Top Clicks
- None
Category Archives: RoR
Rails Association
Spent a day learning how about associations. Realized that has_and belongs to and the necessary join table isn’t as easy to use as creating a regular join model table and use has_many :through. Join Table = create_join_table Join Model Table = … Continue reading
Rails here we go
Finally moving forward to redoing a website that is all DB driven to a Rails platform. Designing DB schema and models. woot. Wish I could bring in a Rails consultant though
RoR 4.0.2 issues
gem “mongoid”, github: “mongoid/mongoid” kept giving me the error: fatal: read error: Connection reset by peer Git error: command `git clone ‘git://github.com/mongoid/mongoid.git’ “/home/mfang/.rvm/gems/ruby-2.1.0/cache/bundler/git/mongoid-176c799a8a4589043b073e277e545d697119fa82” –bare –no-hardlinks` in directory /home/mfang/dev/ror/aws-iar_mygitstation has failed. Changed it to gem “mongoid”, :git => ‘https://github.com/mongoid/mongoid.git’ Now it … Continue reading
Ruby on Rails Tutorial – Chapter 5
This chapter is more about front end web page changing portion and using TDD to do coding. I like how it’s always adding a test case first, make sure it fails, then add code to make it work. Really drives … Continue reading
Posted in Coding, RoR
Leave a comment
Ruby on Rails Tutorial – Chapter 4
This chapter is mostly about Ruby syntax. Skip or skim Part 4.1 is OK since there’s an example of using a function to populate the <title>.
Ruby on Rails Tutorial – Chapter 3
Best to look within the GitHub project to write the correct Gemfile. If you see the error that visit is undefined, in the Gemfile add group :test do gem ‘capybara’, ‘1.1.2’ end Then do bundle install –without production Pretty pointless … Continue reading
Ruby on Rails Tutorial: Chapter 2
Pretty simple chapter. Got through it within an hour. After working on CakePHP there is quite a bit of similarities between the two MVC frameworks. Glad I got some work in on CakePHP to prepare me for this. OK spoke … Continue reading
Ruby on Rails Tutorial: first_app deployment
Man took to 3 days to setup RoR and get the first_app successfully deployed. Advice if you’re using windows, use some virtualization and use Linux. Actually follow the Gemfile instructions as is. Even better would be to use the Gemfile … Continue reading
Ruby on Rails Tutorial
Goal from now until the end of August is to finish the Ruby on Rails Tutorial book. I’m reading the book through Safari but just found the link to it online this online book is better updated than the published book. … Continue reading