05 January 2008 ~ Comments Off

Practical security on your application

Developing online applications is a way of life for a lot of programmers! It’s a great feeling working your but off day in and day out, night in and night out, sometimes all night and sometimes with no brakes! Then launch day comes and you are so happy any cant wait for people to start [...]

Continue Reading

21 December 2007 ~ Comments Off

juneLite launching in Rails

I have been working on a new improved version of juneLite this time it will launch in rails and not PHP with the june framework. I am also making a few changes to the application and how it works. The UI will remain the same but a few changes in features. This move to rails [...]

Continue Reading

16 December 2007 ~ Comments Off

3 ways to find with Rails

Searching for data in a database is the best and easiest part of a rails app! I have come up with a list below of three ways to get the job done. Use any of the three and you will be very happy with your results! One of the design principles of Rails is providing [...]

Continue Reading

15 December 2007 ~ Comments Off

Ajax and Ruby on Rails

Submit your form via Ajax and save the results to a database. To do so just follow the steps below. First we need to open the form tag (form_remote_tag), then we will send the form to a url, a position and what id to update! [ruby] “my_list”, :url => { :action => :addtodo, :id => [...]

Continue Reading

09 December 2007 ~ Comments Off

Changing data in RoR

I needed to change some data that was not being submitted by my form. Your asking, what? Well say you have a form for account signups. The form has fields for: full name, email, and password. Now your database has columns for: full name, email, password, signupdate, and status. I needed to send the database [...]

Continue Reading

29 November 2007 ~ Comments Off

Beginners watch out for the error

When I first started Ruby, I ran into many syntax errors. Nothing big, everyone will do it once in awhile it’s a normal phase of learning code! I seem to hit one error ALL the time; it’s when I am going to validate something. I open my model and start writing and I use Validate [...]

Continue Reading