search for: i8ramin

Displaying 11 results from an estimated 11 matches for "i8ramin".

2006 Feb 28
2
SwitchTower rake deply failure on DreamHost
I''ve been following some tutorials on how to get switchtower working on dreamhost. I got the setup to work just fine, but the rake deploy doesn''t work. I get the following error. any ideas? ---------------------------------------------- > rake deploy (in /home/.interim/i8ramin/work/yaram.com) loading configuration /home/i8ramin/.gems/gems/switchtower-1.0.1/lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb * executing task deploy ** transaction: start * executing task update_code * querying latest revision... * executing "...
2005 Nov 18
10
[Request] file_column configurability
I wasn''t sure where to email this request, so I am hoping the author of file_column actually sees this. I was wondering if there were any plans to allow some configurability in the file_column plugin. By configurability I mean allowing the developer to define which table column is used as the unique identifier when creating image folders. Right now it seems like it uses the ID of the
2005 Apr 01
11
I want to blog!
This isn''t Rails or Ruby related, but I just need some advice and thought I''d ask the bright individuals here. I want to start my own blog but I''m not sure where to begin. I don''t want to get a blogger account because I want to have my own domain. Blogger also doesn''t have many features. My hosting service is 1AND1 so it supports php, cgi and mysql.
2005 Mar 31
6
Text in boxes for regular web pages
I have to say... since it''s bugged me _many_ times, that i *hate* these text boxes with the sliders that are being used to display text (for instance, on Rails documentation pages... but it''s not just Rails). Very often you can''t really read the text because it goes past the right border of the box. So you have to go to the bottom of the box to move the slider to
2005 Dec 21
2
Missing error page templates
Whenever I get any errors on my application, I don''t get the regular rails error page with all the debugging information. What could''ve cause this? This is from the logs: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
2005 Mar 31
5
Outputting XHTML strict
I''m trying to get a page to validate as XHTML Strict, and I''ve gotten everything fixed except for one <textarea> that Rails is generating. <textarea cols="40" id="estcomment_comment" name="estcomment[comment]" rows="10" wrap="virtual"></textarea> This tag is being called in my view with <%=
2005 Dec 19
4
need some help designing my messaging system
I am trying to create a messaging system for my users but I''m having a hard time designing my db. This is what i have in mind, but I am not sure if its the best approach. user has_one inbox user has_one outbox inbox has_many messages outbox has_many messages inbox table user_id outbox table user_id messages table box_id (refers to either inbox or outbox - how?) from_id to_id
2005 May 08
3
[OT] Linux Development Environment - suggestions
Hey, sorry for the off topic email, but I appreciate any feedback you guys can give me. I just put together a new box and installed Ubuntu linux on it. I''m coming from a totally windows environment, so I''m having some trouble getting my head around the linux file system and where things "should" go. I am trying to create a nice development environment for myself
2005 Nov 03
12
Installation of plugins/gems/mix-ins confusion
I''m running 0.14.2 and am a little confused as to the best way to install mix-ins. I''m specifically using "acts_as_paranoid" as an example (as it is one of the simpler implementations). It is a gem and can be "installed" as a gem, but then what''s the best way to integrate it into my app (require_gem?). I''ve seen recommendations to require it
2006 Jan 27
2
User.already_friend_of(friend)?
I have a User model who HBTM Friends (class User). I would like to check for the existance of a user in the friends table before actually adding them (in case they were already added as a friend.) I have a method called already_friend_of?(friend) defined in my User model, but I am not sure how to define this method. I simply want to check to see if one user is already a friend of another user
2006 Jan 28
1
Advice on Optimization, and where to put what?
In my last post I was asking how I could check for the existance of a record before inserting a new one and this was the helper method that I was using to do this: def already_friend_of?(friend) begin self.friends.find(friend.id) true rescue false end end I was told that this is not very efficient, as it hits the db every time I call it. I completely agree and would like to