Displaying 20 results from an estimated 10000 matches similar to: "When to dive into Rails?"
2011 Dec 23
6
http session nil
hi all,
i am new in ruby on rails,i have one issue regarding the session in ruby
on rails.I am using session , i have following condition in my rhtml
<%if @session[''user''].first_name == "admin"%>
<table width="290" border="0" height="20" align="right"
cellspacing="0"
2012 Apr 14
2
How to implement sory-by links?
Hello people.
I have an app which lists Offers from different Vendors.
I want to implement "sort by" links and I''ll do this using scopes in my
Offer model. But how should I implement the functionality in the
controllers/router? Should I use a member route along with a new controller
action (eg. "expiring", or "most_expensive") or just use param queries?
2011 Dec 17
7
How to fire Ajax call from Form_for
I am learning Rails 3 and need some help on Ajax part.
I am trying to accomplish the following:
There is a textarea on the page which has a length of letters
constraint, say 100. Every time a symbol is typed there,a nearby label
tells you how many letters you have left.
I plan to use Ajax to do this.
I googled for a few hours and could not figure out how to do this.
So far what I have done is
2011 Dec 26
1
Learning Ruby on Rails 3.1 - deployment - Error (cs.jpg isn't precompiled)
Hi guys,
I''ve followed the Agile Web Development with Rails book and I''m up to
deployment. I started a Ubuntu 10.1 LTS server on Amazon EC2 for
testing, got Apache 2, mysql, rvm, ruby 1.9.2, rails 3.1 and phusion
passenger up and running as per the book.
When I come to running the actual site, it says "We''re sorry, but
something went wrong."
In
2011 Aug 25
7
How to safely embed JSON object in HTML document
Hi all,
I''m working on a Backbone.js single page app with Rails 3.1, and in an
attempt to save on HTTP requests, I want to embed initial data set in
a HTML document that is sent back to the browser after successful
login.
I was thinking I can simply convert my ruby object to JSON, then HTML
escape resulting string of JSON, and then use that as a value for
JavaScript variable. Something
2010 Oct 30
3
Authlogic not active
Trying to add authlogic in a simple project but get the error;
Showing app/views/layouts/application.html.erb where line #33 raised:
undefined method `underscore'' for nil:NilClass
Extracted source (around line #33):
30: <div id="mainleft">
31: <ul class="menu">
32: <li><%= nav_link "Home", "site", "index"
2010 Dec 02
7
Rails 3 + Authlogic not working all of a sudden
Hey People,
I''ve been working on Rails 3.0.0 and Authlogic for quite a while now but
all of a sudden I can''t login into my application anymore.
After some research I found out that no sessions are stored into the db
anymore so I started the console and saw this:
ruby-1.9.2-p0 > u = UserSession.new({:username => ''Test'', :password =>
2009 Mar 13
0
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
Hi, the versions of llvm-gcc and llvm you are using are
not synchronized. Probably one is from subversion while
the other is not.
Ciao,
Duncan.
2009 Mar 13
2
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
On Fri, Mar 13, 2009 at 2:38 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi, the versions of llvm-gcc and llvm you are using are
> not synchronized. Probably one is from subversion while
> the other is not.
>
> Ciao,
>
> Duncan.
>
Ok, I 'synchronized' both of them, but now I am getting a different
error. On running make, the output ends with the
2015 Mar 21
2
Xen in a Box Proposal
Hi everyone,
I am a masters student at IIIT- Hyderabad, India. I have submitted my GSOC
proposal for Xen in a Box. I would be great to have some suggestions
especially about the porting of xapi on CentOS
Abstract: My project goal is to deliver set of scripts preferrably in
bash, along with all necessay packages to convert standared installers ISOs
into customized ISOs which install CentOS 6 +
2009 Mar 13
5
[LLVMdev] [LLVMDev] trouble building gcc-frontend from source
Hi all,
I am a new user of LLVM, and wanted to explore it in conjunction with
the compilers course I am taking in my university. To this end, I
downloaded the code for the LLVM suite and the LLVM-gcc front end from
the respective repositories. Then, I built the LLVM suite without any
hitch, but when I tried to build the llvm-gcc frontend (exactly
following the instructions of README.LLVM) , I got
2011 Jan 15
7
Automatic live migration
i am trying to add auto migration feature in XEN.
so is anyone has worked related to migration part.
i need help regarding files related to migration.
--
Regards
Gautam
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2018 Jul 05
1
user/password Authentication via Joomla database
Hello,
did anyone ever set up Authentication via lookups to a Joomla (mysql) database?
What I'd like to do is lookup Joomla users (who are in specific/multiple groups)
in the Joomla database and then fallback to /etc/passwd authentication to let
system users authenticate.
I'm running :
# 2.2.35 (b1cb664): /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 11.1-RELEASE-p10 amd64
Thanks
2005 Oct 10
11
Open Source Content Management System - Joomla
There was some discussion in the past about which one is the best
Content Management System that can be used in conjunction with Asterisk.
Mambo was supposed to be the best out there under GPL. The guys who
developed Mambo have a new product now - Joomla. I am using this and it
appears to be better than Mambo in many respects. Read the gist about
Joomla below.
-------------
If you've read
2015 Mar 22
3
xapi for centOS 6.6
Hi,
I am a masters student at IIIT Hyderabad, India. I am writing a GOSC
proposal for CentOS organization. It's about delivering a custom installer
ISO which delivers Xen 4.4 stack on CentOS 6.
full proposal:
http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/gautam_malu/5629499534213120
I want to port xapi on CentOS 6 as part of it. There has been some previous
efforts to
2006 Jan 28
7
cool components in the form
Is there a easy way to add components like:
http://www.dynarch.com/projects/calendar/
http://tinymce.moxiecode.com/example_full.php?example=true
in ruby forms, by plugins or whatever?
Thank you
Rodrigo Dom?nguez
Iplan Networs
www.iplan.com.ar <http://www.iplan.com.ar/> ? rdominguez@iplan.com.ar
www.rorra.com.ar <http://www.rorra.com.ar/> ? rorra@rorra.com.ar
--------------
2006 Feb 03
3
R-2.2.1-INSTALL Issue with TCLTK
Hi
I am not able to have a working tcltk library in R-2.2.1 inspite of
trying different options suggested in the FAQ's. I am using the
following configure option and I do get the tcltk package installed but
with a missing libs folder.
./configure -prefix= "~R-2.2.1" --enable-R-shlib --enable-linux-lfs
--with-zlib --with-gnu-ld --with-tcltk
2015 Mar 22
2
Make a installer ISO to install Xen 4.4 + CetOS 4.4
Hi,
I am Masters student at IIIT Hyderabad, India. I have made a set of scripts
to make a customized installer ISO which installs Xen4.4 + CentOS 6.6. I
have tested it on a Xen HVM VM. I would be great if anyone can test it out.
https://github.com/gautammaloo/centos-xen
Best regards,
Gautam Malu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jul 10
4
Goodbye Windows?
Hi.
I know that Linux provides most of the softwares we need for business, equivalent of Outlook, MS Office, IE, ... but :
Is it realistic to think that we can delete Win XP, and use Wine with Linux, for a professional use, with :
- All Adobe, with the ICC profiles (I use Monaco EZcolor for the calibration).
- CMS like Joomla and a lot of plugs-in, and a few tools for webranking.
I hope the
2008 Oct 30
1
Rsync doesn't copy over only the changed files
Hello,
I am trying to sync up 2 directories over a network. I am running
Gentoo and on the new server I have a fresh install of Apache using
webapp-config to install the latest Joomla 1.5. On the other server I
have my backup copy of Joomla 1.5 also running the latest version. I
want to only copy over the files that are not in my new "fresh"
version AND only the files that have