search for: ircwv

Displaying 20 results from an estimated 50 matches for "ircwv".

Did you mean: irc
2006 Jul 21
3
Interface with Flickr
Does anyone know how to get going with the flickr api WITHOUT using the ''flickr.rb'' gem? I''m wanting to just use the REXML and ''net/http'' stuff. I''m just wondering how to send requests to the api and handle the response. Any tips would be great! Thanks! -- Posted via http://www.ruby-forum.com/.
2006 May 08
4
<%= text_field %> - how to set the value to session name?
I''m trying to automatically fill a "posted_by" text by with whoever is logged into the session. How do you set the value attribute using "<%= text_field ... %>"??? I''ve tried: <%= text_field ''post'', ''posted_by'', ''value'' => User.find(session[:user_id]).name.capitalize) %> But I get
2006 Mar 14
5
Dreamhost Database problems
I''m working on uploading my site to dreamhost. I just setup my production database, and gave it a host name. It said that it was successfully created. Now, it''s been like 25 minutes, and I still can''t connect to it. Is that normal? How can I get my tables created? Just wait it out? I''m trying to load it in the browser, and it says "server not
2006 Mar 29
7
Dreamhost upgraded 1.1 - app doesn''t work
Does anyone know how long it will be until Dreamhost get''s the Rails 1.1 install running correctly? My site has been down since last night at about 7:00 pm (I think). It''s annoying, and are a lot of others having this problem too? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 05
2
Sending an email when a comment is posted
When a user posts a comment on my site, is there a way for me to be notified via email? I know this is pretty easy in php, i.e. mail() function, but I''m looking for the equivalent in Rails. Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 05
2
RSS feed for blog entries...
Can someone guide me on the process of providing an RSS feed for my site? I''m not sure how to go about this. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 14
7
Application error (Rails)
After I attempted to add ActionMailer functionality, it gave the "Application error (Rails)" and now, everything on my site works, except for the part where the Actionmailer ''would have'' sent the email. I took that out now, re-uploaded the file, and ran "killall -USR1 dispatch.fcgi" and still nothing. Everything else works, except that. Any idea what
2006 Mar 04
2
Current date/time - how to store with comments?
Can someone tell me how to store the current date/time when someone posts a comment on my blog? I could even update the comments table after the comment is saved in the controller, but I''m not sure how to do that either. Thanks for any help... -- Posted via http://www.ruby-forum.com/.
2006 Mar 04
4
How to redirect_to the same page after comment posting?
How can I have the page redirect_to the same page after someone posts a comment? I know that you can do "redirect_to :action => ''index''", but the page is located at this URL: /posts/2006/02/01/individual_post/ So, the action is "individual" which is in the "posts" controller, but there is a custom URL mapped for the URL shown above. How can
2006 Mar 09
1
RSS testing on localhost?
If I were to figure out how to develop an RSS feed for my blog, I should be able to test that locally right? If I go to http://mydomain.com/posts/feed/, what should I see? The XML output? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
2
Dreamhost uploading
I haven''t had a chance to upload my app and configure dreamhost, but I did log in and create the folder using the "rails app_name" command. Now, my question is, I read online to do this: > cd domain.com > rails my_app_name So, I did just that. Rails will know what to do even though my application is in a sub-directory under "domain.com"? Essentially,
2006 Mar 17
1
How to handle errors - HELP
I''m having trouble with my Ajax comments, but only when someone clicks the submit button when there''s no comment. How can I handle this in my code? Do I use "rescue nil" or something? Here''s my controller: def comments content = Content.find(params[:id]) @comment = Comment.new(params[:comment]) content.comments << @comment
2006 Aug 15
4
Cookies and Ruby???
When someone comments on my site, I would like to store the user''s name as a cookie, and display it the next time they return. I really don''t know how to do this. Does this use the cgi library? As most things with ruby, I would imagine it to be quite simple... could anyone post a code snippet as to how this would work??? Thanks... -- Posted via
2006 Mar 17
1
RSS problem when trying to display ID - HELP
I want to append "#comment-1" or whatever, depending on the id to the end of my xml.link(" ... /#comment-1") attribute in my generated xml. Well, when I put: xml.link(" ... /#comment-" + comment.id) I get an Application error (rails) message when I look at the generated XML. This is what I''m doing without the id on the comments (its working fine):
2006 Jul 19
3
Trouble with links in the layout - Help
I''m trying to get my del.icio.us links to appear in the layout, so it''s throughout the entire application. I have the interface to the API working, I just don''t know where to put the code (in what controller?) and layout to be application wide. I tried putting the code in "application.rb" and then the view stuff in "application.rhtml" but that
2006 Mar 17
2
Security issue dealing with comment posting - anyone?
This is how I''m posting comments currently. This works, but I read somewhere that I shouldn''t inject params right into my sql query, because it makes it easy for people to hack in and ruin the db. I''m not sure if this even makes sense, but I''ve tried other things, and can''t get anything else to work. #currently def comments content =
2006 Mar 06
5
Dreamhost subscription?
I''m thinking about signing up with DreamHost for the base Level 1 $9.95 plan. Does anyone think that''s a bad idea? I''d like to know others thoughts, and who they recommend for RoR hosting? Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Aug 17
1
del.icio.us api - repeating in my layout??? HELP!
I''m pulling in my most recent 6 entries from my delicious account based on a certain tag. This was working fine for about a week - I just visited my site, and each time I visit, it keeps adding the same 6 bookmarks below the current 6. So, everytime you navigate throughout the site, it adds 6 bookmarks to the last (but it''s the same list over and over). I have a function
2006 Jul 18
0
del.icio.us links in the layout - HELP
I''m trying to get my del.icio.us links to appear in the layout, so it''s throughout the entire application. Here''s the code I have: #controller - application.rb? def get_authenticated(path, http) request = Net::HTTP::Get.new(path) request.basic_auth ''user'', ''pass'' response = http.request(request) response.value
2006 Jul 19
3
Flickr.rb - Limiting photo results!
I''m returning my photos to my site, but I''m want to limit the result to like 5 photos or something. Right now, it''s returning all of my public photos. What I''m attempting is to do some sort of counter loop in the view to limit this, but it seems like the API would have a count or a limit option. Does anyone know how to limit the photos returned by