Thanks! That worked perfectly!!
-joe
On Monday, May 18, 2015 at 5:54:28 PM UTC-7, jmcguckin wrote:
>
> Rather than setting the tag in
> every webpage of my site, I decided to be clever and set a variable in each
> controller with the text and
> do:
>
> />
>
&
Rather than setting the tag in
every webpage of my site, I decided to be clever and set a variable in each
controller with the text and
do:
/>
on the layout instead. The problem is that the generated text has a no
quotes:
is what I end up with.
I've tried every variant of surro
I have a bit of a chicken & egg problem:
Assume I have a top level directory for all my Rails projects. Each project
might be using a different version of Ruby and Rails.
How do I run a "rails new foo" with the correct ruby version and gemset?
Is there some sort of cmd line argument I can use?
I'm looking at someone else's code and I'm not sure what this does.
In a controller action for 'show' is the following:
render :layout => 'edit'
Ok, there a layout for edit, basically it is the standard javascript
includes, anti csfr stuff and 'yield'.
Hmm, what's it yielding to? Which tem
ts?
How do I configure that?
Thanks,
Joe
On Monday, July 22, 2013 6:35:50 PM UTC-7, jmcguckin wrote:
>
> I have many questions...
>
> Joe
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this
I have many questions...
Joe
--
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
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send e
Trying to add bootstrap to an app being ported to Rails 3.2.3.
I get the following error:
Error compiling asset application.css:
Sass::SyntaxError: File to import not found or unreadable: bootstrap.
Here's my gem file:
source 'http://rubygems.org'
gem 'rails', '3.2.9'
group :assets do
gem
What happens when a 2nd process tries to write to a record/table that is
locked? Does it stall until the lock is released or
does it throw an exception?
On Friday, April 6, 2012 3:18:37 AM UTC-7, Frederick Cheung wrote:
>
>
>
> On Apr 4, 12:47 am, PierreW wrote:
> > I don't know if using pessi
I want to say
bundle exec rake db:migrate
but, I don't want to use the default database. Is there a command line
argument I can use?
Thanks,
Joe
--
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
I wonder... Is there a possibility that if your database has multiple
tables that are related with foreign keys,
whilst a user is filling in fields of forms, etc - is it possible for
another web user to overwrite records or to create
records with the same id that would later get overwritten by t
Building a Rails app entails creating files in multiple locations. Config
dir, App, Views, Layouts, etc.
If I have an existing application app framework, is there a way to add a
new feature (for example, contracts management) where the files
for the new feature are bundled together and not scat
I just installed 313 and ran 'rails new test'
I notice the .gitignore file has entries with '/' prepended. Is this
correct??
-joe
# See http://help.github.com/ignore-files/ for more about ignoring
files.
#
# If you find yourself ignoring temporary files generated by your text
editor
# or opera
I'd like some help - even willing to pay - making Devise work with my
app.
Anyone local to the Bay Area?
Joe
j...@via.net
--
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 rubyonrails-talk@googlegroup
You are correct!
ruby-1.9.2-p0 > Corp.tag_counts[0].attributes
=> {"count"=>"19", "id"=>1, "name"=>"law"}
Thanks!!
Joe
On Jan 6, 3:27 pm, Frederick Cheung
wrote:
> On Jan 6, 9:57 pm, jmcguckin wrote:
>
> > t
tag_counts doesn't seem to be working correctly.
Ruby 1.9.2, Rails 2.3.5
# From script/console
ruby-1.9.2-p0 > Corp.tag_counts
=> [#, #]
According to the documentation, I would expect to see a hash of tag-
name vs. counts entries.
Joe
--
You received this message because you are subscribed
15 matches
Mail list logo