Hello everyone,
I'm trying to implement Captcha in my program.Anyone will
please give me suggestion for using the best one,and the procedures for
implementing it since I haven't used it before for my program. for the
first time I am trying to use it.
--
Posted via http://www.ruby-for
check out this place: http://www.xhtmlized.com/
there are other companies that do the same thing, unfortunately this
is the only name i can remember right now.
On Oct 18, 10:44 pm, "Carla DeLuca" <[EMAIL PROTECTED]> wrote:
> thank you
>
> On Sat, Oct 18, 2008 at 3:17 PM, Alex <[EMAIL PROTECTED]>
I've heard good things about Litespeed but all the documentation I've
found doesn't reflect the new 3.3 version. The older 2 and 1 versions
are just so different. I've gone down the road with the old docs and
it's always a dead end.
I'd be happy to pay or trade code or some kind of programming fav
thank you
On Sat, Oct 18, 2008 at 3:17 PM, Alex <[EMAIL PROTECTED]> wrote:
>
> Export it to Photoshop as a PSD, slice it up from there, then have
> your programmer clean up the output and add the dynamic content.
>
> On Oct 17, 8:53 pm, carladeluxe <[EMAIL PROTECTED]> wrote:
> > HI there,
> >
> >
Thank you, Phillip.
I will try that.
Sincerely,
Tadatoshi
On Oct 18, 9:36 pm, Phillip Koebbe <[EMAIL PROTECTED]>
wrote:
> Tadatoshi Takahashi wrote:
> > Is there a way to capture the generated HTML (e.g. for show.html.erb)
> > from inside a Rails application?
>
> Have a look at render_to_strin
Tadatoshi Takahashi wrote:
> Is there a way to capture the generated HTML (e.g. for show.html.erb)
> from inside a Rails application?
Have a look at render_to_string.
Peace.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this messag
Good evening.
I have a class, CustomerRequest, which I have subclassed into three
other classes, all different types of customer requests. I chose to
use polymorphic associations to map the subclasses in my database.
For one of the subclasses, InstallRequest, I have generated a new
model and def
On Oct 19, 6:13 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Thanx, but using fixtures_create removes the current contense of the
> database.
> This is not for devel, this is in the production enviroment.
>
> regards
> svend
>
I've only used the technique I mentioned to populate the tab
Sent from my iPhone
On 18 Oct 2008, at 21:10, rvruby <[EMAIL PROTECTED]> wrote:
>
> in my table ID is the primary key, what surprises me is, in the dev
> log there is a ID and id with values 4 and null
id is not the same as ID
Fred
>
>
> UPDATE `leaves` SET `FROM_DATE` = '2008-12-30',
> `REAS
Yup, specifying the action as a string fixed it. Strange that the action
name as symbol mapping would find the right template, but not the right
controller action. Oh, well, guess I'm not supposed to do that anyway :)
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
Hi Patrick,
Thank you so much for taking the time to look into the plugin's code and
offering advice.
I gave it a shot and it appears my rescue_from is being ignored:
This is what i have in application.rb (just for testing)
##application.rb
rescue_from Htpasswd::NotAuthorizedError, :with
Try to change the mapping to:
map.root :controller => "events", :action => "index"
The root route does run the controller logic, maybe there is something
mistyped in your routes.rb file.
On Sat, Oct 18, 2008 at 7:50 PM, Christian Johansen
<[EMAIL PROTECTED]> wrote:
>
> I have this in my routes.
After much tinkering, I have discovered that any module or plugin which
extends ActiveRecord causes Passenger to fail (application won't load at
all).
Is this a known behavior?
I have confirmed that my Passenger installation is working just fine
with a simple Rails application that does not modi
Tam Kbe wrote:
> Hello,
>
> I have this code in ruby on rails view (.html.erb):
>
> <%= text_field :poll, :option3_text, :size => 20, :class => 'topicField'
> %>
>
> Which translates in HTML code to:
>
> name="poll[option3_text]"/>
>
> When I print the parameters passed from the browser insi
I have this in my routes.rb:
map.resources :events
# ...
map.root :controller => "events", :action => :index
Surely enough, accessing http://localhost:3000/ renders the
events/index.html.erb template. However, accessing
http://localhost:3000/events renders the same page/template slightly
differe
On Sun, Oct 19, 2008 at 9:17 AM, Alex <[EMAIL PROTECTED]> wrote:
>
> Export it to Photoshop as a PSD, slice it up from there, then have
> your programmer clean up the output and add the dynamic content.
Just make sure you export as CSS. The default (at least in CS 3 or
below) is to export as a t
ressister wrote:
> Thanks Matt, If anyone could provide an example of the branching
> syntax, that would be helpful.
I think this should be able to help you:
http://svnbook.red-bean.com/en/1.1/ch04.html
I believe the caveat is that you should have your repository using the
recommended svn layo
Export it to Photoshop as a PSD, slice it up from there, then have
your programmer clean up the output and add the dynamic content.
On Oct 17, 8:53 pm, carladeluxe <[EMAIL PROTECTED]> wrote:
> HI there,
>
> My graphic designer and my programmer are having a communications
> snafu, and it's my job
Alright, figured it out. Thanks again Matt for your guidance.
On Oct 18, 5:48 pm, ressister <[EMAIL PROTECTED]> wrote:
> Thanks Matt, If anyone could provide an example of the branching
> syntax, that would be helpful.
>
> Regards,
> -A
>
> On Oct 18, 4:11 pm, Matt Harrison <[EMAIL PROTECTED]>
>
If you need this to be Ajaxified use remote_form_for instead, also check
out: http://www.caboo.se/articles/2007/4/2/ajax-file-upload, as you're
uploading file data.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because
Hi daociyiyou ,
Try this:
def find_created_actions
unless @if_login
flash[:login]="..."
redirect_to(:controller=>"login",:action=>"login")
end
if @if_login
@[EMAIL PROTECTED]
render :update do |page|
page.replace_html 'element_id',
:p
Thanks Matt, If anyone could provide an example of the branching
syntax, that would be helpful.
Regards,
-A
On Oct 18, 4:11 pm, Matt Harrison <[EMAIL PROTECTED]>
wrote:
> ressister wrote:
> > Hi there,
>
> > I have a revision, #238 which I've since made changes to and committed
> > so I'm now on
On Sat, Oct 18, 2008 at 2:33 PM, CiriusMex <[EMAIL PROTECTED]> wrote:
>
> Well actually yes, FluxBB only works with SQLite
That's not what the FluxBB web site says; the second bullet point at
the home page's top is "Supports MySQL, PostgreSQL and SQLite".
And what does any of this have to do wit
Hi,
I (newbie) work on an application that uses the last.fm api and request
the top albums from Last.fm.
so I have a lastfm_controller with the action
caches_view: top_albums
def top_albums
get_albums(params[artist])
#gets top albums from
end
and a top_albums.rhtml that renders a list of t
I have some documents pdfs UNC in a resource-type \\server\folder$\, to
whom it would log in to download from the application in Rails. The
server is different from where the application is housed. Is it possible
to gain access to these documents from Rails?
Or, only is possible to access to do
Actually there is at least one that I know of and highly recommend.
Please use the following link:
http://www.buildingwebapps.com/podcasts
Both Michael Slater and Christopher Haupt do an excellent job of walking
you through Rails capabilities end-to-end. Admittedly, you won't be an
expert by
Well actually yes, FluxBB only works with SQLite and I can't just
update database.yml as FluxBB is not a Rails project, it's just a foro
I wanna use ^^
Thanks for your answer by the way.
Cheers,
Olivier.
On 17 oct, 15:17, Norm <[EMAIL PROTECTED]> wrote:
> Is there something unique that SQLite ha
I renamed the ID column to "id" and now instead of NULL I see value in
the dev log for the update query. Not getting updated yet, but I think
I will nail it down. Thanks for the help.
On Oct 19, 1:10 am, rvruby <[EMAIL PROTECTED]> wrote:
> in my table ID is the primary key, what surprises me is,
On Thu, Oct 16, 2008 at 1:24 AM, daociyiyou <[EMAIL PROTECTED]> wrote:
>
> I have an ajax call method like following:
> ##
> def find_created_actions
>unless @if_login
> flash[:login]="请登录或注册"
> redirect_to(:controller=>"login",:action=>"login")
>end
>
Hi,
I'm trying to use link_to to access the Update action + add some extra
parameters. I'm using the default rest routes.
I can't get it working.
When I use: <%= link_to ' Accept', invitation_path, :method => :put, :id
=> '1', :command => 'accept' %>
I can get into the Update action but the pa
ressister wrote:
> Hi there,
>
> I have a revision, #238 which I've since made changes to and committed
> so I'm now on revision #240. I'm not happy with the direction that
> I've gone since the two commits I've made, and I want #238 to be the
> base. I wouldn't mind keeping #240 around, which
in my table ID is the primary key, what surprises me is, in the dev
log there is a ID and id with values 4 and null
UPDATE `leaves` SET `FROM_DATE` = '2008-12-30',
`REASON_FOR_CANCELLATION` = NULL, `BACKUP`
= NULL, `EMP_ID` = 90268, `TO_DATE` = '2008-12-31', `ADDRESS` = NULL,
`MGR_EMP_ID` = 9
Is your primary key column not called id? If so you need to use
set_primary_key
Sent from my iPhone
On 18 Oct 2008, at 20:53, rvruby <[EMAIL PROTECTED]> wrote:
>
> I included the <%= f.text_field :id%> just to verify. Even after I
> removed it, it does not work.
>
> Please help.
>
> Process
I included the <%= f.text_field :id%> just to verify. Even after I
removed it, it does not work.
Please help.
Processing LeavesController#update (for 127.0.0.1 at 2008-10-19
01:18:59) [POST]
Session ID:
BAh7CjoRZW1wc21ncmVtcGlkaQOQXwE6DGNzcmZfaWQiJTViZTdjMmU1ZDk1%0AZWRlODc5OTM2YjMzMjdiNWRjNT
Hi there,
I have a revision, #238 which I've since made changes to and committed
so I'm now on revision #240. I'm not happy with the direction that
I've gone since the two commits I've made, and I want #238 to be the
base. I wouldn't mind keeping #240 around, which i could just do with
a local
You should try the VIM also for ruby and Ruby on Rails development.
http://rails.vim.tpope.net/
On Oct 18, 7:47 pm, "jason white" <[EMAIL PROTECTED]>
wrote:
> thank you all for your responses. i will have to give Gmate a try. I have an
> old iBook G3 (it's 8 years old) and still works. I've bee
On Oct 18, 7:46 pm, Jochen Kaechelin <[EMAIL PROTECTED]> wrote:
> http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones
>
There's going to be at least one RC before the release and we haven't
had that yet, so it's still a little while off. Getting close though!
Fred
--~--~-
carladeluxe wrote:
> HI there,
>
> My graphic designer and my programmer are having a communications
> snafu, and it's my job to translate.
>
> The programmer is saying that if there's a simple conversion method to
> take web page designs created in Illustrator and convert them to HTML
> or CSS,
Thanx, but using fixtures_create removes the current contense of the
database.
This is not for devel, this is in the production enviroment.
regards
svend
On Oct 18, 4:03 pm, Daniel <[EMAIL PROTECTED]> wrote:
> On Oct 18, 11:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > I want to
Hi,
Is there a way to capture the generated HTML (e.g. for show.html.erb)
from inside a Rails application?
I need to send an e-mail to users with the same HTML as displayed on
the browser.
Thank you in advance.
Tadatoshi
--~--~-~--~~~---~--~~
You received this m
Applejus wrote:
> Hi there,
>
> I have a login form and would like to know if there's a way to let the
> user
> press enter to submit the login information as an alternative to
> clicking
> the login button.
>
This is really a JavaScript question...
http://www.htmlcodetutorial.com/forms/ind
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/milestones
--
Jochen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@goo
Hello,
I have this code in ruby on rails view (.html.erb):
<%= text_field :poll, :option3_text, :size => 20, :class => 'topicField'
%>
Which translates in HTML code to:
When I print the parameters passed from the browser inside Ruby console,
it prints correctly when using FireFox but it does
thank you all for your responses. i will have to give Gmate a try. I have an
old iBook G3 (it's 8 years old) and still works. I've been thinking of
buying a new macbook, but still haven't decided if i want to spend the money
just to use TextMate. I really like the new Mac's, but it comes with a big
On 18 Oct 2008, at 18:02, John Clancy <[EMAIL PROTECTED]
s.net> wrote:
>
> So, I am nearly certain that Alex's original solution will work but
> if I
> wanted to solve this within rails and avoid mucking with server files
> (which always scares little old me :) ).
>
> Is there a way to rewri
So, I am nearly certain that Alex's original solution will work but if I
wanted to solve this within rails and avoid mucking with server files
(which always scares little old me :) ).
Is there a way to rewrite:
link_to(:controller=>'site', :action=>'login)
so it always links to
https://xyz.
On Oct 18, 5:57 pm, Fernando Perez <[EMAIL PROTECTED]>
wrote:
> FIXED: I had to restart the server, even in development mode.
Changes to environment.rb and similar are never picked up without a
restart.
Fred
--~--~-~--~~~---~--~~
You received this message becaus
FIXED: I had to restart the server, even in development mode.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email
good point. wherever i say "redirects to" i should just say "links to".
Fernando Perez wrote:
>
>>> http://xyz.com redirects to --> https://xyz.com/site/login GOOD!
>
> That's not redirection, that's simple URL generation.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
I have added the following snippet to environment.rb:
Rails::Initializer.run do |config|
config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td', 'th'
end
But it doesn't work, my tags still get removed. Any idea why it is
happening?
--
Posted via http://www.ruby-forum.com/.
--~--~---
For what I know you can't use the TM bundles...
But like mgutz pointed there's a lot of plugins. There is some
alternatives to achieve something like TM bundles. Look at this links:
- GMate - http://github.com/lexrupy/gmate/ (http://
alexandredasilva.wordpress.com/gmate/)
- gedit-rails - http://gi
For what I know you can't use the TM bundles...
But like mgutz pointed there's a lot of plugins. There is some
alternatives to achieve something like TM bundles. Look at this links:
- GMate - http://github.com/lexrupy/gmate/ (http://
alexandredasilva.wordpress.com/gmate/)
- gedit-rails - http://gi
>> http://xyz.com redirects to --> https://xyz.com/site/login GOOD!
That's not redirection, that's simple URL generation.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "R
typo below -- "httpx" in line 6 should be "https".
John Clancy wrote:
> one piece of good new is that my home page is http://xyz.com (ie, not
> SSL'd). it's when they go to http://www.xyz.com and then click Login
> and so are directed to the secure page https://www.xyz.com/site/login
> that t
one piece of good new is that my home page is http://xyz.com (ie, not
SSL'd). it's when they go to http://www.xyz.com and then click Login
and so are directed to the secure page https://www.xyz.com/site/login
that there's a problem.
http://xyz.com redirects to --> httpx://xyz.com/site/login G
On Oct 18, 5:15 pm, rvruby <[EMAIL PROTECTED]> wrote:
> I am trying to update a leave but the update does not work. Please let
> me know where I am making the mistake.(Looked in to the log, id in the
> update SQL statment shows NULL)
>
> View
>
> Editing Leaves
> <% form_for :leaves, @leaves, :u
For SSL redirection even the .htaccess trick won't work. The browser
sees https, so it will first ask for the SSL certificate which will
obviously fail as it is made for www.yoursite.com
The only way is to purchase an additional certificate for yoursite.com
--
Posted via http://www.ruby-forum
I am trying to update a leave but the update does not work. Please let
me know where I am making the mistake.(Looked in to the log, id in the
update SQL statment shows NULL)
View
Editing Leaves
<% form_for :leaves, @leaves, :url => { :controller =>
"leaves", :action => "update" } do |f| %>
<%
The easiest way to solve this I believe is to add the following
information to your .htaccess file:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^xyz.com [nc]
rewriterule ^(.*)$ http://www.xyz.com/$1 [r=301,nc]
Lemme know if this does the trick for you!
On Oct 18, 6:12 pm,
Guys, I need your awesome help again.
I have two models - FlightType and FlightTypeCategory. FlightType
belongs_to FlightTypeCategories. I want to present these in a table,
the categories spanning over the flighttypes, like this:
Flight Category 1
Flight Category 2
Flight Type 1
Flight Type
I'm sure this is an old topic with an obvious solution --
How can I automatically redirect users who go to "www.xyz.com" to
"xyz.com" instead?
My SSL certificate is for "xyz.com" so users get a scary error message
if they try to go to "www.xyz.com".
--
Posted via http://www.ruby-forum.com/.
--
On Oct 18, 2:35 pm, MHC <[EMAIL PROTECTED]> wrote:
> Hi group
>
> Sorry to admit that I'm an "architect" these days. RoR came on my
> horizon recently and I had to have a look. Great framework, full
> stop. I built a single-table app and tooled with the css for sexiness
> and it was impressiv
Thanks for the response.
I really don't understand why there isn't more info available on this
particular problem. Perhaps it is because (for whatever reason) it
occurs so infrequently. As I said, I have quite a few deployments
that are working just fine. It's just this one that has a problem;
On Oct 18, 4:55 pm, Tom Ha <[EMAIL PROTECTED]> wrote:
> Well, this is the form that calls the action (so there is no "remote_"
> to the form or submit tag).
>
If it's just a regular post (ie not using remote_form_for) you can't
use render :update.
Fred
> <% form_for (:cv, :url => '/user/cvs',
Thanks Mauricio
That's a very good suggestion. Unfortunately I've spent many years in
Communities where sharing is valued non-commercially. Smalltalk and
Java communities collaborated effectively to share knowledge in the
early days of the Internet, and despite the small bandwidths and small
su
Well, this is the form that calls the action (so there is no "remote_"
to the form or submit tag).
<% form_for (:cv, :url => '/user/cvs', :html => { :multipart => true })
do |f| %>
Upload A CV:
<%= f.file_field :uploaded_data %>
<%= hidden_field_tag 'applicationfile_id', @appli
Hi group
Sorry to admit that I'm an "architect" these days. RoR came on my
horizon recently and I had to have a look. Great framework, full
stop. I built a single-table app and tooled with the css for sexiness
and it was impressive for what it did.
I need to see how this works in the bigger p
Instead of looking for tutorials, get a full blown book ->
http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition
On Sat, Oct 18, 2008 at 10:35 AM, MHC <[EMAIL PROTECTED]> wrote:
>
> Hi group
>
> Sorry to admit that I'm an "architect" these days. RoR came on my
> ho
you need to load the .sql file into ruby,
and then call .execute on it.
sql = File.open("some.sql").read
sql.split(';').each do |sql_statement|
ActiveRecord::Base.connection.execute(sql_statement)
end
We split it by ";" because a .sql file may contain multiple
statgements,
and you'll need to e
I do not think so. As you probably know, there are several plugins
(snippets, project browser?) you can enable to get close though. You
might want to try Netbeans. I switch between Ubuntu 8.04 and OS X
regularly and I prefer Netbeans over Textmate. It's that good.
On Oct 17, 1:21 pm, "jason white
On Oct 18, 11:21 am, Tom Ha <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I have this ajax problem, I'm desparately trying to debug since 1 entire
> day now:
>
What's calling the action? If you've passed an :update option to
link_to_remote (or remote_function etc...) then you must not use
render :u
On Sat, Oct 18, 2008 at 12:24 AM, Pallavi Gawas
<[EMAIL PROTECTED]> wrote:
>>> I have been trying to connect to a secured link(https) which is
>>> pointing to a wsdl file. I am using SOAP4R for this. But it is giving me
>>> an exception which says " hostname was not match with the server
>>> cer
Hi all,
I'm working on a site that has different sections (documents, blog,
projects etc) and each section should allow comments on the content inside.
The comments must be quotable for users so conversation threads can be
followed easily.
Is acts_as_commentable a good solution for me?
Would
i completely agree.
On Oct 17, 8:39 am, Ar Chron <[EMAIL PROTECTED]> wrote:
> > Do any other regulars on this forum agree/disagree?
>
> Personally, I'd like to see any advertisements deleted right out of the
> forum, with a nastygram sent back to the poster that re-stated the
> policy and "do it
On Oct 18, 11:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I want to import yaml files in to my project.
>
> I have tried with fixtures, but it deletes the current data of the
> table.
> I need a way to import yaml filen in to a exsistant table.
>
If you want to load yaml data into you
Hello All
I have already one installed plugin called . better_nested_set
but I am getting error when I start my project
"uninitialized constant Rails: Plugin::FooCom"
What can I do here ..please help me
--~--~-~--~~~---~--~~
You received this message because
Borja Martín wrote:
> http://weblog.rubyonrails.org/2006/8/21/filtered-parameter-logging
>
> Regards
>
That worked, thanks !
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
I want to import yaml files in to my project.
I have tried with fixtures, but it deletes the current data of the
table.
I need a way to import yaml filen in to a exsistant table.
regards
svend
--~--~-~--~~~---~--~~
You received this message because you are subscri
I have an application which I configured to send and receive email. Both
processes work at the basic level. The application can send email to
users. Users can send email back to the application where I use the
mail_fetcher plugin to poll the inbox.
My problem is i am trying to determine the best
I think that it may be due to your current isp not adding a PTR record
for your deployment server in its name resolution servers. The mail
server will have trouble with reverse proxy lookup if this record is
either not entered or is incorrect. I do not know the exact details
of how it should be
Hi there,
I have this ajax problem, I'm desparately trying to debug since 1 entire
day now:
The Controller includes:
[...]
render :update do |page|
page.replace_html 'coverletter_part', :partial =>
'user/applicationfiles/coverletter_part'
end
[...]
The View includes:
I used to just use a script and cron for this type of thing, but
recently I've been looking at using a this as a better solution
http://railscasts.com/episodes/128-starling-and-workling
All the best
RobL
Karthi kn wrote:
> Hi,
>
> In my application, I need to send an email to some persons onc
Hi there,
I have a login form and would like to know if there's a way to let the user
press enter to submit the login information as an alternative to clicking
the login button.
Thanks!
--
View this message in context:
http://www.nabble.com/press-enter-to-login-tp20045312p20045312.html
Sent
Hi,
In my application, I need to send an email to some persons once in every
week.
I want to make it as a background job. So which way/plugin will be
better for this?
Thanks in advance...
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You recei
hi..
am thirugnanam, am new to this group i want to do the web development
wil u plz give the details.. am passed out of this year B.tech IT i
want to do the open source in this ruby plz teach me to do this
--~--~-~--~~~---~--~~
You received this message becau
In the model do
before_save :concat_phonenumbers
def concat_phonenumbers
self.phone_number = "#{phone_int} " + "#{phone_area} " +
"#{phone_number} " + "#{phone_extension}"
end
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
Hassan Schroeder wrote:
> On Fri, Oct 17, 2008 at 3:03 AM, Pallavi Gawas
> <[EMAIL PROTECTED]> wrote:
>
>> I have been trying to connect to a secured link(https) which is
>> pointing to a wsdl file. I am using SOAP4R for this. But it is giving me
>> an exception which says " hostname was not mat
87 matches
Mail list logo