Displaying 20 results from an estimated 1000 matches similar to: "RubyOnRails certification"
2006 Jun 14
7
CR issue
Hi,
I am using RedCloth (3.0.4).
First using online text2html (http://www.textism.com/tools/textile/) ,
"123
456"
returns <p>123<br />456</p>
But by code:
<code>
require ''RedCloth''
puts RedCloth.new("123\n456").to_html
</code>
I got:
<p>123
456</p>
CR is not taken in consideration. Is there any parameter I am
2006 Jun 11
6
page.update_html not executed
Hi,
when doing:
render :update do |page|
page.replace_html ''suggested_contractors'', :partial =>
''contractors''
page.visual_effect :highlight, ''suggested_contractors''
end
I got js as output, it is not executed, return html *contains*:
try { Element.update("suggested_contractors", "
\n 12345678910\n
\n
2006 Jul 10
4
HABTM vs. using has_many :through
All,
I''ve heard recently about has_many :through as a necessary alternative
to HABTM (when the join table has it''s own id column, say, in a legacy
schema). However, is the prevailing Rails wisdom now that one should
use has_many :through in _all_ cases?
If so, why?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Jun 29
3
Questions on ActiveRecord implementation
Hi,
I got several questions on AR adapters implementation:
1. For SqlServer/Oracle, SQL queries are built by concatenation, and
there is no use of parameters. Especially for Oracle, this is very bad,
no optimization can be done. Is there a reason for that? Does anybody
plan to fix that?
2. When updating a model, _all_ columns are updated. Why not only the
diff is updated? Using blob/cblob, it
2006 May 25
1
schema_info not updated
Hi,
When doing a ''rake migrate'', schema_info is not updated (it does not
contain any row). Migration is done properly the first time, but fails
the second time I run it, since there is no info in schema_info.
I am running rails 1.1.2, using script/generate migration to generate
the migration file.
Any help? Thank you.
Jean-Etienne
http://www.novAgora.hu
--
Posted via
2006 Jun 16
6
rendering mathematical equations
Any recommendations on how I can get mathematical equations into my
resulting html? (Besides using x^2^ type markup.)
I figure I could parse out equation text from my main text before
RedCloth ever sees it... and then maybe create png''s somehow from it,
putting the links to them back into the main text before handing it
over to RC. But I don''t know of a util that will generate
2006 Jun 30
5
Off Topic - Image size convertor?
I''ve been googling around, and have found a lot of tools to convert
images to the right pixel size - anyone have a good command line based
one for linux?
Also, how do you issue a command from a rails app?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2012 Apr 22
4
How to take ID of number > 7.
I figured out something new that I would like to see if I can do this more
easy with R then Excel.
I have these huge files with data.
For example:
DataFile.csv
ID Name log2
1 Fantasy 5.651
2 New 7.60518
3 Finding 8.9532
4 Looeka -0.248652
5 Vani 0.3548
With like header1: ID, header 2: Name, header 3: log2
Now I need to get the $ID out who have a &log2 value higher then 7.
I
2006 Jun 12
2
date_select() in collection
Hi,
I am doing the following:
<% obj.contracts.each do |@contract| -%>
...
<%= hidden_field("contract[]", :contractor_id, :index =>
@contract.contractor.id) %>
<%= date_select("contract[]", :starting_on, :index =>
@contract.contractor.id) %>
...
<% end -%>
Here are the request parameters:
{"commit"=>"Save",
2004 Jul 06
4
Odd Zap dialing problem
I've come across an odd dialing problem with my * setup. After * has
been running for a while, if I try to dial out on any of my zap
channels, (both are X100P cards) it picks up the line but never sends
the DTMF. Has anyone heard of or seen this problem before? Right now
I'm looking at 19 hours of uptime on * itself. If I restart it,
everything works fine for a little while, then the
2004 Dec 22
5
Another Asterisk Certification
What started out as a good thing for the community has veared it ugly
head and will come back to bite us in the ass. I give my respect to the
two companies that decided to put themselves 'out there' and attempted
to bring 'real world' certifications of knowledge in an area that is
unregulated, open, and currently has no measurement of how much one
person has over another.
What
2006 Jul 10
2
Polymorphic associations in reverse?
My app has an association that''s got me scratching my head.
I have Users, and Images. A User has many Images. (Yes, another
picture sharing app, but it''s for a small niche, and it doesn''t end
in -r!)
I would like to express a "Favorite" relationship between both Users
to Users, and Users to Images. This seems like the opposite of the
standard
2009 Jun 02
5
Help please- Post - Login Script--- Migration
Hi all
I am in the process of migrating Courier to Dovecot, am using
courier-dovecot-migrate.pl<http://www.dovecot.org/tools/courier-dovecot-migrate.pl>it
works fine. I want to migrate each user as they login using post-login
script (As i have huge no of users). We are using NFS storage, users are
authenticated using mysql, User home directories as passed using variable
mail ( usign mysql
2013 Jan 23
2
centos certification
hi,
any certification on centos ? if yes where can i buy study materials ?
2004 Jun 18
2
Fax with SPA-2000's?
I've been trying to get fax reception to work using an SPA-2000 to ring
the fax machine or modem that's taking fax calls. I was curious if
anyone else had tried something similar, and if so, had any luck
getting it to work reliably. I've been able to get it to work, but it
isn't reliable. (Pages/lines of black dots result more frequently than
not.) The incoming lines are FXO
2004 Jun 11
7
BudgeTone hold?
I can't seem to make the "Hold" button function on the GS
BudgeTone-100. I'm trying a procedure like this:
1) On a call
2) Press "Hold" button
3) Hang up phone
What I expect is for the call to go on hold until I pick up the
receiver again. (Like my SPA-2000's, except it's a flash, but I can
hang up the phone and the call waits there for me to pick it up
2006 Jun 13
3
acts_as_tree problem accessing parent object
i have a model called certification_types that i''ve declared as
acts_as_tree. I have a model called certification that belongs_to
:certification_type .
class CertificationController < ApplicationController
.....
def summary_list
@certifications = Certification.find(:all, :order=>''date'')
end
end
summary_list.rhtml
<% for certification in
2006 Mar 31
3
undefined method `<=>'' for :id:Symbol
Upgrading to 0.9.0, I have the following error. Anybody?
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term.rb:35:in
`<=>'': undefined method `<=>'' for :id:Symbol
(NoMethodError)
from
c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.9.0/lib/ferret/index/term_infos_io.rb:263:in
`get_index_offset''
from
2015 Apr 28
3
CENTOS not DoD approved
On 04/28/2015 02:30 PM, John R Pierce wrote:
> On 4/28/2015 9:49 AM, bobby Orellano wrote:
>> nowhere does it say that centos is approved for use in DoD. it is not on
>> the APL, only RedHat and SuSE
>
>
> DoD approval requires spending lots of money jumping through arbitrary
> hoops. Do you wish to pay for this?
>
> skimming the requirements, it also requires
2006 Apr 25
3
Migrating to 0.9.1
After migrating to 0.9.1, I got:
usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
`const_missing'': uninitialized constant TokenFilter (NameError)
Here is a snapshot of my code:
...
require ''ferret''
class MyFilter < Analysis::TokenFilter
...
I works fine on my dev machine, but not a production server (shared
host).
Any