I'm started in on the Agility tutorial and immediately got this error when
trying to run hobo new agility:
*The template [C:/Users/Computer/AppData/Local/Temp/hobo_app_template]
could not be loaded. Error: Unable to activate rails-4.0.8, because
activesupport-4.1.4 conflicts with activesupport
Thanks for the reply!
I uninstalled Ruby/Rails and reinstalled a 4.0.5 version and DevKit.
Checked the version of rails and it was 4.0.5.
I ran: gem install hobo --pre
It automatically installed the following gems:
hobo_support-2.1.0
hobo_fields-2.1.0
activesupport-4.0.8
actionpack-4.0.8
, Nathan Peters wrote:
Thanks for the reply!
I uninstalled Ruby/Rails and reinstalled a 4.0.5 version and DevKit.
Checked the version of rails and it was 4.0.5.
I ran: gem install hobo --pre
It automatically installed the following gems:
hobo_support-2.1.0
hobo_fields-2.1.0
activesupport
Greetings,
I've attempted to set a Bootswatch.com theme in my Hobo project per the
instructions in hobo_bootstrap but it doesn't seem to show anything but the
default theme. Is there some Hobo-fu I am missing?
Thanks
--
You received this message because you are subscribed to the Google
Got it working. Had to load the 0.5.0 version of bootswatch-rails in the
Gemfile. The current versions don't seem to be working with my Hobo install.
gem 'bootswatch-rails', '0.5.0'
--
You received this message because you are subscribed to the Google Groups Hobo
Users group.
To unsubscribe
I am currently working on a Hobo app using the Agility tutorial as a guide
in my learning.
Have added a membership list in aside, as per the tutorial.
Problem is, it looks a bit strange:
http://imgbin.org/index.php?page=imageid=18589
I would like to make the names smaller and move the delete
Thanks for the reply. First I've heard of RailsPanel, got it working and it
looks like it can come in handy.
I wasn't sure how Hobo handles CSS as I'm using the Bootswatch module which
is imported into front.scss. I discovered that I can override these
settings by entering them into
Got data-table working in my app (no server-side stuff), got this result:
http://imgbin.org/index.php?page=imageid=18665
As you can see Show X entries is pushing the 100% width table off the
edge of the screen. And search would be placed correctly if it wasn't
directly over the table.
I was
Ok, just answered my own question:
When setting up data-table in Hobo per the instructions linked to at:
https://github.com/rweng/jquery-datatables-rails
only do the steps under General Installation. Even though I'm using
Bootstrap 2 in Hobo it won't work with the CSS include in Bootstrap 2
I got Paperclip working in my app and I can display an image in a show-page
tag with a link, for instance:
%= image_tag @target.outcome1_photo.url %
I can also make that a button link with:
%= link_to Outcome 1 Photo, @target.outcome1_photo.url, :class = btn
btn-primary %
But my guess guess
Yup, noob mistake. For the benefit of others, here is what I found out:
*a href=%= image_tag @target.outcome1_photo.url %
data-lightbox=image-1 data-title=My captionImage #1/a*
The above is not going to work in a DRYML template because I was trying to
use regular ERB code in what is a DRYML
The code and the steps are a bit different than more recent Hobo versions,
but the underlying concepts are the same.
I started off building my own app by modifying the steps of the Agility
tutorial to my own requirements, did some digging to fix problems/add
features.
After that, started
Ok, my bad. The problem was using title in fields. The following change
fixes the problem:
table-plus: with=this.projects fields=*this*, owner, tasker, state,
created_at
--
You received this message because you are subscribed to the Google Groups Hobo
Users group.
To unsubscribe from this
Hello Ignacio, and thanks for the reply.
I tried your suggestions but no luck. I am still in the same situation:
wrapping view:avatar/ with messy-looking code. Which works.
Hobo/Rails makes me feel like an eternal noob sometimes. I'm wondering how
it is that the avatar/ tag I defined in
pretty much it I think.
2015. július 31., péntek 19:09:55 UTC+2 időpontban Nathan Peters a
következőt írta:
I have partially answered my own questions.
Regarding image alignment in the content-header on the user show
page. I
am just using CSS to float the image left. And I'll need
I have partially answered my own questions.
Regarding image alignment in the content-header on the user show page. I
am just using CSS to float the image left. And I'll need to customize
anyway so CSS is probably the way to go.
I can almost make the link to the Paperclip attachment work but I
I've gotten user avatars working per Tim's post in the
paperclip_with_hobo thread. So on my user show page I can use:
avatar/ or %= image_tag @user.avatar.url %
But there are two things I would like to do that don't seem to work:
I have some data with user names in a table-plus, I would like
The avatar tag is defined in my application.dryml
--
You received this message because you are subscribed to the Google Groups Hobo
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to hobousers+unsubscr...@googlegroups.com.
To post to this group,
On Sunday, August 2, 2015 at 4:06:15 PM UTC-5, HuBandiT wrote:
So, now, as you say that avater tag works in the user card, and avatar
with=this.user/ works in the comment card - then what remains to be the
problem, what is missing?
avatar/ does work in the user card and avatar
So I am finally getting into the permissions. The following block for my
projects model seems to work as expected. But there is going to be a bit
more of this. I am concerned about doing things incorrectly and taking a
performance hit. Is this the best way to do what I'm aiming for?
def
I have a scope in User to make it easier to work with users who have a
tasker boolean set:
scope :tasker, :conditions = {:tasker = true}
..and am using this in lifecycle transitions
transition :delete,
{:submitted = :destroy},
:available_to = :owner
Hello Stefan.
I finally got your bootstrap3 branch installed and running with Hobo! The
magic commands that worked for me were (from the vendor/gems directory):
git clone -b bootstrap3 git://github.com/informatom/hobo_bootstrap
git clone -b bootstrap3
I'm starting a new Hobo project that is going to have a very complicated
(to my experience) permission structure. It is a process control app.
Visibility on some things will be controlled both by date and by active
user. Users will not even be able to see certain things until a target
date, at
I meant the subject to read: How complicated can *they* get.
--
You received this message because you are subscribed to the Google Groups Hobo
Users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to hobousers+unsubscr...@googlegroups.com.
To post to this
. take a look at
https://groups.google.com/d/msg/hobousers/XMpolsF5Ty8/63wLKVw-5mwJ
https://groups.google.com/d/msg/hobousers/XMpolsF5Ty8/63wLKVw-5mwJ for
how I do it.
Regards,
Henry
On 17/07/15 12:05 PM, Nathan Peters wrote:
I'm starting a new Hobo project that is going to have a very
Ok, here is a quick example of a few things that might help:
fields do
value1 :integer, *:required*
value2 :integer, *:required*
total :integer, *:required*
timestamps
end
attr_accessible :value1, :value2, :total
*before_save :check_total*
def check_total
if total
To fix the user-selector dropdown issue (where it shows up behind
jumbotron/well) I had to add the following to front.scss (z-index was the
culprit):
.navbar{
z-index: 1041 !important;
}
The alignment issue of the user changer and search button were fixed with
the following additions:
I have a number of view_permitted declarations kind of like this:
if (self.state == 'active') then
return true
end
Which works but is getting a bit complicated as I have some detailed
permission logic. But now I am needing to *also* disable views on certain
fields. Something like this
Sorry it took me a while to get back to this. I didn't have notifications
turned on and missed your reply. Anyway...
Yes glyphicons (search anyway) are fixed! One I get ready for interface
work I'll see where we are at and probably fork if necessary and do some
modifications.
There are a
Hello Stefan,
Thanks for checking into it. I'm not sure what to say. I tried to use your
bootstrap3 changes as one of my first actions so hadn't really done much
but run some of the Hobo generators; not sure what would be conflicting.
I'm developing on Windows so that might be part of the
Hello Tim,
I upgraded sass-rails to 5.0.4 and that seemed to fix one of the big
issues: li.dev-user-changer not populating with user names. It still
appears behind the well and although a mouse-click brings down the
dropdown, I can't click on a name, I have to use the up/down arrow keys and
.
I got this working be defining a new self.find in my Project model. Because
my slugs are A-Z only I can rely on to_i to give me 0. So initially I did:
def self.find(input)
input.to_i == 0 ? find_by_slug(input) : super
end
But when I try to edit a Project it failed because it was including
So I am currently running Hobo/Rails (2.1.1/4.0.9) and have some mailers in
my Lifecycle do blocks. Usually they are sending out one or a small batch
of email. However one in particular is mailing a larger group in my app.
When I do that Lifecycle transition the UI is waiting for the task to
Spoke too soon I guess. Looks like my code is breaking because hobo_show
does some important stuff in the backend. I'll figure it out I'm sure. At
least the slug stuff is partially working. :)
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To
I have a Project model with a number of lifecycle states. Currently in my
app, URLs use the standard form of "#{id}-#{name}". Which is fine in most
cases, however there is a certain state ("active") in which I am trying to
hide the id and name so that they cannot be inferred from the URL.
I am Rails 4.0.13 / Hobo 2.1.1
I will look into forcing SSL in the environment.
Presently I am working by building my own link with:
<%= 'https://MYSITE/users/' + @user.id.to_s + '/activate_from_email/' +
@key %>
...instead of using the helper.
Thanks,
Nathan
--
You received this message
I have an SSL only server running Nginx. I'm not using any rails SSL gems, just
forcing SSL in Nginx and redirecting http requests to https.
In the user activation and forgot password emails I am getting weird links. The
“activate_from_email_url” and “reset_password_from_email_url” helpers are
Fixed the responsiveness issue: in page.dryml the data target for the
navbar toggle is not pointing to the right place.
I changed the line:
to:
and that fixes the issue for me.
Nathan
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To
I have a form on my front#index page pointing to one of my models:
*...*
This model has a custom validation method:
*validate :sanity_checks*
If I create a new record at Model/new it works as intended and applies my
validation. However if I add a record from the front page form it accepts
Whoops, my bad here.
My validations were checking associations through has_many through
associations that were being created during 'after_create'
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving
40 matches
Mail list logo