Hi All
Seeking a Ruby focused Dev to assist with a project / startup
Subscription based service catering for the everyday Kiwi consumer.
- Must have knowledge / experience of recurring billing engines
- CSS/Java general overview
- Understanding of - or past experience in smart
Hello Rails World,
does anybody know a good solution for Strong Parameters in a Rails app
authorized by Cancan (or a similar authorization gem)?
def user_params
if current_user.admin?
params.require(:user).permit!
else
params.require(:user).permit(:password, :password_confirmation)
If you're looking for a new NoSQL option, check out
http://orchestrate.io, where all data is accessed via a RESTful
interface. I've been working on a couple of gems (one wraps the api,
while the other is a rails model mapper) and recently pushed them up to
rubygems.org.
You can find the docs at h
Hello all,
I am have an app that is hosted on heroku (rails 4 | ruby 2.0) that I am using
paperclip-dropbox to upload attachments to a blog. I have created a download
link for people who read the blog to be able to download the attachments but I
am not able to get the file to actually download
masta Blasta wrote in post #1140924:
> I have a model in my app called Report, that has a lot of fields.
>
> In the view we show these fields in tabbed sections, grouped by theme,
> to make it easier on the user. When these were first built, the
> developers at the time decided to treat these "them
Wickes Kitchens , Go to www[.]wickeskitchensreviews[.]co[.]uk
Wickes Kitchens
www[.]wickeskitchensreviews[.]co[.]uk
--
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
I have a model in my app called Report, that has a lot of fields.
In the view we show these fields in tabbed sections, grouped by theme,
to make it easier on the user. When these were first built, the
developers at the time decided to treat these "themes" as resources and
created separate routes,
looks like that worked, i installed rake version 0.9.2.2 and then was able
to install rails 2.3.9
thanks very much for your help
sk
On Tuesday, March 25, 2014 10:37:09 AM UTC-5, skrite wrote:
>
> hey all
>
> i am trying to install rails into a new computer with rvm.
>
> i have installed ruby 1.8.
skrite wrote in post #1140917:
> hey all
>
> i am trying to install rails into a new computer with rvm.
>
> i have installed ruby 1.8.7
> and rubygems 1.3.7 --force
>
> these are both versions that i must have to run my website.
> the problem is that when i try to install rails with* gem install
>
hey all
i am trying to install rails into a new computer with rvm.
i have installed ruby 1.8.7
and rubygems 1.3.7 --force
these are both versions that i must have to run my website.
the problem is that when i try to install rails with* gem install --version
2.3.9 rails*
i get the following
On 25 March 2014 15:10, Andy Jeffries wrote:
>
> On 17 March 2014 15:32, Colin Law wrote:
>>
>> Did you try swapping the two lines round and checking that the result
>> is consistent?
>
>
> Yes, it's consistent for me. Was it not for you or are you just asking?
My comment "Or, possibly, slower"
On 17 March 2014 15:32, Colin Law wrote:
> Did you try swapping the two lines round and checking that the result
> is consistent?
>
Yes, it's consistent for me. Was it not for you or are you just asking?
Cheers,
Andy
--
You received this message because you are subscribed to the Google Gro
I just came across this so I thought I would post it on this board since I
see cancan come up a lot. It seems that Ryan Bates (who is primarily
responsible for cancan) is taking a hiatus and the gem is no longer being
actively maintained. The collaborators on that gem have formed a new team
a
On Tuesday, March 25, 2014 8:00:14 AM UTC-4, fayre...@gmail.com wrote:
>
> So after a couple of days of trawling various forums, tutorials etc - I'm
> still no closer to doing what is seemingly something straightforward -
> namely, have links on a Navbar populate a named yield with the contents
http://www.postgresql.org/docs/9.3/static/ssh-tunnels.html
https://dev.mysql.com/doc/workbench/en/wb-manage-db-connections-ssh.html
On Tuesday, March 25, 2014 7:05:24 AM UTC-4, Ruby-Forum.com User wrote:
>
> Hi everyone, does anybody know how to connect to production DB over ssh
> tunnel using
So after a couple of days of trawling various forums, tutorials etc - I'm
still no closer to doing what is seemingly something straightforward -
namely, have links on a Navbar populate a named yield with the contents of
a partial. I'm probably missing something fundamental, but hey! I've asked
http://railscasts.com/episodes/406-public-activity
Is this what you want to accomplish? He uses the public activity gem.
--
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, s
Hi everyone, does anybody know how to connect to production DB over ssh
tunnel using rails?
I'm using MariaDB.
--
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi,
On 25.03.2014 09:53, Konstantinos Rousis wrote:
> class Admin::UsersController ... end
>
> is equivalent to
>
> module Admin class UsersController ... end end
Only partly right. There is a slight difference.
As long as the module (or namespa
Lack of control. The cost. Plus I am nervous about their addons, weather if
I use it my app will be locked into heroku infrastructure.
But its great place to show a small free demo to some one.
On Tue, Mar 25, 2014 at 8:52 AM, Sampath Weerasinghe wrote:
>
> curious what is it about heroku that
This is one of the ways to provide namespacing in Ruby and avoid same-name
conflicts (e.g. with user code or other gems).
class Admin::UsersController ...
end
is equivalent to
module Admin
class UsersController ...
end
end
On Monday, 24 March 2014 14:43:24 UTC+1, Brandon wrote:
>
> I saw
On 25 March 2014 09:13, Jaimin Pandya wrote:
> ...
>checking for sqlite3.h... no
>sqlite3.h is missing. Try 'port install sqlite3 +universal',
>'yum install sqlite-devel' or 'apt-get install libsqlite3-dev'
>and check your shared library search path (the
>lo
*I am using ruby-1.9.3 with rubygem-1.8.24*
When I run "git push heroku master" command i got following error:
Initializing repository, done.
Counting objects: 82, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (64/64), done.
Writing objects: 100% (82/82), 152.43 KiB, do
On 24 March 2014 20:50, Cameron Diggs wrote:
> Hello.
>
> I created a simple database to test adding a column in an active record
> migration. Using phpMyAdmin and ROR, this is the code I used for the
> migration:
>
> class AddColumns < ActiveRecord::Migration
> def self.up
> add_column :
On 24 March 2014 22:48, Dave Castellano wrote:
>>
>> Do not make us wade through lots of code trying to understand what is
>> going on. Explain the problem and show us just a few lines of code if
>> necessary. For instance of what type is play_list? You said it was
>> an instance of a model, bu
You probably didn't add :need_it to the strong parameters
(params.require(:users).permit(:need_it)) or if you're using Rails 3.x, you
didn't add it to attr_accessible.
On Tue, Mar 25, 2014 at 2:20 AM, Cameron Diggs wrote:
> Hello.
>
> I created a simple database to test adding a column in an ac
curious what is it about heroku that turns people off
i even heard heroku is backed by the matz himself.
-Sam
On Thursday, March 20, 2014, Brandon wrote:
> Would you replace any one on my list with something else? Which DB,
> hosting solution and source control would you use?
>
>
> On Wednesd
Creek is good, I'd also recommend dullard, a gem that I wrote. Its output
format may be more convenient for your case.
https://github.com/thirtyseven/dullard
http://rubygems.org/gems/dullard
-Ted
On Friday, October 11, 2013 1:35:39 PM UTC-7, Monserrat Foster wrote:
>
> I forgot to say after it
Hello.
I created a simple database to test adding a column in an active record
migration. Using phpMyAdmin and ROR, this is the code I used for the
migration:
class AddColumns < ActiveRecord::Migration
def self.up
add_column :users, :need_it, :boolean
end
def self.down
remov
29 matches
Mail list logo