Your author is a sound engineer, a web developer, a network admin, a graphic designer, a grandfather, a father and a husband ... and I ain't that old either! I have lived in Philadelphia, PA more than 35 years.
I see that the test bed site here I made has become popular for robot commenting. Particularly huxuh.com/posts/6?page=8. I can see this from a Google search on “huXuh” and in the logged exceptions where there is no authenticity token … There is also a template error that I need to look into … I would like to start working on this site more as well, but there are others that must come before it so I wait … I also have a lot of servers to configure on a new conection, so that’s gonna take some time as well …
So in the mean time, I will visit now and again and see how the commenting goes … Thanks!
I’ve stuck with the sqlite3 database for now. Will switch to MySQL once I get a bit more involved with many more tables, but right now it’s tiny. Still sorta test (again), you know? This post will also kick another page in pagination and I wanted to see that too …
If you stop by, comment or whatever, but understand, this is just a live sandbox, and I might kick over your castle at any time.
Thanks!
Went live this morning, Thursday, September 17th, 2009.
Fun stuff with git on another site did not plague this site. I was also able to get the comment thing working via some very helpful people on the #rubyonrails irc channel on freenode … Over 400 people in a room and on a simple problem, it only took about 3 hours to solve. Awesome!
I forget what else I did … I want to change some things too, but I above everything else wanted to get the site going up live on the web with which to play.
Here’s to Learning Rails!
Starting with a long title. Just to see how that plays out.
I’m now using tinyMCE for inputting in this text in the textarea … I can even make it into a full screen editor … I’ve added the following:
I searched github for these things and found most of what I was looking for … Have done a bunch more CSS editing as well … Need to get authentication in here now …
This is the body … Wonder what it looks like? The mighty Casey struck out! Wrd …
Crüe …
Added pagination via the mislav will_paginate gem. But, how to paginate comments? The current code is:
def show
@post = Post.find(params[:id])
end
so what would that be changed to?
@post = Post.paginate(params[:id])
I’ll have to try that out.
Edit: Have to send a @post variable and a @comments variable back to the view.
How many words? There’s 54 words? Again? Is this wrd mispelled?
18:07:17
2009-09-14
This project (Ruby on Rails application) started from the Simple bLog application in 15 minutes that was done in a screen cast by Ryan Bates for the rubyonrails.org web site.
I started with the code from the screen cast and updated what was necessary to make it current. I think the only thing deprecated was the formatted feed URL link and I simply changed that. If there’s anything else, feel free to comment. I used Ryan’s nifty_generators to get the initial layout and I also used the nifty_scaffold to generate the models and controllers.
The Ajax is in here too, but I can’t figure out how to get it to update my comment count (one of the things I added). I won’t have users until I add in authentication, but for now there’s the HTTPauth that was originally used in the screen cast.
I also think comments are a bit open, but a name and email address are required, and that’s the other thing the remote_form_for takes from me, error messages on the comment form. I tried some if/else logic, but wasn’t successful and I don’t want to rig something for fear I will learn a bad habit. I simply need to look it up …
I added the sidebar which isn’t used yet, and I utilized Ryan’s way of dynamically getting output there. So far so good.
I think we’re on our way!
The application is coming right along … Hitting some areas where I will have to ask questions of people whom know more than I … or, will there be somewhere on the Internet that satisfies my curiosity? I can only hope …
This is the fourth post to this application that I’m tweaking over and over and over …
Why, just why oh why?
I give up on the comment SPAM for now. They got around the “secret” way to stop comment SPAM. Eventually I’ll have to check into that Akismet kinda stuff, but the learning curve on Rails itself right now is bigger than it’s ever been I think … Everything I’ve sorta learned is changing … There’s that and then all the other things going on in the real world … So overwhelming for me right now … Thanks for asking …