Displaying 15 results from an estimated 15 matches for "cosinux".
Did you mean:
colinux
2006 Feb 15
3
RailsTidy: validates your HTML
...functional tests,
* clean the html generated by rails.
For doing all this, it uses
* Tidy[1], the popular HTML validator and
* RubyTidy[2], Ruby bindings for Tidy.
More on the RailsTidy[3] page.
* Installation instruction, usage and so on
are at http://www.cosinux.org/~dam/projects/rails-tidy/doc/,
* Source tree is at http://www.cosinux.org/~dam/projects/rails-tidy/rails_tidy,
* Tarball is at http://www.cosinux.org/~dam/projects/rails-tidy/rails_tidy-0.1.tar.bz2
[1] http://tidy.sourceforge.net/
[2] http://rubyforge.org/projects/tidy/
[3] http://www....
2007 Jul 31
1
RXML: <ruby:put expr="1+2"/>
...to write a renderer using only
valid
XML files. Here is an example of a file so you get the feeling of
what
it''s going to
do:
<?xml version="1.0" encoding="utf-8"?
>
<html xmlns="http://www.w3.org/1999/
xhtml"
xmlns:rails="http://www.cosinux.org/
rails"
xmlns:ruby="http://www.cosinux.org/
ruby">
<body>
<ruby:put expr="''1 + 2 = '' + (1 + 2).to_s"/
>
<ruby:put> ''1 + 2 = '' + (1 + 2).to_s</
ruby:put>
<ruby:eval expr="(...
2006 Jun 01
5
History plugin
...I felt annoyed enough when having to redirect user back to their
previous location in a hackish way that I wrote this plugin.
It avoids storing POST and Ajax request. It also has a facility to
specify actions not to store in the history.
If you are interested, it''s there:
http://blog.cosinux.org/pages/rails-history
See you all,
Damien
--
Damien MERENNE <dam@cosinux.org>
http://blog.cosinux.org/
If you ask Chuck Norris what time it is, he always says, "Two seconds ''til."
After you ask, "Two seconds ''til what?" he roundhouse kicks you i...
2006 Feb 13
2
Do I need separate file for each model
Hi,
I have some models in a file named genel. When I try to use one of the classes in my controller rails raises an error telling classname.rb is not forund even the file is required already.
require "genel"
require "hesaplar"
class HesaplarController < ApplicationController
def yeni_firma
@emlak_firmasi = EmlakFirmasi.new
@sehirler = Sehir.find_all
end
2006 Feb 17
5
getting old values
Hi all,
I''ve add :before_update event to my model
Before updating a record I want to check if new attributes differ to old attr.
My question is how to retrieve old attributes in :before_update event ?
thanks
--
gratis egold 1$ http://shegold.com/
2006 Feb 13
1
master and slave issue.
hi all.
i have a model called "Comment":
#---------------------------------------------------------
class Comment < ActiveRecord::Base
def read
...
end
def write
...
end
end
#---------------------------------------------------------
i want "read" connect to slave server and "write" connect to master
server
any ideas?
all regards.
--
Posted via
2006 Feb 13
1
Component or plugin
Hi!
I have been learning rails for a couple of week now.
Mostly i''ve worked on a authorize/roles system and now i go to the
point that i want to separate it from en rest of my application to
share it with others and to use it in other projects.
It is a quite simple system that i implement using before_filter.
My vision is to separate the authorize methods and even some basic
2006 May 22
4
naming convention for bridge tables.
I read somewhere that the correct naming of bridge tables is in alpha order.
For example. I have two tables:
houses, and colors.
If I want to create a bridge table to associate colors with houses, I would
name the table:
colors_houses
The associations work fine.
But, if I have a table named: track_houses.
Building a bridge table called: colors_track_houses, gives me model
associaton errors.
2006 Jan 17
0
SwitchTower and Bazaar-ng
Hello,
I tested switchtower and saw it lacked bazaar-ng support. I''ve added
support for it to switchtower. It "works for me" but has not been very
much tested. You can find it on my blog at
http://www.cosinux.org/blogs/dam/articles/2006/01/17/bazaar-ng-and-switchtower
I hope this will be useful to somebody. Any comments are welcome.
Bye
Dam
2006 Dec 02
0
has_and_belongs_to_many and finder_sql options
Hello everybody,
I''ve been hit by the bug described at
http://dev.rubyonrails.org/ticket/1732
Is there any reason why the patch is still not included in trunk ? The
patch seem simple enough.
Regards,
--
Damien Merenne
http://blog.cosinux.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to rubyonr...
2006 Feb 06
2
how do i reload a module in the vendor directory?
This seems like a fairly straight forward question. I have code in the
vendor directory.
Any modifications that I make to the code are not respected. My rails app
is in development mode so I would expect any require ''code'' to be
re-parsed. But this is not occuring... How so? I have a test to post if I
need to, but I get the feeling that I am just missing something simple. I
2006 Feb 14
8
Best Practices For back/cancel/return button
Are there any best practices for implementing a back/cancel/return
button... even when the page you want to return people too is 2 pages
back (when people submit form and then want to return)?
Thanks :-)
Your Friend,
John Kopanas
http://www.kopanas.com
=====================================================================
http://www.soen.info - source of the freshest software engineering
2006 Feb 14
3
Ruby equivalent to PHP Beautify?
Hi all,
I am working on a project in Rails for my senior seminar
class. I am fairly new to Rails but I have done a major
project, so I know a little. The one thing I cannot find
however is a way to make the html code that is output
look any cleaner. So, I was wondering if there was a
function/library/extension that worked like PHP
beautify. Thanks for your input in this matter. I am sure
I will
2006 Feb 15
5
Formating @content_for_layout
Hi all, I sent a message earlier, so forgive me if you have already
read this (I got some cryptic message in German about how my
e-mail was not read?). Anyway, I was just wondering if there was
any way to format the html that is output using
<%= @content_for_layout %>
I want to use something like the PHP Beautify. I guess I could
write my own, but I was hoping that Rails already had
2006 Jan 27
20
bundled_resource v.0.9
Original announcement at http://blog.inquirylabs.com/ [1]
== What is bundled_resource? ==
If your development is in any way similar to mine, there are a number
of useful resources out there that make web applications shine
beautifully. For example, there?s the Dynarch calendar and the
textarea tools. There are a number of others?too many, in fact. The
problem is that as a web developer,