Displaying 20 results from an estimated 6000 matches similar to: "acts_as_leashed, my first 'plug-in'"
2006 Jun 24
1
select or select_tag ?
hello PPL,
I''ve seen now that the _form.rhtml generated by script/scaffold is
populated by
<%= text_field ''model'', ''field'' %> without _tag!
but only text_field_tag is to be found in the 1.1.2 documentation..
(like in the rest of Module ActionView::Helpers::FormTagHelper there
is _tag)
I''ve tried to use <%= select instead of
2006 Nov 04
0
(no subject)
--
Emanuele Tozzato
mob +39 329 29 56 995
icq 30 77 52 76
web mekdigital.com
2007 May 14
3
RAILS on UBUNTU
Hello Friends! :)
I''ve sold my iBook before landing in LA yesterday and as long as I can''t
afford buying a new one I have to do it with LINUX : )
I''ve been installing the system yesterday and it''s working good,
performances on athlon are good and I''m satisfied but I have two questions..
a) which editor to use?
b) is there any *session disabled*
2006 Jun 28
1
HELP! adding new object to @objects...
hello all!
I''m in deep shit for my exam tomorrow! :)
as you can see, I want to search with Tesi.search with all params
arriving from form ''se''
so I need to add the @tmp result to @tesis collection if not empty..
If I use an array for @tesis I can push @tmp but then I got errors
in .rthml
If I use @tesis = Tesi.new I can''t push (I don''t know how
2009 Mar 02
3
Truncate function and html tags
I have a text field in the db for the body of user posts. Users
submit the posts using the tinymce editor, which allows certain html
tags. The posts are stored in the db with allowed html tags directly
in the post, so I could have something like:
<p>This post will try to eliminate the confusion regarding rails and
the truncate function.</p>
I am trying to display the first 300
2006 Mar 22
1
Ajax.Updater dropping first <OPTION> on IE?
I am attempting to use Ajax.Updater to update the innerHTML of a SELECT -
that is, to feed it a list of <option>..</option> sets generated from a
partial.
It works as expected on FF1.5, but in IE6 it renders as an empty select.
When I use the DOM viewer (or an alert()) to dump the value of innerHTML, it
appears intact EXCEPT that the first <option> is missing with no
2005 May 11
6
Need help with GSSAPI authentication
Client: Windows XP pro, in an AD 2003 domain, running SecureCRT 4.1.11.
I've also got MIT Kerberos for Windows installed on the client, and Leash
shows that my tickets ARE forwardable.
Server: Solaris 8 Sparc server, with MIT Kerberos (krb5-1.4.1), and
OpenSSH 4.0p1.
I've created two AD accounts, and extracted keys mapped to
"host/hostname.domainname.com at REALM.COM" and
2005 Mar 09
0
Setup Help - Apache/FastCGI/subdirectory
OK, I am stumbling forward bit by bit, learning as I go. The details:
- Running under Apache on Mac OS X Server (10.3.5)
- Obtained and installed FastCGI via instructions at rubyonrails.com
(installation appears to be OK)
- My app is called Voters and it lives in /Voters/
Where I am stuck is that I have found several sets of instructions for
setting up a Rails app as I intend, using some
2008 Jul 23
1
Rails Rewrite rule (on mod_rails)
Hello,
I''m running fine my application on the dev server with apache2 and
mod_rails, but on the production server I have a strange issue.. it
seems like something is wrong with httpd.conf of .htacces.. the dev
server is a DreamHost PS and I''m configuring the production one one
HostGator.
I have a public/users/ folder with member profile images and a users
controller..
2017 Feb 23
0
Checksums for git repo content?
On 02/23/2017 03:32 PM, James Hogarth wrote:
> On 23 February 2017 at 19:55, Lamar Owen <lowen at pari.edu> wrote:
>> Not to stir up a hornets' nest, but how does Google's announcement at
>> https://shattered.it affect this now? (Executive summary: Google has
>> successfully produced two different PDF files that hash to the same SHA-1.)
>> There is a whole
2010 Dec 01
10
How to Redirect from http://mysite.com to https://www.mysite.com on Herok
Hello I''m looking to learn how to redirect all non-www (mysite.com) to
https://www.mysite.com
I tried the following:
class ApplicationController < ActionController::Base
before_filter :check_uri
def check_uri
redirect_to request.protocol + "www." + request.host_with_port +
request.request_uri if !/^www/.match(request.host) if Rails.env ==
2017 Feb 23
1
Checksums for git repo content?
On 02/23/2017 01:03 PM, Lamar Owen wrote:
> On 02/23/2017 03:32 PM, James Hogarth wrote:
>> On 23 February 2017 at 19:55, Lamar Owen <lowen at pari.edu> wrote:
>>> Not to stir up a hornets' nest, but how does Google's announcement at
>>> https://shattered.it affect this now? (Executive summary: Google has
>>> successfully produced two different
2013 Apr 26
2
[LLVMdev] Proposal for new Legalization framework
On 26 April 2013 19:49, Tim Northover <t.p.northover at gmail.com> wrote:
> > To me, the expanding of regular IR will achieve nearly the same result as
> > building a lower level IR.
>
> Remember that we basically already have a lower level IR consisting of
> basic blocks of MachineInstrs at the moment.To an extent this has
> already proven itself capable of
2010 May 24
2
Use of <![CDATA[............]]> on rxml
How can I put something like this on a rxml, in one line of code and
generating only one line on the xml ?
<name><![CDATA[Steve]]></name>
--
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 to
2009 Apr 02
2
Ruby 1.9, Rails 2.3.2, and MSSQL issue
I am having a strange issue. I have upgraded to ruby 1.9.1 to do some
testing on one of my machines. My app accesses a MSSQL database to
pull in some information. Everything worked fine with ruby 1.8.6, but
now if I try to navigate to a page that accesses that database I get
this error:
DBI::InterfaceError in PagesController#company
Unable to load driver ''ODBC'' (underlying
2011 Jun 13
2
[LLVMdev] Is LLVM expressive enough to represent asynchronous exceptions?
On Jun 13, 2011, at 10:50 AM, John McCall wrote:
> On Jun 13, 2011, at 10:30 AM, Jakob Stoklund Olesen wrote:
>> The try block would look something like:
>>
>> call _malloc
>> movq %rax, p(%rpb)
>>
>> If you take an exception between those two instructions, you are leaking memory.
>
> This is primarily an argument that C is not a good language to
2006 Mar 13
1
copying loopback folders?
This is going to sound somewhat ridiculous, it sounds
ridiculous to me even saying it; however I'm running into a somewhat
unique issue and I need help resolving it.
I am trying to use systemimager which uses rsync exclusively as a means
of making 'images' of entire systems. The problem I am running into is
with a particular software package which configures your operating
system
2007 Nov 30
0
[PATCH] Add Visual Studio 2008 Prject files
Something to look into perhaps is Trolltech's 'qmake' tool.
It fills the role of something like autotools or now defunct imake.
As far as I understand, you can indeed use it for projects that don't do
anything with the Qt libraries.
Now, it may not have the support for multiple targets that it sounds like
are needed for speex, and I know it doesn't have as comprehensive of
2007 Apr 28
3
huh startup_ipi_hook?
The current paravirt startup_ipi hook for vmware
commit: ae5da273fe3352febd38658d8d34484cbcfb3423
is quite frankly ridiculous.
In the middle of wake_up_secondary_cpu:
We have:
/*
* Paravirt / VMI wants a startup IPI hook here to set up the
* target processor state.
*/
startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
(unsigned
2007 Apr 28
3
huh startup_ipi_hook?
The current paravirt startup_ipi hook for vmware
commit: ae5da273fe3352febd38658d8d34484cbcfb3423
is quite frankly ridiculous.
In the middle of wake_up_secondary_cpu:
We have:
/*
* Paravirt / VMI wants a startup IPI hook here to set up the
* target processor state.
*/
startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
(unsigned