This is your basic cross-tab report.
However, since you did not provide a layout of your table(s), it's not
really possible to help you with the query.
So, perhaps this will help:
http://www.simple-talk.com/sql/t-sql-programming/creating-cross-tab-queries-and-pivot-tables-in-sql/
or you can
Assuming both instance vars have bene instantiated correctly
previously...
@user.errors.each { |k,v| @post.errors.add(k, v) } if
@user.errors.any?
should do it.
HTH,
Dan
On Feb 23, 10:48 pm, S Ahmed sahmed1...@gmail.com wrote:
I want to append to my models error collection from another models
If you mean the calling controller...
params[:controller]
HTH,
Dan
On Aug 24, 11:26 pm, coolesting coolest...@gmail.com wrote:
Hi , could i get the controller name in
controllers/application_controller.rb file ?
Thanks guys.
--
You received this message because you are subscribed to the
Sounds like DNS issue or the host is down.
Can you ping production.cf.rubygems.org?
-D
On Jul 27, 1:15 am, Aashish Kiran li...@ruby-forum.com wrote:
I am getting some weird error while installing ruby with rvm on
snowleopard.
Can anyone help me out with this.
Retrieving rubygems-1.8.6
I use capistrano and I don't have to worry about any of that.
Sure it copies the branch to a cached area on the web server as well
as to the live area.
Setup is very simple. Have you tried it?
HTH,
D
On Jul 26, 10:59 am, BirdieTracker ron.guari...@gmail.com wrote:
I have a multi-environment
android I think.
Maybe have some backend to dump the data using some rest API.
Any advice for taking such a route?
On Mar 31, 2:18 pm, dsadaka d...@web-site1.com wrote:
As opposed to running the server on the handheld, have you looked at
writing an app using Mirah?
It's very, very
As opposed to running the server on the handheld, have you looked at
writing an app using Mirah?
It's very, very ruby-like.
Mirah is a simpler Java, a Java that is fun to work with. Best of all,
it is also already fully functional, and is just a simple gem install
away:
--
Norbert,
You can install multiple Ruby stacks on the same machine using RVM.
(Ruby Version Manager) However, to run more than one version of
Passenger, you'll have to fire up another instance of your web server
and use a proxy pass. Excerpt from
Michael,
Helpers go in rails_root/app/helpers. Look in there. If you used
scaffold, You should have files for controller specific helpers and a
global helper file named application_helper.rb
HTH,
Dan
On Jan 24, 1:02 pm, Michael Baldock li...@ruby-forum.com wrote:
Thanks guys, got it going
Kai,
I've gone through this same headache. I too wanted to use a helper
but couldn't. Have you considered using content_for in view and then
reference it in the head section of the layout to generate the
javascript?
I couldn't do it that way because I was doing AJAX calls so the head
section
If your converting to Rails 3, you'll need to change your code
anyway. There are no more remote-specific tags. Instead, the tag
names are the same as a normal action. Instead, you'll add a :remote
= true.
So... while you're at it, I strongly suggest you change to jQuery.
HTH,
Dan
On Jan 6,
I solved this by adding a
post products/add_to_cart
to the routes.rb
-Dan
On Dec 24, 1:37 am, Dan Sadaka li...@ruby-forum.com wrote:
Greetings,
I asked this over at the Spree google group but got no response. I'm
hoping someone here might have experience with this.
I am implementing a
I'm sure you checked this but just in case... based on what you just
said, check to make sure you haven't disabled JS in your browser.
Put a Hello World script in Application.js
I'm using jQuery in Rails 3 with Ruby 1.9.2 and it's working fine:
I use %= javascript_include_tag :default % with
https://github.com/brianmario/mysql2
On Dec 12, 7:27 am, Jatin kumar jatinkumar.n...@gmail.com wrote:
Still, could someone list the difference between the old mysql gem and new
mysql2 gem??
Why use the new one??
On Sat, Dec 11, 2010 at 1:44 PM, Paul Bergstrom li...@ruby-forum.comwrote:
A
I vote for TextPad on Windows. You can download a syntax file for
color coding, it was a file explorer built in, which works well with
the Rails directory structure. I also use the Find in Files option
often.
Of course, I've been using TextPad for over 15 years so I might be a
bit biased.
On
Do you have hair on your knuckles? :-)
On Nov 3, 3:22 pm, Daniel Shimoyama shimoyama.dan...@gmail.com
wrote:
Am I gay?
I'm using rails right now =)
2010/11/3 David Kahn d...@structuralartistry.com
On Wed, Nov 3, 2010 at 11:52 AM, Ruby Me li...@ruby-forum.com wrote:
Hi everyone,
I
It worked for Ricky Martin.
On Nov 3, 3:51 pm, Daniel Shimoyama shimoyama.dan...@gmail.com
wrote:
I'm going to my mom
Mom i'm rubyist
Oh my son, i'm so proud of you!
2010/11/3 David Kahn d...@structuralartistry.com
On Wed, Nov 3, 2010 at 1:22 PM, Daniel Shimoyama
17 matches
Mail list logo