On Apr 5, 2013, at 10:53 AM, henrique matias wrote:
> Hello folks, hope you're doing well
>
> I got recently into chef and capistrano, have been looking on this slides:
> http://www.slideshare.net/SmartLogic/practical-chef-and-capistrano-for-your-rails-app
> which were very clarifying...
>
>
On Apr 4, 2013, at 7:32 AM, Jason Hsu, Android developer wrote:
> I have a Ruby script
> (https://github.com/jhsu802701/bsf-scrape/blob/master/scrape.rb) that scrapes
> web pages and stores the results in a Postgres database. I'm trying to set
> this up not only in the development environment
it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Craig White ~ crai
o fix it?
>
> Thank you,
>
> On Wednesday, November 2, 2011 2:54:21 PM UTC-4, Craig White wrote:
> Stupid activeldap is messing with my mind ;-)
> rails (3.1.1
> activeldap (3.1.0)
> rubygems-update (1.4.2)
>
> I have activerecord (database.yml/postgresql) and active
On Jan 21, 2013, at 1:15 PM, Osifo Anosike wrote:
> "Андрей Большов" wrote in post #1093053:
>> What about:
>> rake -T
>> rake --version
>>
>> in common rake always print out some results, try run your command with
>> `--trace`. If you have blank output for `rake -T` and got output `rake
>> --v
On Jan 11, 2013, at 8:47 AM, mswhat...@gmail.com wrote:
> An update on my setup and progress...I am up and running and going through
> the Michael Hartl tutorial book. So far I like the rails framework a lot and
> have gotten past a few difficult stages such as the many areas involved in
> se
On Dec 7, 2012, at 8:54 AM, Fanta wrote:
> Hi. Working along a tutorial, I am trying to create a user for my
> application, and save it to a User database table. However, when I try to
> save the user (i.e. add a line to the User table) the Ruby console just
> returns false, with no explanatio
e
$("#priv_users").empty().append(html.closest("#priv_users").children());
the controller & the view (actually, the partial here) are unchanged from
previously working.
I've been struggling with this for many hours and haven't been able to solve.
I do have a jsfid
On Jun 18, 2012, at 2:45 PM, cyber c. wrote:
> Hi,
>
> I see that
> Person.find(:all) and Person.find(:all, :params => {id => '2'}) returns
> all records irrespective of conditions. Is activeresource broken?
> PS: Im using rails 3.2.4
do you actually have a column in the db named 'params' ?
On Apr 26, 2012, at 7:04 AM, Scott Ribe wrote:
> On Apr 26, 2012, at 7:43 AM, Michael Pavling wrote:
>
>> But this comes back to the thought that if there needs to
>> be a different style to some of the documentation, then those that
>> need it need to start writing it rather than just complaini
On Apr 19, 2012, at 3:00 PM, Loren wrote:
> Hi,
>
>
> I am new to ruby and to programming in general.
> I am learning from an outdated book and just realized that the .grip
> method can no longer be used on strings since ruby 1.9.
>
> My question is could you please recommend an alternative me
hrough the set-up
> step-by-step, based on your system
>
> http://installfest.railsbridge.org/installfest/installfest
>
> Good Luck!
>
>
> On Wed, Mar 14, 2012 at 3:28 PM, Craig White wrote:
>
> On Mar 11, 2012, at 9:45 PM, Clesceri wrote:
>
> > I ente
On Mar 11, 2012, at 9:45 PM, Clesceri wrote:
> I entered in "rails" from the terminal prompt. Here is what I
> got.. any help is appreciated
>
> Last login: Sun Mar 11 15:26:54 on console
> 67-61-37-207:~ clesceri$ rails
> Rails is not currently installed on this system. To get the latest
>
On Mar 8, 2012, at 7:17 AM, Scott Ribe wrote:
> On Mar 7, 2012, at 2:10 PM, Craig White wrote:
>
>> If you installed Postgres on your system using the binaries downloaded
>> directly from postgresql.org website, the following should fix this issue...
>
> Point of cla
; ruby-progressbar (0.0.10)
> rubygems-update (1.8.17)
> rubyzip (0.9.6.1)
> sass (3.1.15, 3.1.12)
> sass-rails (3.2.4)
> selenium-webdriver (2.19.0)
> spork (0.8.5)
> sprockets (2.1.2, 2.0.3)
> sqlite3 (1.3.5)
> thor (0.14.6)
> tilt (1.3.3)
> treetop (1.4.10)
> tzinfo (0.3.3
On Mar 6, 2012, at 11:10 PM, Marcin S wrote:
> 2012/3/6 Craig White :
>>
>> On Mar 6, 2012, at 12:54 PM, Marcin S wrote:
>>
>>> Hello everyone,
>>>
>>> I need to create a rails app where authentication and permissions for
>>> certain a
n Ruby do not allow for string
> interpolation (such as \r and \n), while double quotes do.
>
> On Tuesday, March 6, 2012 2:33:23 PM UTC-5, Craig White wrote:
>
> .join("\r\n") did the trick. Needed to use double quotes and not single
> quotes (don't understand why).
On Mar 6, 2012, at 12:54 PM, Marcin S wrote:
> Hello everyone,
>
> I need to create a rails app where authentication and permissions for
> certain application actions will be provided by LDAP server. There is
> a problem with LDAP connection management, as every user login will
> spawn new conne
On Mar 6, 2012, at 12:23 PM, Dave Aronson wrote:
> On Tue, Mar 6, 2012 at 13:41, Craig White wrote:
>
>> Each ip address was put onto a new line because of the '\n' like this:
>> 10.200.0.100
>> 208.100.300.100
>>
>> but when running on 1.9.3-p12
s
raw markup like this:
["10.200.0.100\n", "208.100.300.100\n"]
I've done various things such as flattening, joining, etc. the
hostipnumbers_columnized but it appears impossible to get them to display on
individual lines in ruby-1.9.3 - without even considering code that
On Mar 2, 2012, at 4:18 PM, Christopher Jones wrote:
> Hi all,
>
> I have links to the show pages for each game in my project and if the
> games user_id matches the id of the currently signed in user then I want
> it to display the edit button if they are not then it shouldn't display.
>
> I cu
On Feb 1, 2012, at 12:57 PM, Richard l. wrote:
> Hi
>
> I was hoping someone could put me in the right direction or help with
> this query. I have created an admin user via Devise, I can log in fine
> and direct to the correct page. What i would like to do is have an admin
> dashboard on that pa
On Jan 31, 2012, at 11:59 PM, Ajit Teli wrote:
> I am able to create databases (development, test, and production
> databases) as follows
> .
> ajit@ajit:~$ su - postgres
> Password:
> postgres@ajit:~$ psql
> postgres=# create DATABA
On Jan 16, 2012, at 11:21 AM, Tim Shaffer wrote:
> The problem is that the "inner" string is not marked as html_safe. In your
> link_to tag, this string is not considered html_safe:
>
> link_to(rights.controller + " » " + rights.action, :controller =>
> "rights", :action => "edit", :id =>
On Jan 16, 2012, at 10:26 AM, Colin Law wrote:
> On 16 January 2012 17:15, Craig White wrote:
>> Looking to embed the html 'right guillemet' (») inside of a link_to
>> reference in my view code...
>>
>> <%= (role.rights.sort{|a, b| [a.controller, a
I just did (» is the html I want embedded inside the 'link_to')
Craig
On Jan 16, 2012, at 10:21 AM, Charles A. Lopez wrote:
> Give an example of the html code.
>
>
>
> On 16 January 2012 12:15, Craig White wrote:
> Looking to embed the html 'right g
s, I will probably just move this to a helper once I get it working)
Is it possible to embed HTML code inside the 'link_to' ?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~ www.ttiassessments.com
On Jan 12, 2012, at 3:39 AM, johnnybutler7 wrote:
> Hi,
>
> I have rvm running locally and capistrano 2.9.0 installed on my mac,
> im using ruby ree-1.8.7-2010.02. I can deploy fine which deploys the
> latest version of the code from git, i am not using rvm on my staging
> server.
>
> I want t
On Jan 5, 2012, at 5:52 PM, Bill Walton wrote:
> On Thu, Jan 5, 2012 at 5:26 PM, Craig White wrote:
>>
>> On Jan 5, 2012, at 3:57 PM, Bill Walton wrote:
>>>
>>> Then my best advice would be to double check the accepts header using
>>> Live Http Header
On Jan 5, 2012, at 4:41 PM, Javier Quarite wrote:
>
>
> On Thu, Jan 5, 2012 at 5:18 PM, Craig White wrote:
>
> app/views/permissions/add_member.js.erb
> $('#privileges').replaceWith("<%= escape_javascript(render(@permissions))
> %>");
>
&g
On Jan 5, 2012, at 3:57 PM, Bill Walton wrote:
> On Thu, Jan 5, 2012 at 4:44 PM, Craig White wrote:
>>
>> On Jan 5, 2012, at 3:37 PM, Bill Walton wrote:
>>
>>> Hi Craig,
>>>
>>> On Thu, Jan 5, 2012 at 4:18 PM, Craig White wrote:
On Jan 5, 2012, at 3:37 PM, Bill Walton wrote:
> Hi Craig,
>
> On Thu, Jan 5, 2012 at 4:18 PM, Craig White wrote:
>>
>> Missing template ... :formats=>[:html]}.
>
> That looks like a clue. Have you checked your request header?
I think so... I've been
gt;[:html]}. Searched
in:
* "/home/users/cwhite/tti_framework/app/views"
Been stuck on this for too long now... what obvious thing am I missing?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~ ww
On Jan 5, 2012, at 2:27 PM, loominator1970 wrote:
> Hello,
>
> Perhaps someone knows the answer to this one, because its been
> stumping me for a long time.
>
> BTW, i'm still using rails 3.0.0, perhaps this issue is solved in a
> recent release.
>
> Here are my Models
>
>
> class Team < Act
On Sun, 2012-01-01 at 12:14 -0700, Ralph Shnelvar wrote:
> I have a .js file with the following function
>
>
> function set_priceKind_global(priceKind)
> {
> switch(priceKind)
> {
> case "paid":
> case "free":
> break;
> default:
> var throw_msg = "Internal confusion in set_priceKind_global"
On Fri, 2011-12-30 at 12:21 -0700, Ralph Shnelvar wrote:
> I have a library conflict between jQuery.js & accordion.js
>
> The first line of accordion.js is
>
> $(document).ready(function() {
>
>
> Firebug displays
> $(document).ready is not a function
>
>
> I have read http://docs.jquery.
On Dec 30, 2011, at 11:46 AM, Walter Lee Davis wrote:
>
> On Dec 30, 2011, at 12:37 PM, Craig White wrote:
>
>>
>> On Dec 30, 2011, at 9:58 AM, Walter Lee Davis wrote:
>>
>>>
>>> On Dec 30, 2011, at 11:32 AM, Craig White wrote:
>&
On Dec 30, 2011, at 9:58 AM, Walter Lee Davis wrote:
>
> On Dec 30, 2011, at 11:32 AM, Craig White wrote:
>
>> Previous versions of Rails, I could just...
>>
>> (app/helpers/application_helper.rb)
>> def set_focus_to_id(id)
>> javascript_tag("$(&
s 3.1.x
What is the new preferred method for doing this?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired
suc
On Thu, 2011-12-29 at 18:30 -0700, Ralph Shnelvar wrote:
> Thursday, December 29, 2011, 4:26:30 PM, you wrote:
> CW>
> CW> I gather that including 'application.js' in your template is what causes
> all the files in app/assets/javascripts to be loaded in alphabetic order - at
> least, that w
On Dec 29, 2011, at 3:36 PM, Ralph Shnelvar wrote:
> Thursday, December 29, 2011, 12:32:32 PM, you wrote:
>
>
> They are not compressed because you have "config.assets.debug = true"
>
> Kind of strange though that they are in the wrong order. What does your
> javascript_include_tag look like,
On Tue, 2011-12-27 at 22:57 -0800, venkata reddy wrote:
> Hi all,
> Anybody tried net/ldap gem to authenticate your rails app with
> active directory under windows server?
> I have been trying it but something is missing and i am not able to
> figure it out...
>
> here is my code in the co
On Mon, 2011-12-26 at 17:20 -0800, Mike C wrote:
> I'm trying to move my app to a new server, and in the deploy.rb file I
> updated the hostname to reflect the new server. However, when I run
> any cap task it still contacts the old server no matter what, and I
> can't figure out why this is. There
On Dec 19, 2011, at 1:14 PM, Angelo Cordova wrote:
>
> Hi people.
>
> I need your help here, please.
>
> I have a rails 3.0.9 app, and I'm using Ajax to save some records to
> the database. To achieve this, I use a jquery modal form, but one of
> the fields is a datepicker, and if I click on i
On Sat, 2011-12-17 at 16:27 -0800, Vell wrote:
>
> On Dec 17, 7:03 pm, Craig White wrote:
> > On Sat, 2011-12-17 at 15:55 -0800, Vell wrote:
> >
> > > On Dec 17, 3:54 pm, Craig White wrote:
> > > > On Sat, 2011-12-17 at 11:02 +0100, Brynjolfur Thorvardsson
On Sat, 2011-12-17 at 15:55 -0800, Vell wrote:
>
> On Dec 17, 3:54 pm, Craig White wrote:
> > On Sat, 2011-12-17 at 11:02 +0100, Brynjolfur Thorvardsson wrote:
> > > I honestly don't know - I got the same error a few weeks ago when trying
> > > to correc
On Sat, 2011-12-17 at 11:02 +0100, Brynjolfur Thorvardsson wrote:
> I honestly don't know - I got the same error a few weeks ago when trying to
> correct an old Rails site, catching a few undefined objects and sending the
> user an appropriate response. I tracked the problem down to a redirect in
On Dec 16, 2011, at 7:24 AM, John Doe wrote:
> Pieter Hugo wrote in post #1036832:
>> Dont know about IIS but running rails on Windows is dog slow. I develop
>> on a Windows box and deploy on Linux and the speed difference is marked.
>> Have heard the same from others.
>>
>> Pieter Hugo
>
> I g
On Dec 13, 2011, at 2:44 PM, Frederick Cheung wrote:
>
> On 13 Dec 2011, at 21:07, Craig White wrote:
>
>> 1 down - 1 to go... can anyone toss me a bone here?
>>
>> On Dec 13, 2011, at 10:25 AM, Craig White wrote:
>>
>>> Rails 3.1.x
>>>
and drop apparently because the
drag_drop.js code needs to run again after the partial refresh.
How do I get this to execute again or must I necessarily embed the script in
the memberships.js.erb ?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908
1 down - 1 to go... can anyone toss me a bone here?
On Dec 13, 2011, at 10:25 AM, Craig White wrote:
> Rails 3.1.x
>
> 2 questions... Perhaps I am doing this too much in the raw of jquery but I
> can't seem to find any other way to do these things
>
> 1 - drag_drop.js h
On Dec 13, 2011, at 1:34 PM, danm wrote:
> A meaty issue for the networking gurus out there. I am using my
> development and production environments over a VPN that I have set up
> between two office locations. The issue is that my production
> application instance runs as fast as I could want,
On Dec 13, 2011, at 11:09 AM, John Doe wrote:
> Michael Pavling wrote in post #1036557:
>> On 13 December 2011 17:31, DK wrote:
>>
>> "Windows" is not necessarily "IIS" - it's perfectly possible to deploy
>> on Windows (with Apache, Passenger, etc). Deploying with IIS as per
>> the OP... that's
s been made. How do I ensure that the partial is refreshed? Obviously I can
reload the whole page but that seems unnecessary.
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~ www.ttiassessments.com
Need help communi
On Dec 12, 2011, at 6:34 PM, gato pardo wrote:
>
>
> >I should remenber that there are no great differences between
> > development and production section in the database yml file.
> >
> > # config/database.yml
> > development:
> > adapter: postgresql
> > encoding: unicode
> > datab
On Dec 12, 2011, at 12:25 PM, gato pardo wrote:
>
>
> On Sun, Dec 11, 2011 at 11:27 PM, Craig White wrote:
> On Sun, 2011-12-11 at 19:59 -0400, gato pardo wrote:
> > Hi everyone:
> >
> The application works
> > fine as long as It is tried in development env
On Sun, 2011-12-11 at 19:59 -0400, gato pardo wrote:
> Hi everyone:
>
> I am dragging for personal use a rails application using postgresql
> that has been working for some time now. As I installed Fedora 16
> adapted the rails application to the new tools. The application works
> fine as long
On Dec 8, 2011, at 9:21 PM, Mark Boughter wrote:
> Yeah, I googled it and came across that link before posting. I thought that
> would be obvious.
> Gemfile and bundle install but it fails at "therubyracer"
>
> It seems that after giving up and rebooting the next day the problem was
> allevi
On Tue, 2011-12-06 at 20:28 -0800, Mark Boughter wrote:
> I'm new so I just can't figure out what's going on here. I was going
> through a tutorial to learn the ins and outs of Rails and then it just
> stopped working.
>
> I'm running RubyMine on Windows for now. Here are the errors:
> [rake --
ships', :id => whatever (Is it ui.draggable.text() ? )
2 - Is there a way to update just the or must I do as I did with Rails
1.26 and render :partial => 'some_partial' for on screen updates?
3 - I've been reading all sorts of jquery stuff (books, web pages, etc.) which
On Dec 7, 2011, at 12:14 PM, stephen d. wrote:
> I appologize and agree. It was the end of two full days of frustrations
> and I should have been more polite to those who were taking their
> valuable time to try and help me.
>
> I am new to the world of Rails and began by installing all the late
On Dec 6, 2011, at 1:39 PM, Colin Law wrote:
> On 6 December 2011 19:32, Craig White wrote:
>> This is getting perhaps a little too complex for my mind to handle.
>>
>> What I'm trying to accomplish is to generate a list of of hosts which are
>> clickable li
|host| host; end).to_s.html_safe %>
but that doesn't actually give me links and just outputs the URL as text and
the link_to doesn't actually function.
Is this possible?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~
On Dec 6, 2011, at 12:29 AM, Frederick Cheung wrote:
>
>
> On Dec 5, 9:55 pm, Craig White wrote:
>> Just starting out with a beginner book on jquery and the very first thing I
>> am trying fails (has to be me)
>>
>> Rails 3.1 - other jquery things working
tpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/li
up at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>
> --
> 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@googlegroups.com.
>
On Dec 5, 2011, at 3:04 PM, Jason Fleetwood-Boldt wrote:
>
> On Dec 5, 2011, at 4:55 PM, Craig White wrote:
>
>> $('tr:nth-child(odd)').addClass('odd');
>
>
> What happens when you just run $('tr:nth-child(odd)').addClass('odd'
ripts/people.js.coffee)
So I tried variations including
$(document).ready(function() {
$('tr:odd').addClass('odd');
});
but still the same problem and my css does indeed have tr.odd defined and works
fine if I do odd_even in the view code which I remove
warn("password is truncated to 14 characters")
dos_password = dos_password[0, 14]
end
Private.encrypt_14characters(dos_password).unpack("C*").collect do |char|
"%02X" % char
end.join
end
...
Can I just drop it in &
e
without actually calling @MODEL.save?
Bonus question along the same lines... If I have a input field that is say a
collection and is not the actual stored field but rather one whose data is
processed into the ActiveModel saved record before saving, can I assign the
error to that field somehow?
On Dec 1, 2011, at 8:28 AM, Mauro wrote:
> On 1 December 2011 00:54, Craig White wrote:
>>
>> On Nov 30, 2011, at 3:31 PM, Mauro wrote:
>>
>>> I want to display different layouts based on user.
>>> If user is "intraOp" the I want to use l
On Nov 30, 2011, at 4:47 PM, Alexey Muranov wrote:
> Sorry for a primitive question, but how can i use a local copy of rails
> with my rails 3 application (locally)?
>
> Quick googling didn't help, and on StackOverflow there is something
> about putting local rails to the "vendor" directory, but
On Nov 30, 2011, at 3:31 PM, Mauro wrote:
> I want to display different layouts based on user.
> If user is "intraOp" the I want to use layout intraOp, if user is
> "interOp" I want to display layout interOp while if controller_devise
> I want to display application layout.
> I based the user sel
ignore - brain dead - bundle install/update duh
On Nov 30, 2011, at 12:26 PM, Craig White wrote:
> WTF... how to solve? (REE ruby/Ubuntu 10.04)
> $ dpkg -l |grep ruby
> ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
>
> $ bundle exec
> /usr/local/lib/ruby/gem
1.4'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
gem 'activeldap'
gem 'ruby-ldap'
gem 'will_paginate', '~> 3.0.2'
gem 'dm-core'
gem 'dm-aggregat
On Nov 30, 2011, at 1:02 AM, Colin Law wrote:
> On 29 November 2011 21:33, Craig White wrote:
>>
>> On Nov 29, 2011, at 2:11 PM, Angelo Cordova wrote:
>>
>>>
>>>
>>> On 29 nov, 17:14, Colin Law wrote:
>>>> On 29 Novem
On Nov 29, 2011, at 4:25 PM, Frederick Cheung wrote:
> On Nov 29, 5:37 pm, Craig White wrote:
>> Rails 3.1 and I'm working through activeldap which is not exactly
>> ActiveRecord
>>
>> class Group < ActiveLdap::Base
>> def validate
>> er
On Nov 29, 2011, at 2:11 PM, Angelo Cordova wrote:
>
>
> On 29 nov, 17:14, Colin Law wrote:
>> On 29 November 2011 18:33, Angelo Cordova wrote:
>>
>>> Hi people
>>
>>> I want to know which is the best gem or plug-in to store and track
>>> register changes for a rails 3.0.9 app
>>
>> It is
ue for the 'Common name'
You must enter a value for the 'GID Number'
You must enter a value for the 'Description'
You must enter a value for the 'sambaGroupType'
Or if I use my rails app instead and put @group.val
On Nov 15, 2011, at 9:08 AM, AJ Chen wrote:
> In my model, birthday is of type Date. The following date_select field
> always displays the current day in the browser even though :birthday
> has a different value. Any idea?
> <%= date_select(:profile, :birthday) %>
try to use variables inste
On Thu, 2011-11-10 at 20:45 +0100, Terri I. wrote:
> Craig White wrote in post #1031292:
> > On Nov 10, 2011, at 11:08 AM, Terri I. wrote:
> >
> >> I have a task that I would like to have run automatically throughout the
> >> day without user intervention (guessin
On Nov 10, 2011, at 11:08 AM, Terri I. wrote:
> I have a task that I would like to have run automatically throughout the
> day without user intervention (guessing I would use a cron job to run a
> rake task). It will be reading in an RSS feed and using that data to
> update a database. The applic
On Sat, 2011-11-05 at 21:08 +, Colin Law wrote:
> On 5 November 2011 18:55, BeeRich wrote:
> > Actually, it doesn't.
>
> What doesn't what?
he was actually proving the point of why top posting is a problem while
trying to argue the opposite. He was answering my point which was
sandwiche
On Nov 4, 2011, at 12:31 PM, comopasta Gr wrote:
>> have something like a bunch of boxes that I can populate with an array
>> from one model to slide to an array from another model for has_many =>
>> has_many relationships (as opposed to boring drop-down selections)
>
>>
>> so I can drag and dr
On Nov 4, 2011, at 12:32 PM, Dave Aronson wrote:
> On Fri, Nov 4, 2011 at 12:44, BeeRich wrote:
>
>> As for top posting, that is an old school habit.
>
> Er, no it isn't. You young punks wouldn't know old-school if it bit
> you in the diapers! Now get off my lawn! ;-)
Do you feel bette
On Nov 4, 2011, at 10:20 AM, JavierQQ wrote:
still not entirely clear but I would think that you need to change...
>>> validates_uniqueness_of :qnumber, :scope => :evaluation_id, :on => :create
to this...
validates_uniqueness_of :qnumber
re-ordering for top -> bottom
On Nov 4, 2011, at 9:55 AM, JavierQQ wrote:
> On 4 nov, 11:42, Frederick Cheung wrote:
>> On Nov 4, 4:05 pm, JavierQQ wrote:
>>
>>
>>
>>> I want that the data validates in 2 cases (create / update)
>>> because when I want to update , for example:
>>
>>> Evaluati
r 3 |
++++
++
| User 2 |
++
so I can drag and drop 'User 1' onto Host["members"] to add or drag it out to
remove.
I've been searching various terms on Google ['rails', 'jquery', 'javascript',
'boxes', 'slide
On Nov 4, 2011, at 9:44 AM, BeeRich wrote:
> Hi Colin. I asked about this before in this list. There are no preferences
> in this list, so that is where the list stands.
>
> As for top posting, that is an old school habit. Top posting is indeed
> effective for many people. This message can
On Thu, 2011-11-03 at 05:34 +0100, MaT 2. wrote:
> for the first command it can be execute correctly
> after i change sudo gem install rubygems -v="1.4.2" to
> sudo gem install rubygems -v 1.4.2 but for second command i got problem
> to run. the error as below:
>
> sudo update_rubygems
> sudo: up
On Thu, 2011-11-03 at 04:13 +0100, MaT 2. wrote:
> all error output state as below:
>
> oneadmin@oneadmin$ sudo gem install sinatra --debug
>
> Exception `NameError' at
> /usr/lib/ruby/1.8/rubygems/command_manager.rb:161 - uniniti alized
> constant Gem::Commands::InstallCommand
try thi
On Thu, 2011-11-03 at 03:09 +0100, MaT 2. wrote:
> thank Craig but it still not working..
show us the full output of 'sudo gem install sinatra' and 'sudo gem
install thin'
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
7;rails/all'
require "active_ldap/railtie"
require 'will_paginate/data_mapper'
But I don't know. Anyone know how I can clean this nuisance up?
--
Craig White ~ craig.wh...@ttiltd.com
1.800.869.6908 ~~~
On Wed, 2011-11-02 at 07:20 +0100, MaT 2. wrote:
> thank for all response..
> i already --purge and reinstall the rubygem and same problem occur.
>
> actually i want to install all the following gem package:
>
>
> json
> *
> rack
> *
> sinatra
> *
> thin
>
>
On Tue, 2011-11-01 at 05:28 -0700, dado_eyad wrote:
> running "rake db:create" returns
> rake aborted!
> couldn't parse YAML at line 20 column 2
>
>
> Tasks: TOP => db:create => db:load_config
> (See full trace by running task with --trace)
>
>
>
>
> at line 20 there's the "socket: /var/run/
restructuring for bottom posting logic...
On Oct 12, 2011, at 10:35 AM, Brandon Black wrote:
> On Oct 12, 2011, at 9:18 AM, Hassan Schroeder
> wrote:
>
>> On Wed, Oct 12, 2011 at 1:45 AM, Brandon Black
>> wrote:
>>
>>> JRuby has the ability to *actually compile* your ruby code into
>>> java .
On Oct 11, 2011, at 10:12 AM, Walter Lee Davis wrote:
>
> On Oct 11, 2011, at 12:54 PM, Craig White wrote:
>
>>
>> On Oct 11, 2011, at 9:42 AM, Walter Lee Davis wrote:
>>
>>> I am running in production on Ubuntu 10 with Passenger and Apache2. I just
>&
On Oct 11, 2011, at 9:42 AM, Walter Lee Davis wrote:
> I am running in production on Ubuntu 10 with Passenger and Apache2. I just
> had to set my system/dragonfly folder to 777 in order to allow uploads to
> work, and that doesn't seem like a good idea or even necessary. What''s the
> trick to
oup.ancestry == nil
@ancestors.puppetclasses.each do |anc|
@my_classes[anc.name] += 1
end
end
And this works for me because I am only nesting 1 level but it's conceivable
that other users would nest many more levels and if my patch is to be accepted,
I undoubtedly have to account for an in
On Sep 28, 2011, at 12:28 PM, ERB wrote:
> I have two models, users and companies as indicated below. The users
> table has a foreign_key "company_id".
>
> class User < ActiveRecord::Base
> has_many :companies
> end
>
> class Company < ActiveRecord::Base
>belongs_to: user
> end
>
> In
1 - 100 of 286 matches
Mail list logo