search for: message_text

Displaying 8 results from an estimated 8 matches for "message_text".

2006 Feb 24
2
Model Inheritance?
...ith designing a model I have in mind. I''m not sure what the best way to do it in Ruby/Rails is, or even if what I''m thinking is possible. Basically, I have a system where I want to treat everything as a "message." A Message is a basic model object with a title and message_text. It can stand on it''s own, or it can be "converted" into a more complex object like a task, or a project. Tasks and Projects all have titles and message_text, so it seems silly to make them entirely separate models, especially because I want to be able to easily convert any...
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys rendering newsfeeds? We have a couple of apps where we send newsfeed items from a backend process. As such, we aren''t in the context of a controller and can''t use the rails template rendering. We''ve tried about 3 different ways to make that bearable, but aren''t having much
2011 Nov 03
0
multiple render text in jquery rails
...For one action of user based on condition i want to render different texts. So how do i achieve it through jquery? For example: A simple posting message application: On post button i have a post method which has security checks and other server side checks like : =========================== if message_text.nil? or message_text.empty? or message_text.length > 140 post_validation_check=true respond_to do |format| format.html { render :text=> "<div id=''outputDiv''><span class=''inputError''>Please enter message upto 14...
2003 Jul 01
0
Re: Winpopup message to all user on a PDC
...9, Roberto Samarone Araujo (RSA) ha scritto: > It it possible to send messages to all users logged in a PDC at same > time ? I didn't find a ready-to-use program, so I use something like this inside an executable script: for i in $(cat /path/clientlist.txt) do echo message_text | smbclient -M $i & done clientlist.txt is an ASCII file containing a list of all NetBIOS names of the PCs in the network, e.g.: ACCOUNTING JOHN BILL_PC SHARED etc... message_text is the text you want to send. -- Ciao, Marco. ..."The Lamb Lies Down on Broadway", Genesis 19...
2003 Jul 02
0
Winpopup message to all user on a PDC
...t; > > It it possible to send messages to all users logged in a PDC at same > > time ? > > I didn't find a ready-to-use program, so I use something like this > inside an executable script: > > for i in $(cat /path/clientlist.txt) > do > echo message_text | smbclient -M $i & > done > > clientlist.txt is an ASCII file containing a list of all NetBIOS names > of the PCs in the network, e.g.: > > ACCOUNTING > JOHN > BILL_PC > SHARED > etc... > > message_text is the text you want to send. > > -- > Cia...
2007 Sep 05
9
Profanity Filter for Rails Application
...messages to a board. I want to be able to filter profanity. For instance if someone types an inappropriate word of 5 characters I want it to read "#?@#@" or whatever. Ideally, I would be able to install a rails plugin or ruby gem and then simply write Code : - fold - unfold --> message_text.hide_profanity! <-- and that would automatically hide all words deemed inappropriate by the filter. I would also be OK with it being part of the validation, i.e. --> validates_no_profanity :message <-- which would raise errors should there be any profanity in the value. Is there any...
2006 May 02
3
Ajax scaffolding respones are received, but not rendered in browser
...;message_title\">Title</label>\n <input class=\"text-input\" id=\"message_title\" name=\"message[title]\" size=\"30\" type=\"text\" />\n</div>\n\n<div class=\"form-element\">\n <label for=\"message_message_text\">Message text</label>\n <textarea cols=\"40\" id=\"message_message_text\" name=\"message[message_text]\" rows=\"20\"></textarea>\n</div>\n\n<div class=\"form-element\">\n <label for=\"message_deleted\...
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi, does anybody know if TMail supports nested multipart messages? I read a changelog that indicates so (http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven''t been able to get it working so far. Maybe I am doing something wrong here? I attached the sample mail. Here is the code to parse it: require File.dirname(__FILE__) +