search for: blogentries

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

Did you mean: logentries
2006 Aug 01
1
Some errors in the blogentry with instructions on how to install Xvnc on Solaris
Hi, I created my first Xen DomU running Solaris today using the instructions from this page Creating Solaris domU virtual disk images at OpenSolaris.org <http://www.opensolaris.org/os/community/xen/How-To-07-2006/Solaris-domU/> and it works out of the box! That''s cool again! If you''re going to do the same (and I encourage you to do so!) be aware that it takes a
2006 Jul 11
0
dynamic routes from the url? is this even possible?
my quesion is...what is available to routes.rb that it creates the values of the symbols you define in the rules? what i mean by this is, is there a named variable that contains the url sent in the request that i can get at to force values into my rules? i''m trying to do the following: i have a url.. www.my_domain.com/abc/blogentry/show/1 and the rule.. map.connect
2006 Apr 07
1
how to map one-to-one relation to two tables
hi. iv got a problem with one-to-one relation with AR. let''s say I need this classes: class ContentObject < ActiveRecord::Base class BlogEntry < ContentObject class FotoEntry < ContentObject i.e. Blog and Foto entries must extend ContentObject. Also they must be mapped to separate tables. I can not figure out how to map this kind of association better? The most dumb and
2005 Dec 18
0
Caching question
...icationController caches_page :index caches_page :home layout "ui" def index @siteoption = Siteoption.GetSiteOptionHash("Home") @header_image = @siteoption["header_image"] @header_text = @siteoption["header_text"] @blogentry_pages, @blogentries = paginate :blogentry, :per_page => 10, :order_by => ''created_on asc'', :conditions => "blog_id = 10" render(:template => "/home/index") end def home render(:action => :index) end end ____________________________________________...
2008 Mar 03
1
How change text_area form helper into rich text entry area/control?
Do you know how to render a rich text input area (with HTML formatting buttons (bold, italics, etc., available?) In RoR I''m hoping this is very easy to pull off?!? <%= text_area ''blogentry'', ''entry'' %></p> TO <%= rich_text_area ''blogentry'', ''entry'' %></p> ??? Haven''t found
2006 Aug 16
0
Creating a comments system for multiple types of
It sounds like you want a polymorphic association - class Party < ActiveRecord::Base has_many :comments, :as => :commentable end class BlogEntry < ActiveRecord::Base has_many :comments, :as => :commentable end class Comment < ActiveRecord::Base belongs_to :commentable, :polymorphic => true end then include columns ''commentable_id'' and
2008 Oct 06
2
Letting a user choose pictures
I have an area on a site where a user can upload pictures to, and then another area in which they create a new topic. Now I want a user to be able to select photos from their uploaded photos... and I''ve hit a coder''s block. Any tips on designing this interface? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 Apr 18
2
Connecting to multiple databases with multiple database users
Hi everyone, I was wondering what the common practice for handling multiple db users with fine grained privileges on multiple databases is. Against the often read guideline for rails users to keep with a single db as "more dbs don''t really make sense anyway", my opinion is that it DOES make sense to use more than one db schema for a number of reasons that I won''t
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -
2007 Feb 01
2
file_column 2nd try....
Looks like my first question a couple of days ago wasn?t very clever asked, at least very sucessfull.... So, anyway...i will try it again: I have to prefix that I am far away from fully understanding the overall concept yet, and there?s no way to get some hints in the www so far, at least my resaerches dont lead to any helpfull stuff. image_controller.rb: def create MiddleMan.new_worker
2006 May 10
8
dynamic setting of username and password in database.yml
Hello I''ve now read a lot about application-level authentication in Rails, but I need to do database-level authentication. The reason is that my database needs to have the current_user (database current_user, not current_user defined in an ActiveRecord Model) set to execute triggers for automatically updating audit tables. So it is not enough to have a session check against a User