search for: codecharter

Displaying 13 results from an estimated 13 matches for "codecharter".

2006 May 09
4
subdomain
hi, how to create a subdomain outside the public directory and how to redirect to the subdomain -- Posted via http://www.ruby-forum.com/.
2006 Jul 17
1
code snippets
I use jedit as my ruby editor and I recently decided to give radrails a try so I can take advantage of the cvs/subversion integration plugins. I''m used to using code snippets in jedit so I can quickly insert common code structures without having to type them in by hand each and every time - much like the feature seen in TextMate. Now, I''ve searched high and low in the settings
2006 Jun 09
2
unique login
Hello, I''ve created my user model which validates against the database for a proper user/pass combination. I''ve set validation options to ensure that both a user and password are entered. I would like to check via an ajax call whether or not the username is taken. I haven''t been able to find a tutorial covering this topic. Do any of you know of one? Thanks, David
2006 Jun 22
4
Can I peek at all "active sessions"?
My users need to login to run the app I''m building. I''d like to give them an "Other users currently active:" piece of information. I could track it myself in the database based on login/logout, but that doesn''t really count for people just leaving the computer logged in and never coming back. Does Rails have an API for me to monitor sessions and take a
2006 Jun 22
4
stylesheet linking and layouts
In my layout, I have something like (shortened for clarity): <html> <head> <%= stylesheet_link_tag "index", :media => "all" %> </head> <body> <div id="site-container"> ... <cut for space> <%= @content_for_layout %> ... <cut for space> </div> </body> A view action has another stylesheet defined
2006 Jul 06
1
gem repository
I seem to be having a problem with contacting a valid gems repository. If I run "gem query --remot" I get an empty set as my list. If I run "gem install rails" or "gem install rails --include-dependencies", I get an error indicating that the requested gem was not found. I have rubygems 0.9.0 installed from the package available on their site. Is there someplace
2006 Jul 14
2
multiple options & checkboxes
Hello, I''m trying to implement a checkbox option function, but I''m having a problem in visualizing how it needs to be implemented. Let me explain. I have a model (User) and another model (Category). I want the user to be able to select multiple categories in the form of checkboxes and have this information stored in the db. User habtm Category and Category habtm User But
2006 Jun 12
2
starting WEBrick
I''m doing some testing and want to start WEBrick as a daemon on my RHEL 4 server. How can I start this to run as a daemon from the command line so that I can close my ssh session and leave WEBrick running? Thanks, David
2006 Jun 13
0
Validation
In my controller, I have a function defined which performs authorization on a credit card. It will return either "Success" or "Failure" depending on the results. In my form, I would like to have the submit button cause the check to be performed and the page would sit there while it was processing. After the processing, on a "Success", it would forward on to the
2006 Jun 13
0
remote_form_tag
I''m using the remote_form_tag to submit my form data to a controller method call. I would like to forward if everything checks out and display the model errors is there is a mistake. Right now my method call returns a string and it''s being displayed in a div, but I can''t force a redirect or display errors is they exist. Any ideas? Thanks, David
2006 Jun 20
3
find ''newest'' of a model
I have a model which has the created_on and updated_on fields. I would like to find the newest instances of my model from the database(for instance, last 10), but as I''m only 6 weeks into my Rails development, I''m not entirely sure how to do it. Any suggestions? Thanks, David
2006 Jun 22
1
remote content
Hi, I''ve looked through the api and I can''t seem to find the functionality that I''m looking for. I want a link that, when clicked, will replace the content of a div with the rendered content of another action. Something like what you can accomplish when you use remote_form_tag and then have the reply replace the content of a div in the page. I''m sure this
2006 Jul 04
2
searching
I''ve been searching for a way to implement a search feature across articles posted in a table. All the google results I get refer to "live" search and I''m not interested an automcomplete function, but because of the prevalence of tutorials on the subject, I can''t seem to find what I want. I have implemented a search in PHP before where I had MySQL perform an