John Davalos wrote in post #1118812:
> worked? if so, you're welcome!
Yep! Worked well, and helped me understand the concept. so thanks...
--
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 u
Dave Aronson wrote in post #1118796:
> I've done a similar thing before, and no you don't have to sprinkle
> client-choosing logic throughout your views. What we did, to enable
> mobile-friendly views IF the client was on the mobile domain, was to
> check the domain and, if it was the mobile one,
For PostgreSQL:
create index index_developers_on_name on developers((lower(name)));
Note the extra set of () to indicate that lower is a functional expression
instead of a column name.
On Aug 14, 2013, at 6:46 AM, Jonathan Dean wrote:
> That doesn't address the lower(name) portion of the ques
worked? if so, you're welcome!
On Thu, Aug 15, 2013 at 12:42 PM, Dave Castellano wrote:
> Dave Castellano wrote in post #1118800:
> > Hi,
> >
> > I created a join table and am having trouble figuring out how to query
> > it...
> >
>
>
> Thank you!
>
> Dave
>
> --
> Posted via http://www.ruby-for
On Tue, Aug 13, 2013 at 11:53 PM, fang wrote:
>
> but the ajax function won`t work.
>
SMH. What does that mean? What's in your log? in your JavaScript
console?
And why are you POSTing a request to a method that typically would
be accessed via GET, as in your browser (which apparently works)?
-
Dave Castellano wrote in post #1118800:
> Hi,
>
> I created a join table and am having trouble figuring out how to query
> it...
>
Thank you!
Dave
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gro
On Aug 15, 2013, at 2:56 AM, Diego Schmunis wrote:
> Hi everyone, new to the group, new to programing and most certainly new to
> RoR (so forgive me if this questions is stupid)
>
> Last week I started to take the RoR course at onemonthrails.com and I've been
> stuck on Adding Bootstrap lesson
Hey all,
we recently ported to Rails 4.0 from 3.2.13 with our application and were
really excited about the new ActionController::Live functionalities. Part
of our application is a messaging/notification system and we wanted to
implement a live notification when a new message reaches the inbo
Hi Matthew,
I have built a CSV streaming response that suffers from the same problem
that you've described. It seems the larger content amount will delay the
response headers being sent, thus signifying the start of the stream, i.e.
save dialog in browser. It seems this has to do with they web
That doesn't address the lower(name) portion of the question, just the part
where it specifies btree. Any idea how to do the lowercase portion?
On Wednesday, July 3, 2013 2:30:38 PM UTC-4, Rick wrote:
>
> Direct from Rails4.0 ActiveRecord documentation:
>
> Creating an index with a specific metho
Hi everyone, new to the group, new to programing and most certainly new to
RoR (so forgive me if this questions is stupid)
Last week I started to take the RoR course at onemonthrails.com and I've
been stuck on Adding Bootstrap lesson since last week. Every time I run
'bundle install' after addi
i have such model:
class ToType < ActiveRecord::Base
attr_accessible :Name, :TYP_CCM, :TYP_CCM_TAX, :TYP_CDS_ID, :TYP_CTM,
:TYP_CYLINDERS, :TYP_DOORS, :TYP_HP_FROM, :TYP_HP_UPTO, :TYP_ID,
:TYP_KV_ABS_DES_ID, :TYP_KV_ASR_DES_ID, :TYP_KV_AXLE_DES_ID,
:TYP_KV_BODY_DES_ID, :TYP_KV_BRAKE_S
could you do something like
Minisection.find(params[:minisection_id]).questions
@question_list = Minisection.find(params[:minisection_id]).questions
On Thu, Aug 15, 2013 at 11:53 AM, Dave Castellano wrote:
> Hi,
>
> I created a join table and am having trouble figuring out how to query
> it...
Hi,
I created a join table and am having trouble figuring out how to query
it...
create_table "minisections_questions", :id => false, :force => true do
|t|
t.integer "minisection_id"
t.integer "question_id"
end
I am trying to find all question id's with a specific minisection_id eg
(p
On Thu, Aug 15, 2013 at 8:43 AM, Rick Schmitty wrote:
> I realize this means I will have to have a bunch of if/case/lookup
> statements sprinkled about the app to handle all of the switching of
> layouts/views/css/(potentially js). I'll also need some lookup for the
I've done a similar thing be
I have just published this one:
http://rubygems.org/gems/has_secure_attribute.
Define encrypted attributes other than passwords.
Your feedback is welcome.
Thanks in advance.
Panayotis
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
Thanks Matt Jones!
I will create my validations!
Thanks,
Diego
--
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 unsubscribe from this group and stop receiving emails from it, send an email
t
On Wednesday, 14 August 2013 16:30:38 UTC-4, Ruby-Forum.com User wrote:
>
> Hi,
> I'm developing a app with dynamic field using hstore ( postgres ).
> The app works great, but now, i'm trying to implement validations.
> my code is:
>
> #model
> ..
> def initialize_custom_fields
> class_e
Just ran across Stormpath [1] in a recent mailing [2]. They provide a hosted
user management service instead of you having write one (using Devise and
CanCan, for example). Has anyone used them or anything like them? What do you
think about off-loading your app's authentication and authorisation
Greets!
I was wondering if there might be any pitfalls I should be aware of in
order to create a domain based white label app.
By that I mean, a single app that will change the layout/css/routes of
an app depending on the domain name that accesses it
example.com gets example.css, layouts/example
20 matches
Mail list logo